Re: Quicker build
On 2019-04-22 09:54, Jürgen Spitzmüller wrote: Am Montag, den 22.04.2019, 09:49 +0200 schrieb Daniel: I am excluding all children except the one I am working on via Document > Settings > Child Documents without maintaining references. Surprisingly, this does not cut down on compile time. It takes 1.5 minutes on a 2.2 GHz Core i7 with 16 GB 1600 MHz DDR3 and SSD (MacBook Pro). However, this is only a computer I just borrowed. My working machine is much weaker: Intel m3 from 2015 (900 MHz, 4 GB RAM). Do you have tikz/pgf graphics? This eats much time. If so, see the tikz manual, section 110 [sic!] ("Externalizing Graphics") for workarounds. Jürgen Yes, I have pgfplots. Before going into externalizing those graphics (which I found in section 111 [sic!]), I just the library and graphics completely as a test. Unfortunately, there was no noticable change in typesetting time. Daniel
Re: Quicker build
Am Montag, den 22.04.2019, 09:49 +0200 schrieb Daniel: > I am excluding all children except the one I am working on via > Document > > Settings > Child Documents without maintaining references. > Surprisingly, this does not cut down on compile time. It takes 1.5 > minutes on a 2.2 GHz Core i7 with 16 GB 1600 MHz DDR3 and SSD > (MacBook > Pro). However, this is only a computer I just borrowed. My working > machine is much weaker: Intel m3 from 2015 (900 MHz, 4 GB RAM). Do you have tikz/pgf graphics? This eats much time. If so, see the tikz manual, section 110 [sic!] ("Externalizing Graphics") for workarounds. Jürgen signature.asc Description: This is a digitally signed message part
Re: Quicker build
On 2019-04-22 01:55, Dr Eberhard Lisse wrote: I have a project of 15 LyX files and one common Tex include file. The complete (master) document takes between 70 and 75 seconds. If I just compile the most complicated child document it takes 20 seconds. The least complicated document (a placeholder of one page without any images or references) takes 12 second. All of course in LuaLaTeX which is much slower than PDFLaTeX. I am finding that it doesn't make that much difference. I am quite sure that the references don't make much of a difference. I am using PDFLaTeX and each child document takes about 1.5 minutes on Core i7. However, my work computer is much weaker: m3 from 2015. There it takes a couple of minutes to compile. However, if I was doing a lot of complicated equation stuff and the waiting were really to bother me, I would devise a file which has the same formatting as the master document (by way of a tex include file) and design the equation in that file, akin to a Minimal Working Example. I am sure that would compile quickly, and once the equations looks right, just cut and paste into the proper document. What would be very interesting is to compile a LaTeX benchmark document on the computer you are using. https://www.complang.tuwien.ac.at/anton/latex-bench/ gives me on MacOs 10.14.4 MacBook 12", 2017, 16GB, 1.4 GHz Intel Core i7 pdflatex: 0m0.844s lualatex: 0m2.974s MacPro, Late 2013, 48 GB, 3.5 Ghz 6core Xeon E5 pdflatex: 0m0.526s lualatex: 0m2.312s iMac, Late 2015, 32GB, 3.3 GHz, Intel Core i5 pdflatex: 0m0.513s lualatex: 0m1.866s and on Ubuntu 18.04.2 LTS Proline 2011, 2GB, 2.80GHz, Pentium Dual-Core pdflatex: 0m0.718s lualatex: 0m3.404s el I'll try to run this on my work computer tomorrow and see what it gives me. Daniel
Re: Quicker build
On 2019-04-22 08:00, Andrew Parsloe wrote: On 22/04/2019 5:53 AM, Scott Kostyshak wrote: On Sun, Apr 21, 2019 at 10:09:34AM +0200, Daniel wrote: On 2019-04-20 19:21, Scott Kostyshak wrote: On Sat, Apr 20, 2019 at 03:51:11PM +0200, Daniel wrote: Hi, My manuscript takes very long to fully compile, a couple of minutes. I have already tried to only compile parts of it but there was not much difference. Since LaTeX is running several rounds in order to get all the references and such right, is there a way to get LyX to run less rounds? You can define your own converter. See Help > Customization. Scott Thanks! It's a bit sparse on information what I would have to set there to achieve what I am after though. Any ideas welcome. It's been a long time since I've made a custom converter, so I don't know off-hand. Does it do what you want if you remove "latex=pdflatex" in the converter flag for the converter LaTeX (pdflatex) -> PDF (pdflatex)? (if you use something other than pdfLaTeX, adapt accordingly). Scott My usual method of reducing compile time while working on a master-child document is, in the master document, to put the include statements for the child documents into branches and to activate/deactivate these as desired. Of course the table of contents is truncated and references are reduced to (??) but it does speed things up if you want to check on the appearance of the part you are working on. Andrew I am excluding all children except the one I am working on via Document > Settings > Child Documents without maintaining references. Surprisingly, this does not cut down on compile time. It takes 1.5 minutes on a 2.2 GHz Core i7 with 16 GB 1600 MHz DDR3 and SSD (MacBook Pro). However, this is only a computer I just borrowed. My working machine is much weaker: Intel m3 from 2015 (900 MHz, 4 GB RAM). Daniel