LaTeXText icon indicating copy to clipboard operation
LaTeXText copied to clipboard

Runtime error on new files. Works with files where applied before

Open MMLeo opened this issue 6 years ago • 5 comments

LaTexText worked fine just yesterday. It still does in the files I used it on yesterday. Should I create a new drawing though and try to run it with the same settings as in the other files it does create a new layer but no text and I get the error message below. I also noticed, that should I copy paste an already Latex-transformed text object in my new drawing, it works perfectly fine again, with the settings presented down below that is. But would I change the font size for example, it again doesnt work.

Command "pdflatex c:\users\user\appdata\local\temp\tmp5efh7e\tmp.tex -interaction=nonstopmode -halt-on-error" failed (code 1):

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit)

entering extended mode

(c:/users/user/appdata/local/temp/tmp5efh7e/tmp.tex

LaTeX2e <2015/01/01> patch level 2

Babel <3.9m> and hyphenation patterns for 69 languages loaded.

("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"

Document Class: article 2014/09/29 v1.4h Standard LaTeX document class

("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))

("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.sty"

("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty")

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty")

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty")

("C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty")

("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.cfg"))

("C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsmath.sty"

For additional information on amsmath, use the `?' option.

("C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amstext.sty"

("C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsgen.sty"))

("C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsbsy.sty")

("C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsopn.sty"))

("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\amssymb.sty"

("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\amsfonts.sty"))

No file tmp.aux.

geometry driver: auto-detecting

geometry detected driver: pdftex

("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\umsa.fd")

("C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\umsb.fd")

! Missing $ inserted.

            $

l.13

! ==> Fatal error occurred, no output PDF file produced!

Transcript written on tmp.log.

Traceback (most recent call last): File "latextext_gtk3.py", line 158, in on_btnApply_clicked self.run_callback() File "latextext.py", line 475, in run rendergroup = lat2svg.render(latex_string, self.options.preamble, self.options.packages, self.options.fontsize, self.options.scale) File "latextext.py", line 580, in render raise RuntimeError() RuntimeError Popup Settings

Installed Inkscape 0.92.4 and MiKTeX 2.9

MMLeo avatar Apr 25 '19 14:04 MMLeo

I have the same problem. Did you solve it?

Visperad22 avatar Jan 20 '20 12:01 Visperad22

Back then I was trying to copy pre-written Tex-Code into the interface where you change text, that didn't work. After I rewrote it it worked though. It also doesn't convert text fields that has a break in it I think

MMLeo avatar Jan 21 '20 11:01 MMLeo

@Visperad22 Did the @MMLeo solution work for you?

jssprz avatar Mar 02 '20 00:03 jssprz

I noticed another problem related to this issue. It was about the MiKTex new release. Somehow the new release did not automatically install some of the fonts packages so I had to manually install the, After that, I did not have the problem. Please see this one on the issue: https://github.com/MiKTeX/miktex-packaging/issues/112#issuecomment-577104722

Visperad22 avatar Mar 03 '20 12:03 Visperad22

I get the same error message. First time user, the extension has never worked. Tried to install font packages from MikTex, but it's still not working. Does anyone know what's the problem? Thanks in advance.

tongliang11 avatar Aug 05 '20 02:08 tongliang11