Texmaker and TeXstudio ⇒ Slow Compilation and Freeze
Slow Compilation and Freeze
I'm using MikTeX 2.9, TeXMaker 3.3.4 (May 2012) and compiling with PdfLatex.
I have several problems with the speed of certain actions when writing in TeXMaker. Firstly, it takes one and a half minute (90 secs) to compile my document (80 pages, and several images, eps to pdf), and even compiling small documents also takes forever. This is estremely annoying and takes all my time.
I also have problems with simples things such as opening .tex files and writing arguments to commands (e.g. \section{argument}). Opening files takes quite a long time, and writing indside the paranthesis of any command makes TeXMaker freeze, and take several minutes to even just display the text which I've typed. Commenting command lines and then type in the argument works though, however, it also takes quite a while just placing the '%' in front of the command.
I've attached the .log-file from compiling my document.
Any suggestions on how to speed things up!?
- Attachments
-
- MASTER.log
- (101.94 KiB) Downloaded 628 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Slow Compilation and Freeze
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Slow Compilation and Freeze
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Slow Compilation and Freeze
Is a log file produced by only a preamble? An appropriate source would be a proper minimal example. In your case this could be difficult. I'd suggest that you build the smallest possible document to test if TeXmaker still works slowly and to look at the compilation speed. Compile as well on the command line and compare. Sometimes a restart either of the software or of the operating system can help.DavidH wrote:By producing source code, do you then mean my preamble?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Slow Compilation and Freeze
However, at the moment I am stuck with it (at least until I submit - in two weeks) becasue it is free, and provides decent suport for unicode, all flavours of latex, latexmk AND biblatex. I have yet to find another editor (free or otherwise) which can do all this without having to make user modifications or kludges.
We should be careful in separating the slowness of the opperation of Texmaker from any slow compilation. In my experience, the editor has very little influence on compilation speed, and it is more likely to be a compiler isssue (if it is an issue at all). By the same token a MWE and logfile MIGHT help diagnose slow compilation issues, but it will be useles in diagnosing problems with the editor.
To give the backgroudn to my situation:
I run Texmaker on Win XP with Miktex 2.9.
For my thesis I use xelatex, run from a latexmk command. This is extremely slow to compile, and the output file is too large for my liking. However from what I understnad xelatex is ususally a lot slower (someone shuould correct me on this if I am wrong). I use xelatex becasue I like the look of the fonts I'm using and unicode is handy to me.
However, because most publishing houses are backward (Elsevier that means you!), I need to write papers using plain latex. Using this mode of compilation is lightning fast compared to xelatex for the same sized document (~10 pages 2 column with figures).
Slow Compilation and Freeze
- Go to options -> Configure TeXmaker,
- Select the "Editor" pane,
- UN-check the box marked "Check for external changes".
If you need to update the keys list the best thing to do is to click "Edit -> Refresh Bibliography" whenever you make a change to the bibliography.