Skip to content

Commit 43bdd35

Browse files
committed
Fix counter
1 parent 2e31fcf commit 43bdd35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandoc_latex_admonition/_main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ def new_environment(doc: Doc, environment: dict[str, Any]) -> str:
650650
\\renewcommand\\thempfootnote{{\\arabic{{mpfootnote}}}}
651651
}}
652652
{{
653+
\\setcounter{{footnote}}{{\\value{{mpfootnote}}}}
653654
\\endtcolorbox\\spewnotes
654655
}}
655656
"""

0 commit comments

Comments
 (0)