Question: So, what's the deal? Where are the "missing" lines from the .lyx file? How can I force the "textcomp" packge to be loaded before the "listings" package?
There are no missing lines. If there is a listing in the .lyx file, LyX adds the usepackage automatically when generating the latex code.
I'm afraid you can't force this, but maybe somebody knows a work-around. see bugs: http://bugzilla.lyx.org/show_bug.cgi?id=5031 http://bugzilla.lyx.org/show_bug.cgi?id=5366 Vincent
