mrpiggi / svg

Handling SVG pictures in LaTeX documents using Inkscape, ImageMagick and/or Ghostscript
Other
65 stars 11 forks source link

runsystem information not being output to log #9

Closed bluebaroncanada closed 5 years ago

bluebaroncanada commented 5 years ago

In the docs and error message it says that I should be able to view the command for inkscape, but it's not being output to any log.

mrpiggi commented 5 years ago

Well, it actually writes to corresponding log file. If you create a latex document test.tex (assuming Tex Live 2019 on Windows)

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{svg}
\begin{document}
\svgpath{{C:/texlive/2019/texmf-dist/doc/latex/svg/}}% path to svg-example.svg
\begin{figure}
\centering
\includesvg[inkscape=force]{svg-example}
\end{figure}
\end{document}

and run pdflatex --shell-escape test.tex then there is an information about the execution of inkscape within test.log

Package svg Info: Calling Inkscape on input line 14.
runsystem(inkscape -z -D --export-latex  --file="C:/texlive/2019/texmf-dist/doc
/latex/svg/svg-example.svg" --export-pdf="svg-example_svg-tex.pdf" )...executed
bluebaroncanada commented 5 years ago

Yes. That definitely is not occurring: https://stackoverflow.com/questions/56535151/inkscape-cant-find-the-file-for-includesvg

mrpiggi commented 5 years ago

So it looks to me, that this is not a direct problem with package svg. It seems that you already got a useful answer at stackoverflow not to use texify. Incidentally, you could have noticed that yourself, if you had used pdflatex as I suggested in my last answer.

mrpiggi commented 4 years ago

This issue actually lead to this one: https://github.com/latex3/latex2e/issues/195