Let LaTeX writer support the standard role "acronym".#14202
Let LaTeX writer support the standard role "acronym".#14202jfbu merged 4 commits intosphinx-doc:masterfrom
Conversation
Handle the "acronym" standard role <https://docutils.sourceforge.io/docs/ref/rst/roles.html#acronym> similar to "abbreviation" - just like in HTML <https://html.spec.whatwg.org/multipage/obsolete.html#acronym>. Closes sphinx-doc#14050 "LaTeXTranslator fails to build documents using the "acronym" standard role."
|
The "lint with ty" check fails on parts that were not changed in the commit. |
jfbu
left a comment
There was a problem hiding this comment.
Thanks, could you please add a CHANGES.rst entry (I guess it should go into Bugs fixed), so we can merge this in time for 9.1.0 release?
Done. I also added my name to the contributors list. |
TODO: trailing whitespace should be flagged or removed by a commit hook.
Thanks. Btw, our modus operandi here is that we squash all PRs as part of the merge process. This is a small annoyance to the contributor because they have then to force delete the branch ( |
|
I merged despite some CI failures, but they are unrelated to this patch, and are present since a number of commits added to master branch, I anticipate @AA-Turner will fix these issues for 9.1.0 release. |
Purpose
Prevent aborting LaTeX generation with "severe" error when a document uses the standard role
"acronym" .
Handle the "acronym" standard role similar to "abbreviation" - cf. the recommendation for HTML.
References
Closes #14050 "LaTeXTranslator fails to build documents using the "acronym" standard role."