Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

directories in TEXINPUTS are ignored even when in \svgpath #17

Open
Maelan opened this issue Nov 18, 2019 · 2 comments
Open

directories in TEXINPUTS are ignored even when in \svgpath #17

Maelan opened this issue Nov 18, 2019 · 2 comments
Assignees
Labels
Milestone

Comments

@Maelan
Copy link

Maelan commented Nov 18, 2019

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.

@Maelan
Copy link
Author

Maelan commented Nov 18, 2019

I am using Linux, TeX Live, latexmk and the following version of the svg package: 2018/11/12 v2.02b

@mrpiggi
Copy link
Owner

mrpiggi commented Nov 19, 2019

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.

@mrpiggi mrpiggi added this to the v2.03 milestone Nov 19, 2019
@mrpiggi mrpiggi self-assigned this Nov 19, 2019
@mrpiggi mrpiggi added the bug label Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants