AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Inkscape portable textext12/30/2023 (/usr/local/texlive/2016/texmf-dist/tex/latex/base/size10. (/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.clsĭocument Class: article 9 v1.4h Standard LaTeX document class (/var/folders/cr/6n190wb14px1csr_s38dgp_m0000gp/T/tmpcoRZLT/tmp.texīabel and hyphenation patterns for 83 language(s) loaded. RuntimeError: Command /Library/TeX/texbin/pdflatex /var/folders/cr/6n190wb14px1csr_s38dgp_m0000gp/T/tmpcoRZLT/tmp.tex -interaction=nonstopmode -halt-on-error failed (code 1): This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex) % (' '.join(cmd), p.returncode, out + err)) Self.tex_to_pdf(latex_text, preamble_file)įile "textext.py", line 727, in tex_to_pdfĮxec_command( + latexOpts)įile "textext.py", line 596, in exec_command New_node = nvert(text, preamble_file, scale_factor) Self.callback(self.text, self.preamble_file, self.scale_factor)įile "textext.py", line 387, in do_convert I've tried having a very simple preamble file of \usepackage but that results in the following error output: Traceback (most recent call last): I would really appreciate any comments and ideas.I'm using Tex Text in Inkscape (0.91) on a Mac (OS Sierra) (with MacTex) and it's basically functional, but I can't seem to use a preamble file (.ini). Mathematica verion 11.1.1.0 for Windows 64-bit.Here are the specs of my OS, as well as the versions of the different involved programs: Here in the tool panel you can find Text tool with this icon and the short cut key of this tool is F8 functional key of keyboard. Does anyone have an idea of how to fix MaTeX/Textext such that both would work? We will discuss text and text tools in different points such as we adjust font style, size spacing as well as the color of text by using different features of text tool of Inkscape.Has anyone encountered such difficulties before (making Textext and MaTex packages work at the same time)?. What is wrong with my Ghostscript? How can I fix it?.Overall, I cannot use MaTeX at the moment since I get this error, which forces me to produce figures in Mathematica and move them into Inkscape to include axis labels and other notations (such that the fonts are consistent). Where the same file works on a different computer's GS (so the file should be OK). GPL Ghostscript 9.21: Unrecoverable error, exit code 255 Ghostscript seems to operate (that is, a pdf window pops-up and immediately closes).Īdditionally, when I try to run GS on a different pdf file, I get the following error Could not open the scratch file encoded_file_ptr_0. ****Unable to open the initial device, quitting.īut when I only put gswin64c.exe -o mt-gs.pdf -dNoOutputFonts mt.pdf I have ran the following line in the command: gswin64c.exe -o mt-gs.pdf -dNoOutputFonts -sDEVICE=pdfwrite mt.pdf The error Mathematica gives when running the MaTeX package is the following MaTeX::gserr: Error while running Ghostscript.Īfter examinning this issue, I have realized that the problem might originate from the Ghostscript version. Textext seems to be working now, but MaTeX does not. I have uninstalled and reinstalled all inkscape’s related programs – pstoedit, ghostscript, GSview, ImageMagick, Textext and Inkscape itself – but still MaTeX wouldn’t work. However, once I did this, Textext stopped working. To include LaTeX text in Mathematica I needed to install the MaTeX package (from here ). I have previously installed Textext, and Inkscape was working well – allowing me to include LaTeX text in my figures. I am using Inkscape to produce figures with LaTeX code (using textext according to this guide ). I have tried uninstalling and re-installing all related Inkscape programs but nothing seems to change. I am having issues with using both Textext add-on in Inkscape and MaTeX package in Wolfram's Mathematica. I then present my questions in Questions and supply some additional information regarding versions of the various programs in Supplementary Information. I first summarize my problem in Long story short (I have the detailed series of events in Long story). The following question has to do with installation of the MaTeX package to Mathematica, and the difficulties I encounter in making it compatible with Inkscape’s Textext (LaTeX addon).
0 Comments
Read More
Leave a Reply. |