John, I already have Braille Blaster 1.1.0 that I extracted from the brailleblaster-1.1.0_win_64.zip archive which I downloaded from your website. That is what I was using when I first noticed this problem. Didn't this installation include the latest versions of liblouis and liblouisutdml? Vic -----Original Message----- From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer Sent: Friday, September 23, 2011 4:47 PM To: liblouis-liblouisxml@xxxxxxxxxxxxx Subject: [liblouis-liblouisxml] Re: The xpath expression I will update Brailleblaster to its latest version. This will include the latest liblouisutdml. There is no command-line interface for liblouisutdml on Windows. This will be brailleblaster-1.1.0. It has a lot of bug fixes due to feedback from users and some things I needed myself. Look at the getting-started.txt file. I'll let you know when the new version is on the website. This will be 64-bits. Hopefully the person who has agreed to produce the 32-bit build will have time for it soon. John On Fri, Sep 23, 2011 at 09:57:17PM +0200, Bert Frees wrote: > Vic, > > You are not using the latest version of Liblouisxml or Liblouisutdml. > I think that is the reason for your problem. odt2braille includes up > to date Windows binaries: > > https://odt2braille.svn.sourceforge.net/svnroot/odt2braille/trunk/ext/liblou isxml/bin/liblouisxml.dll > https://odt2braille.svn.sourceforge.net/svnroot/odt2braille/trunk/ext/liblou isxml/bin/xml2brl.exe > https://odt2braille.svn.sourceforge.net/svnroot/odt2braille/trunk/ext/liblou is/bin/liblouis.dll > https://odt2braille.svn.sourceforge.net/svnroot/odt2braille/trunk/ext/libxml 2/bin/libxml2-2.dll > https://odt2braille.svn.sourceforge.net/svnroot/odt2braille/trunk/ext/libxml 2/bin/zlib1.dll > > John can help you with a Windows version of the latest Liblouisutdml. > > Regards > /BErt > > Op 23-sep-2011 om 20:05 heeft "Vic Beckley" <vic.beckley@xxxxxxxxxx> > het volgende geschreven:\ > > >Bert, > > > >I just tried it with liblouisxml 2.0.0 and there was no blank line > >placed > >after the "Dayton Convention Directions" heading. I am attaching the > >exact > >configuration files that I used with liblouisxml in case you want to > >try it > >again. If nobody else can duplicate it, maybe it is something with my > >embosser. I really don't know, but I get the same results every time > >I try > >it. > > > >Vic > > > > > >-----Original Message----- > >From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx > >[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Bert > >Frees > >Sent: Thursday, September 22, 2011 2:05 PM > >To: liblouis-liblouisxml@xxxxxxxxxxxxx > >Subject: [liblouis-liblouisxml] Re: The xpath expression > > > >No I meant Liblouisxml 2.4.0. But I just tried it with Liblouisutdml > >as > >well (I'm not sure which version I'm using), and got the same results. > >Bert > > > > > >On 22/09/2011 19:37, John J. Boyer wrote: > >>Bert, > >> > >>I hope you mean liblouisutdml-2.4.0. That is the latest versionfor > >>which > >>there is a tarball. > >> > >> > >>John > >> > >>On Thu, Sep 22, 2011 at 07:32:49PM +0200, Bert Frees wrote: > >>>Vic, I tried your example document and it translates just fine. A > >>>blank > >>>line is inserted after the first heading, like it should. I'm using > >>>Liblouisxml 2.4.0. > >>>Bert > >>> > >>>On 22/09/2011 19:17, Vic Beckley wrote: > >>>>Hi Bert, > >>>> > >>>>I am not sure exactly what all files you need but I am sending the > >>>>file I am embossing and my preferences.cfg file and the dtbook.sem > >>>>file that is being used. If you need anything else just let me > >>>>know. > >>>>Thanks again for your help. > >>>> > >>>>Vic > >>>> > >>>>*From:*liblouis-liblouisxml-bounce@xxxxxxxxxxxxx > >>>>[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] *On Behalf Of > >>>>*Bert > >>>>Frees > >>>>*Sent:* Thursday, September 22, 2011 10:33 AM > >>>>*To:* liblouis-liblouisxml@xxxxxxxxxxxxx > >>>>*Subject:* [liblouis-liblouisxml] Re: The xpath expression > >>>> > >>>>Hello Vic, > >>>> > >>>>Skipping the 2 tags should indeed not effect how h1 is formatted. I > >>>>tried it myself but I can't reproduce your problem. Could you > >>>>sent an > >>>>example document + configuration files to the list? > >>>> > >>>>Bert > >>>> > >>>> > >>>>On 21/09/2011 16:54, Vic Beckley wrote: > >>>> > >>>>Bert, > >>>> > >>>>Excellent instructions! I got it to work now. I am still trying > >>>>to get > >>>>my head around why it is working, but it works. Thanks so much! > >>>> > >>>>I have one more problem maybe you can help me with. By default, the > >>>>contents of the doctitle and docauthor tags are embossed at the > >>>>beginning of the Braille document. Beneath this, with a blank line > >>>>before and after, is the title of my document which is in the Word > >>>>document. This is as I would expect because it is a level 1 > >>>>heading. I > >>>>added the 2 lines skip doctitle and skip docauthor to my dtbook.sem > >>>>file. Sure enough, the doctitle and docauthor are not embossed. The > >>>>problem is, however, now the level 1 heading does not have a blank > >>>>line after it before the text of the document as it did before;. > >>>>This > >>>>seems very strange to me because skipping the 2 tags should not > >>>>affect > >>>>how the h1 text is formatted. Any ideas on this one? > >>>> > >>>>I really appreciate someone with your experience and knowledge > >>>>being > >>>>willing to help out a newby like me. Thanks again. > >>>> > >>>>Vic > >>>> > >>>>*From:*liblouis-liblouisxml-bounce@xxxxxxxxxxxxx > >>>><mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx> > >>>>[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] *On Behalf Of > >>>>*Bert > >>>>Frees > >>>>*Sent:* Wednesday, September 21, 2011 10:10 AM > >>>>*To:* liblouis-liblouisxml@xxxxxxxxxxxxx > >>>><mailto:liblouis-liblouisxml@xxxxxxxxxxxxx> > >>>>*Subject:* [liblouis-liblouisxml] Re: The xpath expression > >>>> > >>>>dtbook.sem contains these rules (dtb:li is linked to the "list" > >>>>style, > >>>>which is a bit confusing): > >>>> > >>>>no list > >>>>list li > >>>> > >>>>Remove these lines and instead create 2 new styles: "dtb_li_p" and > >>>>"dtb_list". > >>>> > >>>>_in cfg file:_ > >>>> > >>>>style dtb_li_p > >>>> > >>>>linesBefore 0 > >>>> > >>>>linesAfter 0 > >>>>style dtb_list > >>>> > >>>>linesBefore 1 > >>>> > >>>>linesAfter 1 > >>>> > >>>>_in sem file:_ > >>>> > >>>>dtb_list list > >>>>no li > >>>>dtb_li_p&xpath(//dtb:li/dtb:p) > >>>> > >>>> > >>>> > >>>>On 21/09/2011 15:35, Vic Beckley wrote: > >>>> > >>>>Thanks Bert! That did the trick! The indent is now correct. > >>>>However, I > >>>>am still getting a blank line between each list item. I have the > >>>>lines > >>>>linesBefore 0 and linesAfter 0 in the p_li style section. Why would > >>>>this not override the linesBefore 1 and linesAfter 1 that are in > >>>>the > >>>>style list section? I am trying to get a blank line before and > >>>>after > >>>>the list, but not before and after each list item. > >>>> > >>>>Vic > >>>> > >>>>*From:*liblouis-liblouisxml-bounce@xxxxxxxxxxxxx > >>>><mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx> > >>>>[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] *On Behalf Of > >>>>*Bert > >>>>Frees > >>>>*Sent:* Wednesday, September 21, 2011 9:05 AM > >>>>*To:* liblouis-liblouisxml@xxxxxxxxxxxxx > >>>><mailto:liblouis-liblouisxml@xxxxxxxxxxxxx> > >>>>*Subject:* [liblouis-liblouisxml] Re: The xpath expression > >>>> > >>>>Vic, > >>>> > >>>>Have you added the line "namespaces > >>>>dtb=http://www.daisy.org/z3986/2005/dtbook/"; to your sem file? > >>>> > >>>>Bert > >>>> > >>>> > >>>>On 21/09/2011 14:50, Vic Beckley wrote: > >>>> > >>>>Hi Paul, > >>>> > >>>>Thanks for the info. It looks great, but it doesn't work for me. No > >>>>matter what I do the list items are formatted as normal paragraphs > >>>>instead of having a hanging indent. It is not using the p_li style > >>>>section at all. I even tried replacing the dtb: in the xpath > >>>>expression with dtbook: because that is the document type I am > >>>>working > >>>>with. That did not work either. > >>>> > >>>>Where can you find the additional information in the XSLTs? I don't > >>>>understand exactly what this means. > >>>> > >>>>Thanks again very much for your help. > >>>> > >>>>Vic > >>>> > >>>>*From:*liblouis-liblouisxml-bounce@xxxxxxxxxxxxx > >>>><mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx> > >>>>[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] *On Behalf Of > >>>>*Paul > >>>>Wood > >>>>*Sent:* Wednesday, September 21, 2011 4:37 AM > >>>>*To:* liblouis-liblouisxml@xxxxxxxxxxxxx > >>>><mailto:liblouis-liblouisxml@xxxxxxxxxxxxx> > >>>>*Subject:* [liblouis-liblouisxml] Re: The xpath expression > >>>> > >>>>Hi Vic, > >>>> > >>>>Just cracked this yesterday, so good timing! Adapted from Bert > >>>>Free's > >>>>odt2braille. > >>>> > >>>>in sem file: > >>>> > >>>>p_li&xpath(//dtb:li/dtb:p) > >>>> > >>>>in cfg file: > >>>> > >>>>style p_li > >>>> > >>>>linesBefore 1 > >>>> > >>>>linesAfter 1 > >>>> > >>>>this will then apply the style properties to a<p> within a<li>. > >>>>For > >>>>more info on what to put in the () of&xpath refer to XSLTs. > >>>> > >>>>Hope this helps. > >>>> > >>>>Paul > >>>> > >>>>On 20 September 2011 20:58, Vic Beckley<vic.beckley@xxxxxxxxxx > >>>><mailto:vic.beckley@xxxxxxxxxx>> wrote: > >>>> > >>>>Hi all, > >>>> > >>>>When I use the Save as DAISY add-in for Word, it places list > >>>>items in > >>>><p></p> tags inside the<li></li> tags. This overrides the<li> > >formatting > >>>>of the text. John suggested that I use the xpath expression to get > >around > >>>>this. I read what was in the documentation about this expression > >>>>and > >still > >>>>don't understand how it is used. Can anyone explain how the xpath > >>>>expression > >>>>works or give me practical examples? Thanks in advance for any > >>>>help. > >>>> > >>>>Vic > >>>> > > > > > >-- > >Bert Frees > >Katholieke Universiteit Leuven > >Dept. Elektrotechniek - ESAT - SCD > >Onderzoeksgroep Documentarchitecturen > >Kasteelpark Arenberg 10 bus 2442 > >B-3001 Heverlee-Leuven > >België > > > >For a description of the software, to download it and links to > >project pages go to http://www.abilitiessoft.com > ><default.cfg> > ><dtbook.sem> > ><Buck Creek to convention.xml> > For a description of the software, to download it and links to > project pages go to http://www.abilitiessoft.com -- John J. Boyer, Executive Director GodTouches Digital Ministry, Inc. http://www.godtouches.org Madison, Wisconsin, USA Peace, Love, Service For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com