MathTranslate icon indicating copy to clipboard operation
MathTranslate copied to clipboard

\rule{\linewidth}{0.2pt} is bad

Open HelloYJohn opened this issue 2 years ago • 0 comments

Step to reproduce the behavior

  1. http://mathtranslate.xyz/ Arxiv ID: 2302.06873
  2. result PDF generation failed. Please try on Overleaf.
  3. I am not familiar with the syntax of latex, please help me solve it.
  4. Minimum steps to reproduce

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

HelloYJohn avatar Dec 13 '23 10:12 HelloYJohn