[liblouis-liblouisxml] Re: Compressing whitespace on a node by node basis in LibLouisUTDML

  • From: Brandon Roller <brandon.r.roller@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 12 Mar 2014 14:23:30 -0400

They don't appear in the nimas or epub semantic files.


On Wed, Mar 12, 2014 at 2:18 PM, Keith Creasy <kcreasy@xxxxxxx> wrote:

> John.
>
> Yes, it seems simple that \s means a single space but when it's in the
> line of a semantic action file such as :
>
> Italic em \s
>
> What is the effect? A single space is added every time the <em> element is
> encountered? This seems unnecessary. Maybe it isn't actually needed. I am
> assuming someone put it there for a reason but I can't think what it might
> be.
>
>
> I'd suggest these be removed from nimas.sem and epub.sem until we find a
> reason to add them back.
>
>
>
> -----Original Message-----
> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx [mailto:
> liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer
> Sent: Wednesday, March 12, 2014 2:12 PM
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] Re: Compressing whitespace on a node by
> node basis in LibLouisUTDML
>
> What would be the criteria for suppressing whitespace only for certain
> nodes? The compression is done in insert_text in transcriber.c
>
> \s means a single space, just as it does in liblouis.
>
> John
>
> On Wed, Mar 12, 2014 at 05:58:27PM +0000, Michael Whapples wrote:
> > Hello,
> > Is it possible to get liblouisutdml to compress the whitespace only
> > for certain nodes in a document?
> >
> > Also what is \s meant to do when it is in the third column of a
> > liblouisutdml semantic action file? I have gathered it has something
> > to do with spacing but cannot locate any documenting of this.
> >
> > Michael Whapples
> >
> >
> > For a description of the software, to download it and links to project
> > pages go to http://www.abilitiessoft.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, 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
>

Other related posts: