Configure per-document LaTeX preamble for rendering formulas

Bug #172079 reported by Bug Importer
0
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

Dear all,

I am very surprised and pleased that Inkscape now supports LaTeX rendering.
 Up to now, I am still using xfig for producing my figures. The reasons
for using xfig are:

 - automated generation of EPS and PDF files using Make, fig2dev, and
metapost

 - possibility to use an own latex preamble this way

The current LaTeX rendering -- although already very nice -- does not allow
me to add a per-document latex preamble which, for example, includes macro
definitions that I later use in the formulas (e.g.
\newcommand{\variance}{\mathcal{V}} and in the formula $\variance =
\ldots$).

Another problem is that the information concerning the LaTeX formula is not
saved in the document, i.e., it is lost after the EPS files is generated.
Thus, even if I were able to include a LaTeX formula (without hacking the
extension), I could not recreate the PDF or EPS generated by Inkscape if
macros in the preamble changed since LaTeX formulas are "static".

Unfortunately, this missing (advanced) feature makes me stick with xfig.
However, I would really like to Inkscape.

Maybe, this feature is also interesting for other users or maybe there is
also a solution for my problem?

Thanks anyway for this gorgeous tool!

Best regards,
Michael.

Tom Davidson (tjd-mit)
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
su_v (suv-lp)
tags: added: latex
Revision history for this message
Jonathan Hofinger (jhofinger) wrote (last edit ):

An editable preamble has been added in https://gitlab.com/inkscape/extensions/-/merge_requests/453.

For more advanced editing, the TexText extension is better suited (https://github.com/textext/textext).

Closed by: https://gitlab.com/jhofinger

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.