Paul, The example in the documentation fragment is just to show what can be done. With the style-nesting feature, we could now change the dtbook.sem file to support the Daisy poetry specification. John On Mon, Oct 19, 2009 at 02:58:49PM +0200, 'Paul Wood' wrote: > Hi, I'm new to liblouis but I thought dtbook syntax for poems/poetry was: > > <poem> > <linegroup> > <line>The Wonderful Counsellor guide you</line> > <line>The Mighty God protect you</line> > <line>The Everlasting Father be with you</line> > <line>The Prince of Peace overshadow you</line> > <line>And the blessing of God be upon you</line> > <line>Now and evermore</line> > <line>Amen</line> > </linegroup> > </poem> > > Or am I missing the point! Probably! > > Paul > > ____________________________________________________ > Paul Wood, Technical Services Leader > Torch Trust > Torch House, Torch Way, > Market Harborough, Leics. LE16 9HL, UK > Direct Line: +44(0)1858 438262 > Tel: +44(0)1858 438260, Fax: +44(0)1858 438275 > Email: paulw@xxxxxxxxxxxxxx > Website: www.torchtrust.org > ____________________________________________________ > Chief Executive: Dr Gordon Temple > Charity No. 1095904 > > Privileged/Confidential Information may be contained in this message. > If you are not the intended recipient please destroy this message > and kindly notify the sender by reply email. The computer from which > this mail originates is equipped with virus screening software. > However Torch Trust cannot guarantee that the mail and its attachments > are free from virus infection. > ____________________________________________________ > -----Original Message----- > From: Paul Wood > Sent: 19 October 2009 14:50 > To: liblouis-liblouisxml@xxxxxxxxxxxxx > Subject: [liblouis-liblouisxml] Documentation Fragment, Special Formats > > 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 > > > For a description of the software and to download it go to > http://www.jjb-software.com -- John J. boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities For a description of the software and to download it go to http://www.jjb-software.com