On Fri, Jun 6, 2014 at 10:53 AM, Cyril <mathsbruye...@free.fr> wrote: > Hello everybody, > > I'm trying to embed asymptote code in my LyX files. > > The compilation of a file containing asymptote code named "myfile.tex" works > like this: > > latex myfile.tex > asy myfile-* > latex myfile.tex > > How can i manage to get this sequence of instructions with a simple shortcut > inside LyX ? > > Thank you for your answers,
Hi Cyril, I have little experience with this kind of thing, but you should take a look at the converters section in Help > Customization. You could create a format "pdfA" (or "PDF (Asymptote)" ) and then a converter latex -> pdfA and add your commands there. Best, Scott