<div dir="ltr">2018-05-29 20:21 GMT+02:00 Holger Wansing <span dir="ltr"><<a href="mailto:hwansing@mailbox.org" target="_blank">hwansing@mailbox.org</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">Hi,<br>
<br>
Norbert Preining <<a href="mailto:preining@logic.at">preining@logic.at</a>> wrote:<br>
</span><span class="gmail-">> Hi Holger,<br>
> <br>
> > - and the resulting tex file.<br>
> <br>
> I just tried the resulting tex file, and at least to my feeling it works<br>
> more or less (cannot read Hebrew, sorry, on my list). I attach the<br>
> generated .pdf<br>
> <br>
> There are two places where xelatex hangs:<br>
<br>
</span>I was able to get around these errors (so far).<br>
Problem seems to be, that babel is used, and also polyglossia (as Zdenek<br>
already mentioned). When I set<br>
<xsl:param name="latex.babel.use">0</xsl:<wbr>param><br>
the build is working fine without errors, so when forcing to not use babel<br>
at all.<br>
Is there a more proper way to disable babel? Like it is now, I have babel <br>
disabled completely, means: for all languages, while I'm not sure, if babel <br>
may probably be needed for some language (maybe Arabic?)<br>
(The refcard is currently built for 32 languages from the same source).<br>
<br></blockquote><div>I am not aware of any language supported in babel and not supported in polyglossia but I am aware of languages supported in polyglossia but unsupported in babel. Arabic, Urdu, Persian, Hindi, Marathi, Malayalam, Telugu, all they work fine in polyglossia if proper fonts are loaded. All encoding packages should be removed, everything is in Unicode.<br><br></div><div>I personally do not have much experience with dblatex, I use other XML formats (usually with Relax NG scheme created by me for a specific purpose) and writing the stylesheet from scratch, se e.g. <a href="http://icebearsoft.euweb.cz/bharat.php">http://icebearsoft.euweb.cz/bharat.php</a><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
A problem I have now:<br>
In the hebrew *PDF*, RTL direction is not honored correctly:<br>
When looking at each word, it is fine (means RTL inside of the word), but the <br>
order of the words is LTR.<br>
However, in the *tex* file everything seems to looks fine.<br>
What can be done about this?<br></blockquote><div><br></div><div>That's what I wrote. XeTeX does not implement the bidi algorithm in full, the words contain letters correctly from right to left but the words are still placed from left to right. You must use explicitly commands from the bidi package.<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I have attached the generated tex file, the pdf generated from that, and <br>
another pdf, which was build with xmlroff (the old build method; this pdf is<br>
confirmed from Hebrew translator to be fine, so this is the reference).<br>
<br>
<br>
Thanks<br>
<div class="gmail-HOEnZb"><div class="gmail-h5">Holger<br>
<br>
<br></div></div></blockquote><div><br><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">
<br>
-- <br>
Holger Wansing <<a href="mailto:hwansing@mailbox.org">hwansing@mailbox.org</a>><br>
PGP-Finterprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076<br>
</div></div></blockquote></div><br></div></div>