Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HelloYJohn opened this issue Dec 13, 2023 · 0 comments
Open

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

HelloYJohn opened this issue Dec 13, 2023 · 0 comments

Comments

@HelloYJohn
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant