I have a big issue with project compilation. Instead of "concentrating on getting the right content", I've spend several days on getting the project compiled. My project deadline is near, and I would appreciate any help.
I work with Overleaf and I liked its' interface and it is easy to use. I have a big project. I can compile it by parts, but I can't compile the whole project since Overleaf applies compilation time limitation even for paying customers. I tried all suggested tricks, but it didn't help: Fixing and preventing compile timeouts.
I've made an attempt to compile the project locally on my computer (Windows). I installed TeX Live. Again, I can compile the project by parts, but I can't compile the whole project. I receive the following error:
Unable to read an entire line---bufsize=200000.
Please increase buf_size in texmf.cnf.
I tried to increase the buf_size by running on the Windows cmd:
buf_size=100000 pdflatex main.tex
As proposed in this StackExchange thread
But I get an error:
'buf_size' is not recognized as an internal or external command, operable program or batch file.
Then, I changed texmf.cnf file by adding:
main_memory = 7000000
As proposed in this StackExchange thread. But when I run in cmd:
sudo fmtutil-sys --all
I get the following error:
'sudo' is not recognized as an internal or external command, operable program or batch file.
I have no idea how to compile the project. I worked on it for several months. I will appreciate any assistance.
Best regards, Alex.
sudois a linux command do not use that on windows – David Carlisle Jan 28 '24 at 20:58fmtutil-sys --all(nosudo) but first check your tex coding that you are not in an infinite loop that will use up the buffer however large you make it. – David Carlisle Jan 28 '24 at 21:04fmtutil-sys --all" --- post a follow-up if it doesn't work. It appears many people don't use Windows here – user202729 Jan 28 '24 at 21:45fmtutil-sys --allbut I get the same error after the compilation. What does it mean "a single line of input"? I think that I am missing something. – ab3001 Jan 28 '24 at 22:04buf_size=700000instead? – user202729 Jan 28 '24 at 22:16