On Jan 11, 2007, at 12:06 AM, Georg Baum wrote:
Jens Noeckel wrote:
Assuming you got the dvipdfmx package from fink, too: the error is
probably due to the entry "\usepackage[T1]{fontenc}" which is
inserted into the LaTeX preamble by LyX without asking or telling
you. It's a good idea to have that when using pdflatex, which I use
almost exclusively. But still: I think this practice of stealthily
slipping in extraneous code is not a good philosophy on the part
of LyX.
I don't know when the fontenc package is needed, but whether it is
used or
not can be configured in the preferences. Just enter "default" as font
encoding, and LyX will not output this line.
Why not just make those kind of entries visible when the user opens
Document>Settings>Preamble? The preamble that is shown to the
user is completely empty for a new file, but the exported latex has
additional
lines in the preamble. Makes it really hard to debug latex problems
if you
don't know about this. One could perhaps put preamble entries that come
from the "Output" Settings in a different color (maybe even grayed
out), but
still let them show up in the preamble.
Jens