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

InDesign image paths on the Mac get an extra / after file: #6

Open
gimsieke opened this issue Feb 18, 2015 · 3 comments
Open

InDesign image paths on the Mac get an extra / after file: #6

gimsieke opened this issue Feb 18, 2015 · 3 comments

Comments

@gimsieke
Copy link
Contributor

file:/Path/… becomes file://Path/… which is obviously wrong.

@gimsieke gimsieke self-assigned this Feb 18, 2015
@gimsieke
Copy link
Contributor Author

The issue was a fix for Windows file URIs. They are like file:C:/… in the IDML which is also wrong.
The fix inserted a slash after the file:, but also for Mac files.
This has now been fixed in r533 of idml2xml.
@codingisacopingstrategy Please do an ext up (no prior git pull necessary; I didn’t fix the revision of idml2xml yet).

@dreh23
Copy link

dreh23 commented Feb 18, 2015

On Linux I get the windows pathes as well :D . Document is copied over from Simons mac.

       <p><img src="file:/C:/Users/simon/Documents/My%20Dropbox/pml/books/Plants%2C%20Androids%20and%20Operators/layout/PML_Plants_Androids_v9%20Folder/Links/EFRE_sw.eps" alt="file:/C:/Users/simon/Documents/My%20Dropbox/pml/books/Plants%2C%20Androids%20and%20Operators/layout/PML_Plants_Androids_v9%20Folder/Links/EFRE_sw.eps" style="height:51.874015748031525pt" /></p>

@gimsieke
Copy link
Contributor Author

Interesting…

You won’t get Linux paths in any case, since the paths depend on where the document was exported, not where it was converted.

But file:/C:/Users/simon/… doesn’t look like a Mac export. Are you sure that Simon isn’t secretly using Windows on his Mac? Or has Dropbox sync’d a document to the Mac that was originally exported on a Windows box?

@gimsieke gimsieke removed their assignment Jul 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants