1. 程式人生 > >LaTeX編譯問題——\begin{document}?

LaTeX編譯問題——\begin{document}?

問題描述

LaTeX寫文件時有時會忘記\end{...},從而提示錯誤。然而將\end{...} 補上之後,有時會提示如下的錯誤:

Runaway argument?
{beamer@subsectioni
! File ended while scanning use of \@writefile
<inserted text>
              \par
1.25 \begin{document}
?

解決方法

  1. 點選編譯按鈕左邊的垃圾箱圖示(形如),出現了下圖所示的視窗:這裡寫圖片描述
  2. 點選“Delete Now” 按鈕,然後點“OK”,到主介面再編輯,可解決問題。

    說明

    文中的問題解決方案只針對 WinEdt 編輯器。
    如有不當之處,懇請指教!