When I start with a small program I have no problems with the begin{document} and end{document} statements. When I add another 7000 lines of code, still no problems. When I add about 10000 lines I loose all control over the begin- and end{document} statements. The moment I try to put the cursor on one of these two lines the text file shuts down and even TEXmaker shuts down. When I want to put the cursor on these two lines, the cursor is not visible. When I restart TEXmaker the program that shut down is not visible in the list of ''recently opened''. Hope anyone can help.
Asked
Active
Viewed 152 times
\input{..}each section. – David Carlisle Dec 17 '19 at 11:02\begin{...}statement, your editor automatically highlights the corresponding\end{..}statement (or vice versa). This means it has to parse all the lines in between. 10000 is probably the upper limit where either your computer or the program itself can't handle it anymore. As others said, your best option is to split the big file into multiple smaller ones and use\inputor\include. – Disenchanted Lurker Dec 17 '19 at 11:53