<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="">I “precompiled” using the mylatexformat (rather than mylatex) package.<div class=""><br class=""></div><div class="">Curious that <div class=""><br class=""></div><div class=""><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>% !TEX program = pdflatexmk </font></div><div class=""><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>% !TEX parameter = -fmt fmtname   </font>[with just the form name or with extension name.fmt]</div><div class=""><br class=""></div><div class="">which you report worked for you, did NOT work for me if I tried to typeset using the latex engine choice from the menu button.</div><div class=""><br class=""></div><div class="">On the other hand, either</div><div class=""><br class=""></div><div class=""><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre">  </span>%&fmtname </font>      [format file name with NO extension]</div><div class=""> </div><div class="">alone or </div><div class=""><br class=""></div><div class=""><div class=""><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>%&fmtname</font></div><div class=""><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>%!TEX TS-program = fmtname</font></div></div><div class=""><div><br class=""></div><div>did work.</div><div><br class=""></div><div>However,</div><div><br class=""></div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>%!TEX TS-program = fmtname</font></div><div><br class=""></div><div>alone did NOT work.</div><div><br class=""></div><div>What could adcount for the discrepancy between our two situations?<br class=""><blockquote type="cite" class=""><div class="">On 6 Dec2020, at 9:26 AM, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><blockquote type="cite" class="">On Dec 5, 2020, at 2:05 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:<br class=""><br class="">(1) Does <br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>% !TEX parameter = "&mylatex”<br class=""><br class="">refer to making the fmt file, or typesetting runs after making the fmt file?<br class=""></blockquote><br class="">Howdy,<br class=""><br class="">That is for the typesetting run and once you have the .fmt file you can name it anything you want.<br class=""><br class="">Also, that didn't seem to work for me but using<br class=""><br class="">% !TEX program = pdflatexmk<br class="">% !TEX parameter = -fmt fmtname<br class=""><br class="">(where fmtname is the name of your fmtname.fmt file which should be in the same folder as your .tex document or ~/Library/texmf/web2c) does seem to work.<br class=""><br class=""><blockquote type="cite" class=""><br class="">(2) It turns out I have to use the package mylatexformat rather than mylatex in order to successfully compile a fmt file from my source’s preamble.<br class=""><br class="">In that case, do I correctly assume that I just change “&mylatex” to “&mylatexformat”?<br class=""><br class="">I note that <a href="https://tex.stackexchange.com/a/377033/13492" class="">https://tex.stackexchange.com/a/377033/13492</a> gives instead the instruction to put the line<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">     </span>%&foo<br class=""><br class="">at the top of my source named foo during typesetting runs (after I created the .fmt).<br class=""><br class=""></blockquote><br class="">I'm not familiar with that but, if it works you can remove the `parameter' directive for TeXShop. It sounds like the %& is a special directive for pdflatex.<br class=""><br class="">Good Luck,<br class=""><br class="">Herb Schulz<br class=""><a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a><br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span><br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">     </span>Mobile (413)-427-5334<br class=""><br class=""></div>
</div>

<br class=""></div></div></body></html>