On 9/14/06, Bernhard Roider <[EMAIL PROTECTED]> wrote:
>> > Would it be appropriate to add it to the list of external insets, >> if more sophisticated >> > export scripting is requitred ? >> > ipe files could be added this way too I guess. >> > >> An external inset may or may not be necessary. >> Graphichs conversions may be all you need you can convert to: >> .eps for processing with latex >> .png for displaying in lyx >> .pdf for processing with pdflatex >> >> A sophisticated export script is not a problem, these converters >> can be as complicated as you like. >> >> The external inset is nice in that it allows: >> * Specifying an editor for the format, you can click on >> an xfig inset to edit it. This may be useful for svg stuff. >> * More complicated ways of including the output, i.e. >> .fig is converted to a .eps and a .pstex_t, which are >> included using more complicated latex commands. > > There is something that may be relevant: it is possible to convert > from SVG to Xfig format with pstoedit. With this approach, we can then > edit the Xfig picture and edit the text with the special flag on, > getting at last the text of the picture written with the default LaTeX > font of the document. > I've tried to draw with xfig two or three times, and in my oppinion the user interface is realy awful! inkscape has a really feature rich interface and i can draw images there very quickly. inkscape runs on windows and unix systems - what about xfig? moreover, i do not like to add plain LaTeX to my images (which is done with those special flags if i got that right). why not support psfrag in lyx? as i wrote in the tips wiki, i use it now with ERTs. The big advantage would be, that i can write everything i want to typeset with LaTeX into the picture can be written with LyX.
I share your opinion regarding Xfig. However, I think that the best way to insert SVG pictures in LyX is through Xfig together with pstoedit. You will not really need to edit your Xfig picture with Xfig, as a simple text editor is able to change (almost at once) all needed special flags. Doing so, there is no need for using psfrag. However, if you feel comfortable with your way, just use it, as I am not campaigning for using my solution! Paul PS: Jfig (http://tams-www.informatik.uni-hamburg.de/applets/jfig/), a clone of Xfig, works on MS Windows.