Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Images have incorrectly formatted paths when exporting to pdf on Windows. #259

Open
jgm opened this Issue · 2 comments

1 participant

@jgm
Owner
jgm commented
When exporting a page that has images to pdf LaTeX fails with the following in the log:


! Undefined control sequence.
<argument> c:\hg \haskell 
                          \trac \gitit \static \img 
l.200 ...l\trac\gitit\static\img/icons/folder.png}


I should be able to track this one down pretty easily.

Google Code Info:
Issue #: 116
Author: fryguy...@gmail.com
Created On: 2011-04-19T14:08:23.000Z
Closed On: 
@jgm
Owner
jgm commented

Attached is a patch that worked for me, but I'm not sure what the implications are of blindly replacing '\' with '/'. There is still an additional problem that the specific icons it is looking for lives in the cabal data directory. So I think somewhere there needs to be a findDataFile call on the url?

Google Code Info:
Author: fryguy...@gmail.com
Created On: 2011-04-19T15:01:33.000Z

@jgm jgm was assigned
@jgm
Owner
jgm commented

I forgot to add, to reproduce the problem export /Help as a pdf.

Google Code Info:
Author: fryguy...@gmail.com
Created On: 2011-04-19T15:02:43.000Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.