[Vimoutliner] Re: Vorst dead end analysis

Bill Powell bill at billpowellisalive.com
Fri Nov 2 07:00:01 EST 2007


I use both VimOutliner and LaTeX too, and a "vo2latex"
program sounds interesting indeed.

> If it were just the \index{whatever} type of index, it wouldn't be so bad. But 
> then you get into the \index{whatever|(} and the \index{whatever|)} stuff, 
> which I use quite a bit, and things become quite ugly.

Could anything be done by parsing VO headings as "blocks"?
I don't use the index ranges much myself, but if an index
range coincided everything under one heading, the parser
could put the beginning index tag at the heading, and then
the closing index tag when it parsed the _next_ heading.

For instance, if you wanted an end result of:


\section{Shady Patriots}

index{Franklin|(}
\subsection{Ben Franklin: Spy?}

Ben Franklin has been accused...

[text, subsubsections, etc.]

\index{Franklin|)}

\subsection{Samuel Adams: Jerk?}

etc.


And you decided to use, say, '&&' as a reserved index
character (at least when not surrounded by spaces), you
could do a VO file like:


Shady Patriots
	Ben &&Franklin: Spy?
		[text, subsubsections, etc.]
	Samuel Adams: Jerk?
		

When the parser hits '&&' on a heading line, it uses that
word as an index range, and ends the range at the next
heading of the same depth.

If this worked, one might be able to do all sorts of LaTeX
environments on this same principle.

On a side note, I've just discovered wiki markup,
and so far I find it much less intrusive than LaTeX markup.
It might be a simple matter to combine some syntax
highlighting for wiki tags (like //italic// and **bold**)
with VO, too.

Bill


-- 
______________________________________________________

Wineskin Media: A book isn't a package. It's a craft.
  http://wineskinmedia.com

Alive with Two Legs.  
  http://billpowellisalive.com
______________________________________________________



More information about the VimOutliner mailing list