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

Export to PDF fails for modules with underscore (like version_information itself) #13

Open
etabeta78 opened this issue Sep 11, 2019 · 0 comments

Comments

@etabeta78
Copy link

If you add a cell to a Jupyter notebook calling

%load_ext version_information
%version_information version_information

then export to PDF fails due to the unescaped underscore in the module name, when the table is built.

I think a fix could be to add at line 163 of version_information.py

_name = self._latex_escape(name)

like you do for _version and update the later construction of the TeX output, but I'd leave to you the judgement about its correctness

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