Open Maelan opened 4 years ago
I am using Linux, TeX Live, latexmk and the following version of the svg package: 2018/11/12 v2.02b
I'm going to address this issue with the next release as I have to deal with a lot of things regarding file searching and name parsing because of the changes in the LaTeX kernel. Unfortunately, this is unlikely to happen before the beginning of next year.
When searching for SVG files, the svg package skips the directories from
\svgpath
(and\includegraphics
as well) which are matched by the TEXINPUTS environment variable. This happens for example with\svgpath{{../common/img/}}
when TEXINPUTS contains../common/img/
, or when it contains../common//
(since//
means to look into all directories recursively).As TEXINPUTS is apparently not used to find SVG files, this result in SVG files not being found.
By comparison, the graphicx package uses both TEXINPUTS and
\graphicspath
to find files.