<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="">On 4 Jul2020, at 1:32 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class="Apple-interchange-newline">On 4 Jul2020, at 1:23 PM, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">On Jul 4, 2020, at 12:15 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:<br class=""><br class="">I think I need to switch from pdfLaTeX to XeLaTeX, to avoid various patches required, e.g., between babel and some other packages (including cleveref).<br class=""><br class="">For the TeXShop pdflatexmk engine, in my document source directory I use the following platexmkrc:<br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>$makeindex = "makeindex -s %R.ist %O -o %D %S”;<br class=""><br class="">and the following latexmkrc:<br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span># latexmkrc<br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span># Custom dependency and function for nomencl package<br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>add_cus_dep('nlo', 'nls', 0, 'makenlo2nls');<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-converted-space"> </span>sub makenlo2nls {<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-converted-space"> </span>system("makeindex -s nomencl.ist -o '$_[0]'.nls '$_[0]'.nlo");<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-converted-space"> </span>}<br class=""><br class="">Do these need to be modified in any way, or do I need some kind of alternative files, so as to allow using the xelatexmk engine?<br class=""><br class=""></blockquote><br class="">Look in ~/Library/TeXShop/Engines/Inactive/Latexmk (you can open ~/Library/TeXShop using the TeXShop->Open ~/Library/TeXShop Menu Command). There you'll find a xelatexmk.engine file (along with latexmk.engine for using latex->dvips->ps2pdf and lualatexmk,engine for using lualatex). Just copy that engine (or those engines) up two levels to ~/Library/TeXShop/Engines and re-start TeXShop. Then you can use xelatexmk in the TeXShop directive<br class=""><br class="">% !TEX program = xelatexmk<br class=""><br class="">(or<br class=""><br class="">% !TEX TS-program = xelatexmk<br class=""><br class="">to get latexmk to use xelatex.<br class=""><br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; 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=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; 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=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; 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="">Yes, I understand about the engine, but that wasn’t my concern. It was whether the same platexmkrc and latexmkrc will work as is, or whether they need to be modified or whether similar files with different names are needed.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; 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=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; 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><div class=""><br class=""></div>Sorry, I didn’t see your additional answer, saying that the same platexmkrc will work with XeLaTeX.<div class=""><br class=""></div><div class="">What about my latexmkrc? Still the same?</div><div class=""><br class=""><div 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>Home (240)-246-7240<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>
<br class=""></div></body></html>