<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Le 3 août 2021 à 19:10, Hans Hagen <<a href="mailto:j.hagen@xs4all.nl" class="">j.hagen@xs4all.nl</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Courier; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">but 1350 pages for 999.999.999 is not that bad because here 10.000.000 in 12 columns and an 8pt monospaced font takes 955 pages and indeed some runtime (using context that is, latex is supposed to be faster)</span><br style="caret-color: rgb(0, 0, 0); font-family: Courier; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote></div><br class=""><div class="">Hi, only to clarify I have wrongly mentioned 999,999,999 in place of ...much much smaller 10,000,000. </div><div class=""><br class=""></div><div class="">It is for primes < 10,000,000 that my LaTeX multicols template produced a pdf of 1357 pages, 10 columns per page, primes from top to bottom.</div><div class=""><br class=""></div><div class="">(and in a private mail to you I said 100,000,000 which was again wrong, sorry for all the confusion...)</div><div class=""><br class=""></div><div class="">The pages are produced at a rythme of about 20 pages per second on my machine.</div><div class=""><br class=""></div><div class="">I launched it for 999,999,999 but CTRL-Ced it after about 16,000 pages, realizing that it would grow to probably about 100,000 pages and take for this more than one hour (this is only typesetting phase, producing a text file with the primes took about 10mns).</div><div class=""><br class=""></div><div class="">[16813] [16814] [16815] [16816] [16817] [16818^C]<br class="">! Interruption.<br class=""><argument> ...hipout_box \__shipout_drop_firstpage_specials: <br class="">                                                  \set@typeset@protect \hook...<br class=""><br class="">l.8240836 1<br class="">         46169809<br class="">? X<br class=""> 68117 words of node memory still in use:<br class="">   1021 hlist, 14 vlist, 10 rule, 506 local_par, 1 dir, 2532 glue, 4 kern, 505 <br class="">penalty, 4551 glyph, 1042 attribute, 63 glue_spec, 1042 attribute_list, 2 temp,<br class=""> 1 if_stack nodes<br class="">   avail lists: 1:1,2:8,3:493,4:1,5:14,6:490,7:6873,9:1010<br class=""></usr/local/texlive/2020/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.<br class="">otf><br class="">Output written on wheel_primestopdf_v.pdf (16818 pages, 63100748 bytes).<br class="">Transcript written on wheel_primestopdf_v.log.<br class=""><br class="">real<span class="Apple-tab-span" style="white-space:pre">  </span>14m30.727s<br class="">user<span class="Apple-tab-span" style="white-space:pre"> </span>14m12.666s<br class="">sys<span class="Apple-tab-span" style="white-space:pre">  </span>0m6.963s<br class=""><br class=""></div><div class=""><br class=""></div><div class="">The last included prime was146,169,497</div><div class=""><br class=""></div><div class="">This run was done with the primes already available in an external input « text » file (one prime per line). This external file of circa 500Mo costed last week about 10mn30s to produce on my machine (old 2Ghz ) (about 6mns to compute the prime fontdimen array, and about 5mns to convert it into the file with explicit digits).</div><div class=""><br class=""></div><div class="">The above interrupted PDF opens in my pdf viewerafter a somewhat longish wait... and I sadly discover on page 11759 that once primes exceed 100,000,000, they overlap due to there not being enough rooms in the columns. As I did not adujst appropriately the page margins...</div><div class=""><br class=""></div><div class="">Anyway, nice that I could CTRL-C the lualatex job and get a working pdf. </div></body></html>