Hello to all,
This is my first message to the list, so it may be duplicated or not adequate. Sorry in advance!
I am really enjoying Inkscape, specially in conjunction with TeX for scientific documentation. However, I miss the possibility of importing TeX material (e.g. complex labels and maths).
After some tests, I think that a transparent way to implement the above feature could be through the following script:
0. Open a text box to input TeX commands (e.g. text) 1. Run copy header.tex + text + footer.tex > clip.tex 2. Run pdfelatex clip.tex 3. Run pstoedit -dt -f svg clip.pdf clip.svg 4. File-Import: clip.svg 5. Run delete clip.*
where header.tex could be something like:
\documentclass{article} \usepackage[latin1]{inputenc} \usepackage[english]{babel} \usepackage[T1]{fontenc} \begin{document} \thispagestyle{empty}
and footer.tex:
\end{document}
I have tested this path manually under MSWindows using pstoedit 3.42 without problems. I know the SVG backend of pstoedit is not freeware, but as long as text is converted to curves by -dt, the output does not seem distorted (e.g. fontname distortion).
Does Inkscape supply any scripting to perform all the above tasks in order to integrate them as a simple menu option?
Thanks for your answers.
Best regards,
Paco