Open HelloYJohn opened 8 months ago
Step to reproduce the behavior
0-main.tex
\documentclass{article} \begin{document} \begingroup \renewcommand\thefootnote{}\footnote{ \noindent \rule{\linewidth}{0.2pt} }\addtocounter{footnote}{-1}\endgroup \end{document}
translate_tex 0-main.tex --debug --nocache cat 0-main.tex
\documentclass{article} \usepackage{xeCJK} \usepackage{amsmath} \begin{document} \begingroup \renewcommand \thefootnote{} \footnote{ \noindent \rule{\linewidth} { 0.2点 } } \addtocounter{footnote} { -1 } \endgroup \end{document}
cat text_old
Paragraph 0 Paragraph 1 Paragraph 2 XMATHX_4 XMATHX_5 XMATHX_0 XMATHX_1 XMATHX_2 XMATHX_3 XMATHX_6 Paragraph 2 -1 Paragraph 2 XMATHX_2 XMATHX_0 XMATHX_1 Paragraph 2 0.2pt
cat text_new
Paragraph 0 Paragraph 1 Paragraph 2 XMATHX_4 XMATHX_5 XMATHX_0 XMATHX_1 XMATHX_2 XMATHX_3 XMATHX_6 Paragraph 2 -1 Paragraph 2 XMATHX_2 XMATHX_0 XMATHX_1 Paragraph 2 0.2点
cat objs
Paragraph 0 Paragraph 1 Paragraph 2 obj 0 \thefootnote{} obj 1 \footnote{ \noindent \rule{\linewidth}{0.2pt} } obj 2 \addtocounter{footnote} obj 3 {-1} obj 4 \begingroup obj 5 \renewcommand obj 6 \endgroup Paragraph 2 Paragraph 2 obj 0 \rule{\linewidth} obj 1 {0.2pt} obj 2 \noindent Paragraph 2
Step to reproduce the behavior
0-main.tex
translate_tex 0-main.tex --debug --nocache cat 0-main.tex
cat text_old
cat text_new
cat objs