LaTeX formula extension improvements

Bug #1402731 reported by Alexander
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Wishlist
Alexander

Bug Description

1. I rework LaTeX formula extension: change comma-separated names list for \usepackage to direct include line of LaTeX tags.
Only names not enough for work: parametrs needed !

2. When post-processing LaTeX output pop up dialog with not-needed output: supressed by commenting code of it handler.

3. Also small rework GUI: help and width.

Revision history for this message
Alexander (aralni) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Diff against current trunk r13799

tags: added: extensions-plugins
Changed in inkscape:
importance: Undecided → Wishlist
Revision history for this message
jazzynico (jazzynico) wrote :

Could anyone with LaTeX installed test the extension so that we could update it in 0.92?
Thanks!

Changed in inkscape:
status: New → Incomplete
status: Incomplete → In Progress
assignee: nobody → Alexander (aralni)
milestone: none → 0.92
Revision history for this message
Alexander (aralni) wrote :

I can or can't help ? Or ohter people needed ?

Revision history for this message
su_v (suv-lp) wrote :

1) Earlier reports which could be checked for possible side-effects of the proposed patch (or maybe for alternate solutions):
Bug #172079 Configure per-document LaTeX preamble for rendering formulas
Bug #212395 Feature request: Latex formula switch to pdflatex from pstoedit
Bug #367446 eqtexsvg: use free software only
Bug #1031658 In Render Latex it isn't possible to specify package paramters
Bug #1210287 LaTeX renderer shows an error message (but does render LaTeX formula)
Bug #1214577 eqtexsvg.py line 72: c.tag should be converted to string first
Bug #1318414 External Call of LaTeX broken for certain path names
Bug #1370693 eqtexsvg should use pdflatex and not die on home directories with spaces
Bug #1403454 Latex Formula crashes with Unrecoverable error: stackunderflow in .setdistillerparams

2) Note also that the original author of the extension now has an updated repository for 'eqtexsvg' at github:
https://github.com/julienvitard/eqtexsvg
http://www.julienvitard.eu/en/projects_en.html

It might be worthwhile to coordinate major changes applied to Inkscape's copy of the extension with Julien Vitard (if he's interested).

On 2014-12-15 17:09 (+0100), Alexander wrote:
> 2. When post-processing LaTeX output pop up dialog with not-needed
> output: supressed by commenting code of it handler.

Won't this also prevent useful error messages from being displayed? It might be better to find a more fine-grained solution to filter out the noisy console messages returned by pstoedit when outlining glyphs (bug #1210287).

Revision history for this message
Alexander (aralni) wrote :

Heh... Step by step.

I do not use proprietary soft - only Debian GNU/Linux Sid. As work LaTeX in M$WIN don't known.
In https://github.com/julienvitard/eqtexsvg bad function parse_pkgs stay up. Size of code became more.
Non-good solution have two source for one plugin.

> Won't this also prevent useful error messages from being displayed?

Useful error messages from pstoedit for end user ? :)
Error messages from pstoedit may be interesting only for developers.

172079.
Bugreport contain as minimum 2 ideas.
1: Make possibility for user set self LaTeX preamble. After my rework it became possible. SOLVED.
2: Not lost formula source after eqtexsvg done. O_o... for make it need transparently known as work
eqtexsvg (with all use components), Inkscape and export Inkscape to PDF or EPS.
This idea may be extend to editable formulas. For realisation it as minimum special SVG field needed.

212395.
I don't see rework eqtexsvg from autor of this bug :) May be pdflatex better than latex, but may be not.
Really, pdflatex is not LaTeX - sintax is small different.

Continue ?

Revision history for this message
Alexander (aralni) wrote :

367446.
pstoedit currently contained in free part of Debian and signed it mantainers. It question (and all questions about it output) need move to pstoedit developers.

1031658, 1210287 : SOLVED.

Revision history for this message
Alexander (aralni) wrote :

1318414, 1370693: M$WIN.

1403454: I just enter "z \in \mathbb{R}^m" and get correct result without errors.

1214577: More info needed. What _LaTeX_ (not SVG) formula occur this error.

su_v (suv-lp)
tags: added: latex
jazzynico (jazzynico)
Changed in inkscape:
milestone: 0.92 → 0.93
Revision history for this message
Jonathan Hofinger (jhofinger) wrote :
Changed in inkscape:
status: In Progress → Invalid
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.