jupyter-book
jupyter-book copied to clipboard
Underscore in title doesn't get properly escaped for pdflatex build target, causing formatting errors
Describe the bug
context
When I build a book using builder pdflatex, and the book title contains and underscore _ character, it appears that the underscore character doesn't get properly escaped and is interpreted by LaTeX as an indication that the next character is a subscript.
Here is a cropped screenshot from a book called Using redactedprocess_client showing the title page.
This formatting error is repeated throughout the header of each page.
expectation
The _ is part of the title and should be rendered as an underscore rather then be interpreted as a subscript marker.
Reproduce the bug
- Use a tiltle such as
Using jupyter_book_somthing - Build the book using --builder pdflatex
List your environment
Jupyter Book : 0.15.1
External ToC : 0.3.1
MyST-Parser : 0.18.1
MyST-NB : 0.17.2
Sphinx Book Theme : 1.0.1
Jupyter-Cache : 0.6.1
NbClient : 0.7.4
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada: