... newer stories
Mittwoch, 17. April 2024
latex3
diegolego, 09:25h
An error - this time it goes on my account - is the following. I got the message
> File ended while scanning use of \newlabel.
and online people said it is caused by missing closing bracket. I tried so many things and it was strange because the error was a bit erratic. I even counted the frequency of characters
> grep -o . filename | sort | uniq -c
with the expectation that the number of { should be the same as the count of } - although no sufficient proof.
I then removed most of the text and kept adding paragraphs until the error occurred. However, this procedure led to inconsistent findings.
At the end I went back to the original source. Since I included the .tex file with \include{}, I had to comment out the \begin{document} and \end{document}. Precisely, the 2nd I did not do. This means there was an additional \end{document}.
> File ended while scanning use of \newlabel.
and online people said it is caused by missing closing bracket. I tried so many things and it was strange because the error was a bit erratic. I even counted the frequency of characters
> grep -o . filename | sort | uniq -c
with the expectation that the number of { should be the same as the count of } - although no sufficient proof.
I then removed most of the text and kept adding paragraphs until the error occurred. However, this procedure led to inconsistent findings.
At the end I went back to the original source. Since I included the .tex file with \include{}, I had to comment out the \begin{document} and \end{document}. Precisely, the 2nd I did not do. This means there was an additional \end{document}.
... link
... older stories