On 9/15/06, Bernhard Roider <[EMAIL PROTECTED]> wrote:
as i mentioned earlier i use psfrag for that purpose. that way i write the formulas in lyx and latex replaces them in the image (the only drawback is that u must use dvips, but i always do that). the thing that i miss here is some support from lyx such that i don't always have to insert ERTs (psfrags calling syntax is no really standard latex. and even if it was i think u can only write layouts with paragraph styles that are translated to latex commands but not something like an inlined latex command - which would be nice in my opinion). by the way: does lyx support writing latex code in another window but the main window? would it be difficult to make a dialog window with an input field in which the user can write formulas?
It is not essential to use dvips with psfrag: use package pst-pdf and then the script ps4pdf (which uses pdflatex). You can configure LyX to have "View -> PS4PDF" to call ps4pdf from inside LyX. Paul