On 2009-03-25, Jean-Marc Lasgouttes wrote:
> Le 25 mars 09 à 05:37, John McCabe-Dansted a écrit :

>> The patch for bug 5858 below allows the user to output to LaTeX even
>> if LyX thinks .sty files are missing. 

>> This patch removes the 
>> "if (params().baseClass()->isTeXClassAvailable()) {" line from
>> Buffer.cpp. This seems sufficient to allow the user to export to LaTeX
>> and doesn't seem to have any drawbacks.

> The drawback that may happen is that suddenly one has the option to 
> export to dvi, pdf, etc, which of course will not work. I tried (not
> hard) several times to have a go at that bug and then decided I could
> do something else instead :)

If I remember right, LyX has different functions for true LaTeX export
(to a given path) and for conversion to a lyx-specific LaTeX source (in
the temp-dir). Allowing the first but disabling the
second seems "the right thing" to me.

Günter

Reply via email to