Hi Andreas, and thank you for your swift response.  :)

[Andreas Hoenen]
> The problem in your example is telling dblatex to use the XeTeX backend,
> but using the LaTeX engine on the resulting XeTeX file.

Right.  So the fact that <xsl:param name="latex.encoding">utf8</xsl:param> also
trigger the problem is irrelevant?  Is it not needed during build?

You can have a look at the source code in
<URL: https://gitlab.com/gunnarwolf/madewithcc-es > if you like.  The 
workaround for
hair space is in Makefile, look for the perl code filtering the tex output.

> You can fix this by replacing your last command with:
> 
>     xelatex hairsp.tex

This did help, but the resulting PDF do not look as good as before.  The table
of content have too little space in it (actually the glyphs became bigger.

> or even simpler by replacing your last two commands with:
> 
>     dblatex -b xetex hairsp.xml

Tried this, but we still need some editing of the LaTeX source, and thus
need the extra step.

> The resulting PDF document looks fine to me.  Do you agree?  Or can you
> explain your issue further?

I am rather confused about why a single unicode character should cause such
problems, and am unsure what more to say.

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to