[OS X TeX] Can I process a dtx file with TeXShop's dtxmk engine and LuaLaTeX?

Joe Heafner heafnerj at gmail.com
Mon Oct 19 23:42:04 EDT 2020


I maintain the mandi package and it’s currently being rewritten to support Unicode, mainly for mathematics. The documentation will necessarily need to be be compiled with lualatex, and so will documents using the new version of the package. The latter part is easy for me to handle, but I have some questions about the first part.

I use a single dtx file from which the actual package and documentation and a few other files are derived all in one run using TeXShop’s dtxmk engine. Does the dtxmk engine need any modifications to “know” to use LuaLaTeX on the dtx file? Do I need to do anything in particular in the dtx file? I see the file ~/Library/TeXShop/Engines/Inactive/Latexmk/platexmkrc samples/for dtx/info.txt says to put 

% !TEX TS-program = pdflatexmk 

directly after the first line of the dtx document, but my dtx file has dtxmk instead. 

So, what should I do to make sure my dtx file is processed with LuaLaTex?

I hope this all made sense.

Joe Heafner
Sent from one of my Macs




More information about the MacOSX-TeX mailing list