[liblouis-liblouisxml] xml commands with xml2brl

  • From: Greg Williams <greg.williams.1978@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 16 Mar 2009 15:43:58 -0500

Hi,
I have text files each containing one book of the Bible. I would like to translate them for my braille lite such that each verse is on one line, and there are two ilnes between chapters.
I have structured the files as follows:
<bible>
<name>BookTitle</name>
<chapter>
<p>1:1 text</p>
...
</chapter>
...
</bible>

My cfg file is

# bible.cfg
outputFormat
        lineEnd \r
        printPages no
        braillePages no
        paragraphs no
xml
        internetAccess no
style para
        firstLineIndent 0
style heading1
        linesBefore 0
        format leftjustified
        linesAfter 0
style style1
        linesbefore 1

and the sem file

# bible.sem
italicx em
document bible
para p
heading1 name
style1 chapter


This results in what I want except that there is no extra line between chapters. If I use "paragraphs yes", then I still end up with no extra line, and the verses are broken into 40 character lines. (as expected) Can anyone tell me how to get what I want? Thanks.
Greg

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

Other related posts: