On Thu, Jul 9, 2009 at 11:17 AM, Carsten Agger wrote: > ... > This script allows simple formatting like *italics* and _underline_, but > I'd like something a but more "shiny", which would e.g. also recognize > chapter and section headings and maybe even generate a TOC. > > Does anybody have any recommendations? There's txt2tags, which I just > found (http://txt2tags.sourceforge.net/writing-book.html), and I suppose > one could write something similar to easily convert a text file to a > LaTex file, but as I said - do anyone have any experience using such > tools?
You may want to have a look at docutils, http://docutils.sourceforge.net/ "Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX. It includes reStructuredText, the easy to read, easy to use, what-you-see-is-what-you-get plaintext markup language." reStructuredText handles TOC, headings, lists, tables. The markup is such that the original text can be easily read as a plain text. reStructuredText is used for the Python documentation. I am using docutils and reStructuredText in a moinmoin wiki and find it very useful. Xavier --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
