On Thu, Jun 27, 2002 at 08:57:41AM +0100, Angus Leeming wrote:
> It sounds great. Note, however, that for asynchronous conversion you should 
> use grfx::GConverter to be found in graphics/GraphicsConverter.C. 

I thought I could just do a


        // The real work starts.
        std::ofstream of(file.c_str());
        of << "\\batchmode"
           << "\\documentclass{article}"
           << "\\usepackage{amssymb}"
           << "\\thispagestyle{empty}"
           << "\\pdfoutput=0"
           << "\\begin{document}"
           << data
           << "\\end{document}\n";
        of.close();

        // now we are done, start actual loading
        loader_.reset(file);

and it would work automatically.

Right now there are two obstacles: 1. the conversion script is not found
(which I circumvent locally by a symlink into /usr/local/bin) and 2. the
converter says he finds no path from .lyxpreview to .xpm.

> As for your "Re: pre-defined converters" questions: I have no idea. Herbert 
> or Jean-Marc seem to be the wizards here.

Ok. Herbert, say something. ;-)

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to