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

Underscore in title doesn't get properly escaped for pdflatex build target, causing formatting errors #2147

Open
VolkerH opened this issue May 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@VolkerH
Copy link

VolkerH commented May 2, 2024

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.

image

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

  1. Use a tiltle such as Using jupyter_book_somthing
  2. 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
@VolkerH VolkerH added the bug Something isn't working label May 2, 2024
Copy link

welcome bot commented May 2, 2024

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

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! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant