On 2009-02-28, Nikos Alexandris wrote:
> Solution:
>> % copy-paste from the listing package documentation
>> upquote= true|false
>> determines whether the left and right quote are printed ‘’ or `'. This
>> key requires the textcomp package if true.
> LyX-problem(?):
> I get an error-message that I should load the textcomp package although
> I already have done this. Looking at the source code, the "upquote"
> listing-setting is before the \usepackage{textcomp}.
> Is this a LyX-bug?
Yes. (Or an unsupported feature: missing support for the "upquote" listings
setting.)
This should at least be documented, so please file a bug report.
> I guess the solution is to manually put the "usepackage" command before
> the listing-settings.
Or to set the "upquote" listings setting in the LaTeX preamble (no need
to move all other settings there too).
Günter