Menu

#184 Fix a typo in latex2e

None
closed-accepted
nobody
None
5
2021-10-31
2021-08-20
No

Please let me know if the patch is in the right format (I haven't used SVN in ages)

1 Attachments

Discussion

  • Clément Pit-Claudel

    (This patch isn't the full story, btw — it will get rid of the crash, but then Docutils will generate incorrect LaTeX: \renewcommand{\labelenumi}{\{enumi}}: that \{ is where the enumtype should be.

     
  • Clément Pit-Claudel

    Here is an updated patch, based on what Sphinx does (use reasonable defaults instead of "")

     
  • Günter Milde

    Günter Milde - 2021-09-11

    Applied in r8827. Thank you for the patch.

    The typo went unnoticed since 2015, because it is part of (intended) robust programming.
    In a Docutils generated doctree, all list_item nodes in enumerated lists have the 'prefix', 'enumtype', and 'suffix' attributes.

    Patches may be done with diff, with SVN or with Git. (Due to SVN limitations, Git patches will not show the creator but the uploader after commit with git-svn.)

     
  • Günter Milde

    Günter Milde - 2021-09-11
    • status: open --> open-accepted
     
  • Günter Milde

    Günter Milde - 2021-10-31
    • status: open-accepted --> closed-accepted
     
  • Günter Milde

    Günter Milde - 2021-10-31

    Applied in Docutils 0.18.
    Thanks again for the patch

     

Log in to post a comment.