Re: [Vim-latex-devel] Re: Whats the best way to write vim documentation?
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2003-01-22 02:34:09
|
Hey Luc, On Mon, 20 Jan 2003, Luc Hermitte wrote: > The tool XT is available on: http://www.blnz.com/xt > For other tools, check the FAQ::Where To Start::Implementations. > > I like the FAQ available on: http://www.dpawson.co.uk/ > It is about XSLT and XSL:fo. It helped me a lot with typical xslt > constructs. > > There is a reference documentation and some nice trivial examples (kind > of tutorial) on: http://www.zvon.org/ > (and many, many other things) > Thanks for the valuable links... I have been going through them in my spare time... Unfortunately, I am beginning to think that its quite non-trivial to do something like this what we want in xslt... Maybe after more reading, that will change... I am beginning to get more and more inclinded to go the python path and write our own little xml2vim converter... What do you think? This weekend, I was looking at the xml.dom.minidom documentation in python and the helpful example there. I could modify it without too much effort and came up with the attached .py file... Run it as $ python options.py Note that althout it has 113 lines, the code which I actually wrote was about 17 lines. The rest I got from a google search for "paragraph indentation python". Obviously, this was just done on a whim. Do you think this is a good way to proceed? Or should I (or Benji) be better off learning xslt? Thanks, Srinath PS: It converts -----------------------------------%<----------------------------------- <option> <name>Tex_Leader</name> <desc> The mappings in latex-suite are by default prefixed with the back-tick character. For example, `/ inserts \frac{<++>}{<++>}<++> etc. You can change the prefix with the following setting. ',', '/', '`' are preferred values. '' or '\' will lead to a _lot_ of trouble. g:Tex_Leader is also used for visual mode mappings for fonts. </desc> </option> -----------------------------------%<----------------------------------- to ----------------------------------%<---------------------------------- *Tex_Leader* Tex_Leader The mappings in latex-suite are by default prefixed with the back-tick character. For example, `/ inserts \frac{<++>}{<++>}<++> etc. You can change the prefix with the following setting. ',', '/', '`' are preferred values. '' or '\' will lead to a _lot_ of trouble. g:Tex_Leader is also used for visual mode mappings for fonts. ----------------------------------%<---------------------------------- |