Hello everybody,
I've been looking for some time for a good vector editor to make pictures to include in LaTeX documents. I eventually settled to TpX: http://tpx.sf.net which has the following interesting features - can include LaTeX code in a document - can save to a combined TeX/PS/PDF format which is very easy to include in a LaTeX document On the other hand, it is "primitive" (to say the least) compared to inkscape, works only on win32, is prone to crash and AFAIK it's development is stalled. I'd like to use inkscape as a replacement.
The first feature is (partially) present in inkscape with the "render latex formula" effect, the latter may require some explanation. When you save a document in TpX you get three files: a PDF and a PS with the drawing (but no text) and a TeX file which includes the PDF or the PS (via \includegraphics) and overlays the text using TeX "picture" environment. To include the picture you simple \input the the TeX file and it's done. This way the text is actually rendered by TeX, using whatever fonts and packages it has available.
My C sucks, but if something like this can be implemented as a python effect I'd like to try. I'm thinking about something among these lines: - a tool to insert "latex text" in the document (this could eventually be rendered like the current latex plugin does, but the user should be able to change its contents freely) - an export plugin for "combined latex" which * outputs everything but the "latex text" as a PS and a PDF (using the current PS/PDF exporters I think) * foreach "latex text" box it computes its position and size and outputs a TeX file with the picture environment.
Is something like this actually viable (and implementable without getting mad) ? Sorry for the long post, I hope I've made myself sufficiently clear.
Davide davide125@...92...