Compilation fails for specific images #57
-
I've been using this package for some time now and never had any issues but now when I use it to include some svg images in a file the compiler complains about misplaced syntax. I'm a bit confounded by this because the compiler doesn't complain about other very similar images and I can't really see what distinguishes some from others. My only possible explanation is that it is perhaps about some of the symbols used in some images. I've included the images for which compilation fails. For the first image, called
about the line
Similarly, for the second image,
and similar for the other images. Compilation happened on Emacs 30.0.5 using LuaLaTeX and a recently upgraded texlive-distribution. If these images are commented out, compilation succeeds though there are lots of similar images in the document. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The code is generated by Inkscape, which is automatically invoked via package svg. And without the SVG files together with a minimal LaTeX document, there is nothing I can do to investigate but only guessing. As the line in question is more or less an empty table, maybe it is worth searching the SVG files for empty text boxes an get rid of them. |
Beta Was this translation helpful? Give feedback.
My bad, I've could have downloaded the linked images as those are proper SVG files.
The text within each image is passed to the corresponding
*.pdf_tex
file and directly processed by LaTeX, it is up to you escaping special characters. Compilation succeeds with escaped characters\{
and\}
for me.