Skip to content

pdf doc build is sort of broken #7443

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

Closed
tacaswell opened this issue Nov 11, 2016 · 4 comments · Fixed by #7533
Closed

pdf doc build is sort of broken #7443

tacaswell opened this issue Nov 11, 2016 · 4 comments · Fixed by #7533
Assignees
Labels
Documentation Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone

Comments

@tacaswell
Copy link
Member

In https://github.com/matplotlib/matplotlib/pull/7025/files#diff-d16d8f2163ade22dd20a465382c64881R148 I added some unicode to the docs which is not well handled by the latex. It causes an error (which can be ignored by typing 'R' into the prompt) when bulding the docs.

That example could be fixed by:

  • removing the offending lines
  • sorting out how to make latex deal with Chinese characters
  • html-only that block
@tacaswell tacaswell added Documentation Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. labels Nov 11, 2016
@tacaswell tacaswell added this to the 2.0 (style change major release) milestone Nov 11, 2016
@QuLogic
Copy link
Member

QuLogic commented Nov 13, 2016

It may also work if setting docs to build with xelatex or lualatex, but those both might require some tweaks to the preambles.

@NelleV
Copy link
Member

NelleV commented Nov 15, 2016

@sirlittle is going to work on this.

@dopplershift
Copy link
Contributor

dopplershift commented Nov 28, 2016

Removing the offending characters seems like the simplest solution--and given that it's just example output from a utility, I don't think the docs would lose anything by doing so.

And by characters what I really mean is remove the specific font names from the list that contain Chinese characters.

@NelleV
Copy link
Member

NelleV commented Nov 29, 2016

Let me see what I can do first. It is possible that it is a one liner fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants