Hi Günter,

Thank you for the thoughts and the links.

"Unfortunately, you still did not write, how you process your document
with XeTeX. (Export with File>Export>LaTeX (XeTeX) or something alike?)"

I set up LyX according to the instructions on the LyX wiki:
http://wiki.lyx.org/LyX/XeTeX

Briefly, this entailed creating a new "PDF (xetex) File Format" and a
LyX->XeTeX converter.  To export, then, I either use Export -> PDF
(xelatex) or View-> PDF (XeTeX).

"This should not be necessary if you export for XeTeX. Otherwise, it is
a bug ... Any system font is not compatible with T1 font encoding and
fontenc is not needed with XeTeX."

Is there a way to prepare a LyX document for XeTeX export?  The root of
my problem has been that LyX always includes fontenc in the exported
document (whether it is needed or not).  After looking at a couple of
exported documents, the hack I described in the previous email works
because the encoding is set to [] rather than a particular value.

"> I tried to create a font definition and proper LaTeX package for it,
but finally got frustrated and just gave up.

You can only create a "XeTeX package" for OpenType fonts (relying on
fontspec)." 

Sorry, I wasn't clear.  I tried to create a package for pdflatex,
according to the instructions on this web site:
http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdftex-and-opentype/

As I mentioned in the previous email, it wasn't pretty.  (Whenever I do
anything for the first time, it usually isn't.)

I've been poring over the fontspec guide for the past few days (it was
invaluable in helping me to get the font issues sorted in my document
class).  I'll further take a look at the fontenc guide.

Cheers,

Rob

Reply via email to