[liblouis-liblouisxml] Re: Missing spaces in translated text

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 2 Nov 2011 20:31:34 -0500

Vic,

I looked at the file you sent in your last message and translated it. 
The phrase about the new brochure translated correctly. What else is 
wrong?

John

On Wed, Nov 02, 2011 at 12:21:29PM -0400, Vic Beckley wrote:
> John,
> 
> I was using Notepad. Now I have tried the PSPad editor and also Notetab Pro.
> In all of these I see spaces between the ending </strong> tag and the next
> beginning <strong> tag. Pasted below is a sample of what I see. Are you
> using Linux? That might make a difference.
> 
> <p><sup>4</sup> <strong>Start</strong> <strong>a</strong>
> <strong>Bible</strong> <strong>Study:</strong> When we return
> 
> I performed the test Paul suggested with the attached file and got the
> following results:
> 
> The title embossed perfectly.
> 
> On the name of the brochure, the closing italic sign was placed on the word
> "during" even though it is clearly outside the <em> tags.
> 
> On paragraph 4, there are a couple of problems. First, there is no space
> between the "4" and the "st" sign of the word "start." There is a letter
> sign before the st sign and not a capital sign even though the "S" is
> capitalized. Also, the italics should begin with that word. It does not show
> as italicized. Thirdly, there is a single italic sign on each of the
> remaining words in the heading. This is not correct.
> 
> I am pretty sure I have the XML formatted correctly. Let me know if you see
> any problems with the XML and if you can get the same results. BTW, this is
> embossing with the emboss subcommand of Braille Blaster 1.3.0.
> 
> For the record, the original problem of having the <strong> tags on each
> word was not the fault of the Save-as-DAISY plug-in. I went back into the
> Word document and, indeed, the spaces between the words were not bolded.
> This happened somehow when I pasted the text into Word from the originating
> program. I thought I had checked this out before.
> 
> I hope this helps.
> 
> 
> Best regards from Ohio, U.S.A.,
> 
> Vic
> E-mail: vic.beckley@xxxxxxxxxx
> 
> 
> -----Original Message-----
> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J.
> Boyer
> Sent: Wednesday, November 02, 2011 10:56 AM
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] Re: Missing spaces in translated text
> 
> Vic,
> 
> Putting each word individually within <strong> - </strong> tags is not 
> good practice. Liblouis needs to see the whole phrase within a single 
> pair of tags to make a proper translation. I don't know how you are 
> viewing the xml, but when I looked at it there were no spaces. It was 
> just one long line. Unfortunately I don't know how to contact the 
> creators of this plugin.
> 
> John
> 
> On Wed, Nov 02, 2011 at 10:17:52AM -0400, Vic Beckley wrote:
> > John,
> > 
> > There is a space between the </strong> and the next <strong> tags. This is
> > how the Word DAISY plug-in saved the XML. I thought it was a strange way
> to
> > save it too. There was nothing unusual about the Word document. The whole
> > phrase was bolded. Do you know if there is any way to get in contact with
> > the DAISY plug[ins creators to report something like this?
> > 
> > 
> > Best regards from Ohio, U.S.A.,
> > 
> > Vic
> > E-mail: vic.beckley@xxxxxxxxxx
> > 
> > -----Original Message-----
> > From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> > [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J.
> > Boyer
> > Sent: Tuesday, November 01, 2011 6:16 PM
> > To: liblouis-liblouisxml@xxxxxxxxxxxxx
> > Subject: [liblouis-liblouisxml] Re: Missing spaces in translated text
> > 
> > Hi Vic,
> > 
> > The problem is that each word is individually enclosed in <strong> tags. 
> > If you enclose the whole phrase in a single pair of tags the problem 
> > should go away. You might also try putting a space after the </strong> 
> > ending tags. 
> > 
> > John
> > 
> > On Tue, Nov 01, 2011 at 01:38:21PM -0400, Vic Beckley wrote:
> > > John,
> > > 
> > > In the attached XML document, when I emboss it with Braille Blaster,
> there
> > > are no spaces within the text that is within <strong? And <em> tags. The
> > > spaces are there in the actual XML. At the beginning of paragraph 4, the
> > "S"
> > > at the beginning of "start" is not capitalized. It is in the XML. Can
> you
> > > duplicate this?
> > > 
> > > 
> > > Best regards from Ohio, U.S.A.,
> > > 
> > > Vic
> > > E-mail: vic.beckley@xxxxxxxxxx
> > > 
> > > 
> > 
> > 
> > 
> > -- 
> > 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
> 
> -- 
> 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



-- 
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

Other related posts: