View Single Post
Old 02-06-2009, 12:48 PM   #112
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by mwestmr View Post
Many thanks to Eladio for a great tool!

One of my .lrf files gives some problems with quotes and other characters. When I convert it with -XML I get correct text like:

<Tag Type="BeginP"/>
Vili glanced up, turned his head back toward the interior, and said, with no par
ticular inflection, &quot;Klava with honey for Lord Taltos.&quot; He then turned back to m
e and said, &quot;Your usual table is available, m&apos;lord.&quot;
<Tag Type="EndP"/>

while using -EPUB gives the same paragraph as:

<div class="st012"><span class="st013">Vili glanced up, turned his
head back toward the interior, and said, with no particular
inflection, &ntilde;Klava with honey for Lord Taltos.&icirc; He
then turned back to me and said, &ntilde;Your usual table is
available, m&Iacute;lord.&icirc;</span></div>

In the EPUB version the &ntilde; should be &quot;, &Iacute; should be &apos;, etc. The linebreaks in the XML output also look strange to me.

I'll sent the problematic .lrf file to Eladio by pm.

For what it's worth, this is under OS X 10.5.6 with java -version:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)

Matt.
I've PMEd you. I can see correct codes, but i'm using a developing version. This weekend i'll publish new version on googlecode.
elinares is offline   Reply With Quote