# [texworks] Report a bug about XeLaTeX

Sun Jul 18 15:49:45 CEST 2021

Dear Sir/Madam:

I am a Chinese user of TeXworks Editor. Recently I have some trouble compiling my LaTeX code in Chinese. When I use \ref{} and compile with XeLaTeX, it shows ?? in the PDF for the first time and returns to normal only if you compile it again. Moreover, if I use \ref{} in the title of a section or a subsection while the \label{} is after the \ref{}, sometimes there will be an error the second time you compile it with XeLaTeX and the PDF will remain ?? no matter how many times you compile it. I am currently using overleaf instead to avoid the problem and I sincerely hope that you could solve it somehow. Please check the way you create the .toc file, thank you.

Looking forward to your reply.

Yours, Wang Tianqi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texworks/attachments/20210718/7802af34/attachment.html>


More information about the texworks mailing list.