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

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

Vic,

I am using Linux, which generally gives a better view of what is 
actually in a file, though there may be Windows programs that do the 
same. Even if there were spaces between </strong> and <strong> they 
would be ignored. The only way to get the right translation is to have 
right xml.

John

On Wed, Nov 02, 2011 at 05:07:53PM -0400, Vic Beckley wrote:
> Paul,
> 
>  
> 
> The test5.xml that was attached to the previous message is the file I was
> talking about. When you say it looked OK, do you mean in XML or in Braille?
> 
>  
> 
>  
> 
> Best regards from Ohio, U.S.A.,
> 
>  
> 
> Vic
> 
> E-mail:  <mailto:vic.beckley@xxxxxxxxxx> vic.beckley@xxxxxxxxxx
> 
>  
> 
> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Wood
> Sent: Wednesday, November 02, 2011 12:43 PM
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] Re: Missing spaces in translated text
> 
>  
> 
> Sorry Vic, There wasn't a file attached to this email and the one before
> looked ok.
> God Bless
> Paul
> 
> On 2 November 2011 16:29, Vic Beckley <vic.beckley@xxxxxxxxxx> wrote:
> 
> Paul,
> 
>  
> 
> I think I have reproduced your bug. See my previous document with the
> attached file. Thanks for the forum address.
> 
>  
> 
>  
> 
> Best regards from Ohio, U.S.A.,
> 
>  
> 
> Vic
> 
> E-mail: vic.beckley@xxxxxxxxxx
> 
>  
> 
> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Wood
> Sent: Wednesday, November 02, 2011 10:48 AM
> 
> 
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] Re: Missing spaces in translated text
> 
>  
> 
> I had similar behavour with <em> at the beginning of a paragraph. In my case
> it didn't tag the first word. This I believe was due to some weird tags
> added by MS Word so the word xml tagging was split up. You could try
> creating a blank document with a heading 1, so it validates, then paste that
> paragraph in. check the results. then do the same document, but this time
> type it in fresh. check those results. If you find they are different it's
> the bug I had, but with <strong>.
> 
> Anyway more help with the Save-as-DAISY plug-in is available through their
> forum: http://www.daisy.org/forums/save-as-daisy-microsoft
> 
>  
> 
> HTH
> 
> Paul
> 
> On 2 November 2011 14:17, Vic Beckley <vic.beckley@xxxxxxxxxx> 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
> 
>  
> 
> 
> 
> 
> -- 
> 
> ____________________________________________________ 
> 
> Paul Wood, Technical Services Leader
> 
> Torch Trust
> 
> Torch House, Torch Way,
> 
> Market Harborough, Leics. LE16 9HL, UK
> 
> Direct Line: +44(0)1858 438269
> 
> Tel: +44(0)1858 438260, Fax: +44(0)1858 438275
> 
> Email:  <mailto:paulwtpaulw@xxxxxxxxxxxxxx> paulw@xxxxxxxxxxxxxx 
> 
> Website:  <http://www.torchtrust.org/> 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.  
> 
> ____________________________________________________
> 
>  
> 
>  
> 

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