The detailed error information

!undefined control sequence
\@markboth -> \ttl@savemark 

1.1 \begin{thebibliography}{100}
  • 1
    Welcome to TeX.SX. Can you post a short but compilable code example that reproduces the error message?
    – Johannes_B
    May 9, 2019 at 6:28
  • 2
    That macro is from package titlesec. Load that package or delete all helper files of your document (all files except the <file>.tex. And then run the document again.
    – user187802
    May 9, 2019 at 6:31
  • Is there any news here?
    – Johannes_B
    May 19, 2019 at 6:19
  • Thanks for your solution. I think the problem comes from package titleesec. I downloaded that package from website again and deleted all other helper files and it did not work. Actually it is pretty weird. I used to be able to compile the tex file but got this error after one month without any changes.
    – Xin Bai
    May 21, 2019 at 4:34
  • BTW, I am using titlesec.sty version 2.10.2. I do not see \gobbletwo defined inside. Should I try another version?
    – Xin Bai
    May 21, 2019 at 4:55

1 Answer 1


In my case, it is the fault of IEEEtran.cls. The fix in main.tex, is to commenting \section*{References} and replace it with \newcommand*{\refname}{References} solve the problem.

% \section*{References}


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .