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

Mscgen extension incompatibility with Sphinx 1.3 #3

Open
flg opened this issue Mar 6, 2015 · 0 comments
Open

Mscgen extension incompatibility with Sphinx 1.3 #3

flg opened this issue Mar 6, 2015 · 0 comments

Comments

@flg
Copy link

flg commented Mar 6, 2015

I ran into an issue with mscgen extension when upgrading from Sphinx 1.2.3 to Sphinx 1.3b3.

The test to determine if the invoking builder is latex or else is (render_msc function, line 117 of mscgen.py):
if hasattr(self.builder, 'imgpath'):
But it should be:
if self.builder.format != 'latex':

I guess the Latex builder in 1.3b3 as the imgpath attribute, that it did not have in 1.2.3.

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

1 participant