You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sphinx plot directive hyperlink bug on windows #190
I have built the sphinx sampledoc tutorial without problems on Ubuntu and OSX, but I'm having problems on Windows. For some reason the hyperlinks to the PDF and get messed up on windows, but are fine on OSX and Ubuntu. I have to run a virtual machine just to compile my documentation. Needless to say, not optimal. I attached a screenshot with the messed up links, and I have posted the build errors I get that I think are related to the problems with the plot directive. I have the same problem in my own documentation that I am building on my own plotting module based on MPL.
D:\My_Documents\sampledoc_tut2\extensions.rst:: (ERROR/3) Anonymous hyperlink mismatch: 5 references but 0 targets.
See "backrefs" attribute for IDs.
process_begin: CreateProcess(NULL, echo, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [html] Error 2
SourceForge History
On Sun Jan 30 22:59:15 2011, by ibell: File Added: 400295: plotDirective.jpg
I ran into the same problem, also on a windows machine. I was able to fix it by modifying linkdir in plot_directive. This one contains backslashes instead forward slashes. Replacing them with the correct ones fixes the issue.
Activity
quaquel commentedon Sep 23, 2011
I ran into the same problem, also on a windows machine. I was able to fix it by modifying linkdir in plot_directive. This one contains backslashes instead forward slashes. Replacing them with the correct ones fixes the issue.
pelson commentedon Jun 18, 2012
Confirmed fixed by @ibell.