[Vimoutliner] Wiki markup in VO?

Steve Litt slitt at troubleshooters.com
Tue Jan 15 15:12:41 EST 2008


On Tuesday 15 January 2008 12:39, Noel Henson wrote:
> On Tuesday 15 January 2008, Steve Litt wrote:
> > Hi all,
> >
> > Now that my VO2LyX script handles body text, I'm writing a lot more of
> > my book in VO. Therefore I need some markup. I've been preceding a word
> > meant to be in italics with an exclamation point (!), and just started
> > doing this !{all these words should be italic}.
> >
> > Has anyone come up with a good set of markups for body text?
> >
> > Noel -- do you have some built into VO like you have tables built into
> > VO?
> >
> > Thanks
> >
> > SteveT
>
> Steve,
>
> Check out user-defined text under VO Objects in ":he vo". This is how I do
> it.
>
> Noel

Hi Noel,

VO objects, especially >, are really studly. These enable me to put paragraph 
styles right into my outline.

However, > doesn't work exactly as described. For instance:

Meetings
	>story
	> Come and listen to a story bout a man named Jed, a poor
	> mountaineer barely kept his family fed, and then one day he was
	> shooting at some food, and out from the ground came a bubbling
	> crude.
	>warning
	>Don't take this too seriously.

In the preceding, if U collapse warning, all you see is a collapsed Meetings 
headline. If you collapse >story, you collapse story, it does the right thing 
but if you collapse >warning it collapses all the way up to Meetings. If you 
put a space between the angle bracket and "Don't take this", when you 
collapse anywhere within either the story or the warning, it shows as one 
collapsed story. If you insert a blank anglebracket line just before the 
warning, both story and warning collapse right, but leave the blank angle 
bracket hanging out in the breeze.

If U can get it to work as described in :h vo, that would be spectacular.

If you REALLY want to make it perfect, establish some markup for character 
styles, but more generic than your +++, ||| etc. If you do that, an entire 
book could be written in vo and by script turned into LyX (or anything else).

STeveT


More information about the VimOutliner mailing list