Skip to content

LaTeX: fix the #13525 fix of code-tex markup in docs #13557

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

jfbu
Copy link
Contributor

@jfbu jfbu commented May 14, 2025

#13525 added some missing backslash to LaTeX mark-up provided in our docs but then the r must be removed. Else:

! LaTeX Error: There's no line here to end.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.80 \\n
        ewcommand\\sphinxbackoftitlepage{Hello}\\sphinxmaketitle
? X
No pages of output.

@jfbu jfbu merged commit 05137c2 into sphinx-doc:master May 14, 2025
6 checks passed
@jfbu jfbu deleted the latex_fix_codetexmarkup branch May 14, 2025 08:05
@SilverRainZ
Copy link
Contributor

This was my oversight, thank you for correcting it.

@AA-Turner
Copy link
Member

AA-Turner commented May 14, 2025

@jfbu this is wrong, we still need the 'r'. The backslashes here are escaped for reStructuredText, see:

image

@jfbu
Copy link
Contributor Author

jfbu commented May 14, 2025

@AA-Turner oops, my bad. Very sorry about that. In the past, first time the docs included the extra info on 'maketitle' it must have been ok, then is it the code-tex role which modified the matter? I will check more carefully and make a correct fix.

@jfbu
Copy link
Contributor Author

jfbu commented May 14, 2025

@SilverRainZ This was my oversight, sorry about that.

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

Successfully merging this pull request may close these issues.

3 participants