[OS X TeX] Configuring TeXShop to use XeLaTeX instead of pdfLaTeX
Murray Eisenberg
murrayeisenberg at gmail.com
Sat Jul 4 19:34:05 CEST 2020
> On 4 Jul2020, at 1:32 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>
>>
>> On 4 Jul2020, at 1:23 PM, Herbert Schulz <herbs at wideopenwest.com <mailto:herbs at wideopenwest.com>> wrote:
>>
>>> On Jul 4, 2020, at 12:15 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>>>
>>> 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).
>>>
>>> For the TeXShop pdflatexmk engine, in my document source directory I use the following platexmkrc:
>>>
>>> $makeindex = "makeindex -s %R.ist %O -o %D %S”;
>>>
>>> and the following latexmkrc:
>>>
>>> # latexmkrc
>>> # Custom dependency and function for nomencl package
>>> add_cus_dep('nlo', 'nls', 0, 'makenlo2nls');
>>> sub makenlo2nls {
>>> system("makeindex -s nomencl.ist -o '$_[0]'.nls '$_[0]'.nlo");
>>> }
>>>
>>> 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?
>>>
>>
>> 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
>>
>> % !TEX program = xelatexmk
>>
>> (or
>>
>> % !TEX TS-program = xelatexmk
>>
>> to get latexmk to use xelatex.
>>
>
>
> 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.
>
Sorry, I didn’t see your additional answer, saying that the same platexmkrc will work with XeLaTeX.
What about my latexmkrc? Still the same?
---
Murray Eisenberg murrayeisenberg at gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20200704/e544a1d7/attachment-0001.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.