Johan Ingvast wrote:
>> I think that the best solution here is to take this to the auctex list.
>> That way David Kastrup can address the root cause of the problem.
> Yes, that would be good if the lyx special file for preview could sense
> if showkeys was loaded.
> I'd rather not go into following another list (auctex), following one is
> enough and I'm not using auctex.

No, but you are using preview.sty and its mailing list has been merged 
with that of auctex because the two codes are maintained by the same guy, 
David Kastrup. If you don't tell him, he can't know to fix it.

>> One way would be to pass the latex file through a filter in the
>> lyxpreview
>> script. The equivalent of:
>>
>>     sed '/^\\usepackage.*{preview}/s/,showlabels//' input.tex >
>>     output.tex
>>     mv output.tex input.tex
>>
> Sure, but that would cause problems when making documents not using
> package showkeys.
> Or can I have a local copy of the lyxpreview script in my local
> directory? That would be acceptable.

Try it.

-- 
Angus

Reply via email to