[XeTeX] most basic example with htxelatex
Pablo Rodríguez
oinos at web.de
Sat Dec 26 13:49:52 CET 2009
On 12/26/2009 02:13 AM, Shrisha Rao wrote:
> 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:
>>
>> 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.
Thanks, Shrisha, for your reply.
I'm afraid that xltxtra loads fontspec (line 16:
\RequirePackage{fontspec}), so I have the same problem with htxelatex as
described above.
Thanks for your reply anyway,
Pablo
More information about the XeTeX
mailing list