Am Montag, 30. Januar 2006 08:14 schrieb Juergen Spitzmueller:
> Georg Baum wrote:
> > I don't know. It should use the direct lyx -> lyx13 route (and it does 
so
> > here). Are you sure that you have the latest version of the patch
> > applied?
> 
> Yes. Definitely.

I think I know know what happens. Exporter::Export finds the first backend 
that is capable to produce the desired format, and this is the LaTeX 
backend. I don't understand anymore why it works for me.

Does it work if you put the lyx backend in the first position in

vector<string> const Backends(Buffer const & buffer)
{
        vector<string> v;
        if (buffer.params().getLyXTextClass().isTeXClassAvailable())
                v.push_back(BufferFormat(buffer));
        v.push_back("text");
        v.push_back("lyx");
        return v;
}

in exporter.C?


Georg

Reply via email to