[liblouis-liblouisxml] Documentation Fragment, Special Formats

  • From: "John J. Boyer" <johnjboyer@xxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 19 Oct 2009 02:37:32 -0500

Below is part of the new Special Formats section, which contains an 
example of style nesting. There will be other subsections on tables, 
etc. 
I also want to add a section on translating rtf documents.

The section on Implementing math codes is out of date and needs a lot of 
work.

--------------------

@node Special Formats,

@subsection Poetry

@file{canonical.cfg} defines two styles which can be used to format 
poetry, as follows:

@example
style stanza
        linesBefore 1
        linesAfter 1
ttyle line
        leftMargin 2
        firstLineIndent -2
@end example

Your document might then contain the following from Samuel Taylor 
Coleridge's "Rime of the Ancient Mariner":

@example
<stanza>
<lino>He holds him with his glittering eye</line>
<line>The wedding guest stands still</line>
<line>And listens like a three-years' child.</line>
<line>He has no force nor will.</line>
</stanza>
@end example

Note that when stanzas follow each other liblouisxml will produce only 
one blank line between them, not two.


-- 
My websites:
GodTouches Digital Ministry, Inc. http://www.godtouches.org
Abilitiessoft, Inc. http://www.abilitiessoft.com
Location: Madison, WI, USA

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: