[tex-live] [debian-refcard] Help needed with xmlroff -> dblatex migration
zdenek.wagner at gmail.com
Tue May 29 15:43:26 CEST 2018
You mix polyglossia and babel in the same document, it will not work,
you should use only one of them. I prefer polyglossia with XeLaTeX, so
the lines would be
Packages ucs, fontenc and inputenc must not be used, XeTeX works in
Unicode with input in UTF-8 and OpenType or TrueType fonts should be
used (with Unicode encoding).
Package bidi will be loaded automatically but you have to declare
explicitly that you with the RTL output.
I suggest that you make a short (even nonsense) Hebrew document and by
gluing the pieces mentioned above you make it work. Then you will know
what your XSL should contain.
This is the way how I work when typesetting XML via XSLT and XeLaTeX.
2018-05-27 23:06 GMT+02:00 Holger Wansing <hwansing at mailbox.org>:
> Holger Wansing <hwansing at mailbox.org> wrote:
>> [Please CC my on replies]
>> Norbert Preining <preining at logic.at> wrote:
>> > Hi Holger,
>> > > My main point is/was: I don't know, how all the things like dblatex, latex,
>> > > xetex, xelatex ... work together.
>> > I think
>> > dblatex produces a .tex file from the "sources"
>> > xelatex is used to translate it into a pdf
>> > That's all. The problem is that dblatex is not afair in TeX Live, so not
>> > many people will be able to test it. So having the (intermediate) .tex
>> > file would be helpful.
>> So, I cannot get any further here ...
>> I have stripped this down to this:
>> dblatex generates the tex file from a docbook source file, it uses xetex
>> backend for that.
>> The command used:
>> dblatex --backend=xetex --texstyle=refcard.sty --xsl-user=dblatex.xsl entries-he.dbk
>> Based on this example
>> I have generated a dblatex.xsl file, to the best of my knowledge.
>> (The notation in our dblatex.xsl file is somewhat different compared with
>> the example from above, so I couldn't copy-paste it directly.)
>> I have attached:
>> - the docbook source file ("entries-he.dbk"),
>> - the style file ("refcard.sty")
>> - the dblatex.xsl file
>> - and the resulting tex file.
> I found, that I gave the incorrect docbook source file, it has to be
> the refcard-he.dbk, attached to this mail; sorry.
> Holger Wansing <hwansing at mailbox.org>
> PGP-Finterprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
More information about the tex-live