[OS X TeX] lualatexmk engine for TeXShop?

Murray Eisenberg murrayeisenberg at gmail.com
Sat Nov 6 15:43:43 CET 2021


But the pdflatexmk engine seems to do a whole lot more than the lualatex and pdflualtex engines:

%%%% pdflatexmk.engine %%%%
#!/bin/bash
# For TeXShop 4.66+ only
export TSBIN="$HOME/Library/TeXShop/bin/tslatexmk"
export LTMKBIN="$HOME/Library/TeXShop/bin/tslatexmk"
export LTMKEDIT="$HOME/Library/TeXShop/bin"
# make sure latexmkrcedit exists in bin
if [ ! -e "${LTMKEDIT}/latexmkrcedit" ] ; then
	cp "${TSBIN}/latexmkrcDONTedit" "${LTMKEDIT}/latexmkrcedit"
fi
# Use local rc file platexmkrc if it exists. p = project
export localrc=""
if [ -e ./platexmkrc ] ; then
	export localrc="-r ./platexmkrc"
fi
"${LTMKBIN}"/latexmk -pdf -r "${LTMKEDIT}/latexmkrcedit" ${2} -r "${TSBIN}/pdflatexmkrc" ${localrc} "$1”

%%%% lualatexmk.engine %%%%
#!/bin/tcsh
set path= ($path /Library/TeX/texbin /usr/texbin /usr/local/bin)
lualatex -file-line-error -synctex=1 "$1"

> On 6 Nov2021, at 8:34 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
> 
> 
>> On Nov 5, 2021, at 8:16 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> 
>> Is there somewhere available a “lualatexmk.engine” that is for LuaLaTeX the analog of pdflatexmk?
>> 
>> ---
>> Murray Eisenberg		murrayeisenberg at gmail.com
>> Mobile (413)-427-5334
>> 503 King Farm Blvd #101		
>> Rockville, MD 20850-6667	
> 
> Howdy,
> 
> There are the latest versions of the (pdf/xe/lua)latex engines in ~/Library/TeXShop/Engines/Inactive/Latexmk. Just Copy the ones you you want to activate two folders up to ~/Library/TeXShop/Engines to activate them (actually the pdflatexmk engine is active by default). You will have to restart TeXShop to have them on the popup typeset list on the Source Window toolbar. They DON'T show up under the Typeset Menu!
> 
> Good Luck,
> 
> Herb Schulz
> herbs at wideopenwest.com
> 
> 
> ----------- 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

---
Murray Eisenberg		murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101		
Rockville, MD 20850-6667	





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20211106/db35c9a0/attachment.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.