MM-RST
is a post-, aehm, pre-, aehm, infix-processor
for
mm/lx
files. It allows you to write files in a syntax similar
to
ReStructured Text
and have mm-rst translate this into
html-markup, which then results in nicer pages when finally output
to HTML by mm/lx.
Currently supported are:
You write: | You get |
---|---|
* item one - next item + last item |
|
You write: | You get |
---|---|
#. First item 1) Second item a. Third item 12345) A highly numbered item |
|
You write: | You get |
---|---|
:tag 1: First definition :tag 2: Second definition :tagtag: Third definition |
|
You write: | You get |
---|---|
*This* text shows **several *different* accentuations** | This text shows several different accentuations |
You write: | You get |
---|---|
My homepage can be found <<http://www.desy.de/~utcke>here>, or you can have a look at <http://kogs-www.informatik.uni-hamburg.de>. | My homepage can be found here, or you can have a look at http://kogs-www.informatik.uni-hamburg.de. |
You write: | You get | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A | B | A&B | | 0 | 0 | 0 | | 0 | 1 | 0 | | 1 | 0 | 0 | | 1 | 1 | 1 | |
|
Currently, mm-rst simply reads from stdin and writes to stdout, so you would usually call is as
mm-rst.exe < file.mm > file.mmx
You are very much welcome to use this code any way you see fit. I use it, and so far haven't lost any data (or at least haven't noticed the loss) - but this IS alpha-quality code, and you could lose information. You have been warned!
That said, I would be delighted if this would turn out to be any use to someone, and even mored delighted to receive any Bug-reports or feature-requests.
mm-rst-0.1.zip | 19,838 Bytes, Jun 20 2008 | First released version |