[texshop] How use Carlisle's "mylatex" package with TeXShop?
Murray Eisenberg
murrayeisenberg at gmail.com
Sat Dec 5 20:59:37 CET 2020
So if my format file is named, say, “mydoc.fmt”, should the value of “format_name” be “mydoc.fmt” or just “mydoc” ?
> On 5 Dec2020, at 10:56 AM, Gary L. Gray <glgray at me.com> wrote:
>
> Put the .fmt file in:
>
> ~/Libarary/texmf/web2c/
>
> Then, at the top of the file you want to typeset with that format, include the following line:
>
> %!TEX TS-program = format_name
>
> Gary
>
>> On Dec 5, 2020, at 10:47 AM, Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> wrote:
>>
>> David Carlisle has a LaTeX package “mylatex” that allows one to create from a document source a special format executing everything from the source’s preamble. See “texdoc mylatex” and https://github.com/davidcarlisle/dpctex/tree/master/mylatex <https://github.com/davidcarlisle/dpctex/tree/master/mylatex> .
>>
>> Once the package has been used to create the specialized .fmt, one would use it from the command line like this:
>>
>> pdflatex "&mylatex” doc
>>
>> where doc is the name of the .tex source file.
>>
>> How can the existing TeXShop engines latex and pdflatexmk be modified so as to use the new format?
>>
>> I want to do this with a book-length document whose preamble loads a great number of packages, so as to speed up the typeset time on each run, but do this still within TeXShop rather than the command line.
>> ---
>> Murray Eisenberg murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
>> 503 King Farm Blvd #101
>> Rockville, MD 20850-6667 Mobile (413)-427-5334
>>
>>
>
---
Murray Eisenberg murrayeisenberg at gmail.com
503 King Farm Blvd #101
Rockville, MD 20850-6667 Mobile (413)-427-5334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texshop/attachments/20201205/69325238/attachment.html>
More information about the texshop
mailing list.