<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 27 March 2016 at 04:50, Nasser M. Abbasi <span dir="ltr"><<a href="mailto:nma@12000.org" target="_blank">nma@12000.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 3/26/2016 5:44 PM, Karl Berry wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
     I have many many latex files this large<br>
<br>
Is the one you provided already one of the smaller ones?  The smaller<br>
the file that still exhibits the problem, the easier to debug.<br>
<br>
</blockquote>
<br></span>
The file I put a link to is an average size Latex file. I have some larger.<br>
I picked this one since it showed the problem clearly.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
     given that lualatex takes one hr or so.<br>
<br>
Oh, lualatex is another important part of the story.  LuaTeX is already<br>
significantly slower than standard TeX (or XeTeX), and depending on what<br>
your document is doing, we may be hitting some kind of new/unusual<br>
slowdown that is specific to luatex.  Must you use luatex?<br>
<br>
</blockquote>
<br></span>
Sorry, I meant lualatex takes one hr for _all_ the files (I have about<br>
50-60 files like this one for this one test). I did not mean it<br>
takes one hr for this one file.<br>
<br>
Just to be clear: For the specific file I posted<br>
<br>
  <a href="http://12000.org/tmp/032616/" rel="noreferrer" target="_blank">http://12000.org/tmp/032616/</a><br>
<br>
pdflates and lualatex take about 2-3 minutes to compile the above file,<br>
on native linux on new PC.  Even on Vbox and cygwin, pdflatex and lualatex<br>
as really fast. Not more than 4-5 minutes at most on this file.<br></blockquote><div><br></div><div><div class="gmail_default" style="color:rgb(51,102,255);display:inline">​<font face="monospace, monospace">Hi Nasser,</font></div></div><div><div class="gmail_default" style="color:rgb(51,102,255);display:inline"><span style="font-family:monospace,monospace">I have TL 2013 on i5 machine with 8GB RAM on Ubuntu 12.04.</span></div></div><div><div class="gmail_default" style="color:rgb(51,102,255);display:inline"><span style="font-family:monospace,monospace"><br></span></div></div><div><font face="monospace, monospace"><div class="gmail_default" style="color:rgb(51,102,255);display:inline">I have downloaded the files and tested by unloading some packages you have provided and found that the package "<b>titlesec</b>" is slowing down the compilation when you go through tex4ht (make4ht). I have commented it on <b>my_core.tex</b> and executed your <b>compile.sh. </b>The process is now faster. Could you please check this.</div></font></div><div><font face="monospace, monospace"><div class="gmail_default" style="color:rgb(51,102,255);display:inline"><br></div></font></div><div><div class="gmail_default" style="color:rgb(51,102,255)"><font face="monospace, monospace">​I have not gone in detail on what is causing the problem in '<b>titlesec'</b> package on tex4ht.​</font></div><font face="monospace, monospace"><br></font></div><div><div class="gmail_default" style="color:rgb(51,102,255)"><font face="monospace, monospace">​Regards</font></div><div class="gmail_default" style="color:rgb(51,102,255)"><font face="monospace, monospace">Jagath AR​</font></div></div></div><br></div></div>