[XeTeX] most basic example with htxelatex
Shrisha Rao
shrao at nyx.net
Sat Dec 26 02:13:03 CET 2009
El dic 26, 2009, a las 2:41 a.m., Pablo Rodríguez escribió:
> Merry Christmas!
>
> I'm trying to use tex4ht with the most basic example I can think of:
>
> \documentclass{article}
> \begin{document}
> “Eso dijo él”
> \end{document}
>
> And compiling with htxelatex file.tex "xhtml,uni-html4" (using the
> version that comes with TL 2009 as packaged for openSUSE 11.x) forgets
> all non iso-8859-1 characters (as xelatex itself does).
>
> But if adding fontspec to the preamble, no text in the output html file.
>
> Is there any way to get it working?
I don't know much about tex4ht, but for XeLaTeX, just add \usepackage{xltxtra} before \begin{document} and it will compile fine. Without that, with plain (La)TeX, your non-ASCII text would not be parsed.
Regards,
Shrisha Rao
> Thanks for your help,
>
>
> Pablo
More information about the XeTeX
mailing list