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

Name conflicts when not using a single image folder #39

Closed
dafred94 opened this issue May 19, 2021 · 1 comment
Closed

Name conflicts when not using a single image folder #39

dafred94 opened this issue May 19, 2021 · 1 comment

Comments

@dafred94
Copy link

dafred94 commented May 19, 2021

My project folder looks like this:

.
├── mydoc.tex
├── topic 1
│   ├── im.svg
│   └── text.tex
└── topic 2
    ├── im.svg
    └── text.tex

In mydoc.tex, I input topic 1/text.tex and topic 2/text.tex. In the former file, I use includesvg{topic 1/im}, in the latter file I use includesvg{topic 2/im}.

Of course in the svg-inkscape/ directory that is created on the same level as mydoc.tex, the file names are now ambiguous and one of the images can be seen a second time instead of the second image in the rendered document mydoc.pdf.

Is there a way to instruct your extension to be able to differentiate between the files by including information about the relative path between images and the root tex document?
I believe that option inkscapename should be the way to go but I couldn't figure out how to use it...

Thanks in advance!

@mrpiggi
Copy link
Owner

mrpiggi commented May 19, 2021

This is an already known problem (#11) and unfortunately I haven't found the time to fix it properly yet. With inkscapepath=svgsubdir the created files are stored in the respective subfolder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants