← 输入框|github.com|刷新
Skip to content

Sphinx plot directive hyperlink bug on windows #190

Closed

Description

@ddale

Original report at SourceForge, opened Sun Jan 30 22:59:14 2011

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

Activity

  1. quaquel commented on Sep 23, 2011

    @quaquel

    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.

  2. pelson commented on Jun 18, 2012

    @pelson
    Member

    Confirmed fixed by @ibell.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions