[OS X TeX] TeXShop 4.66 adds /Library/TeX/texbin parameter to every engine?
Herbert Schulz
herbs at wideopenwest.com
Wed Jul 7 11:38:59 EDT 2021
> On Jul 7, 2021, at 10:36 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>
>
>
>> On Jul 7, 2021, at 10:12 AM, Luis Fernando Sequeira <lfsequeira at gmail.com> wrote:
>>
>> Hi
>>
>> A few tests seem to show that TeXShop 4.66 passes /Library/TeX/texbin as an extra argument to each typesetting engine automatically.
>>
>>
>> I noticed it because at some point pythontex was choking on it.
>>
>> By adding an echo command to the engine, I could compare 4.64 and 4.66.
>> Where the engine argument in 4.64 was, say, Untitled.tex, in 4.66 it receives Untitled.tex /Library/TeX/texbin
>>
>> I don't know if this is intentional, it does seem strange.
>>
>> Regards
>>
>> L
>
> Howdy,
>
> See the Changes document as noted by Dick Koch.
>
> How are you typesetting using pythontex? The pythontex engine only uses the first argument. What kind of error are you getting?
>
> It is possible to use a latexmk engine along with a platexmkrc file to do that too. The one I use, along with the pdflatexmk engine, is enclose. NOTE: it must personalized for your version of python. There is a `${HOME}/opt/anaconda3/bin/python' in the setting of $pythontex which points to my version of python3 in ~/opt/anaconda3/bin/python. This has to be personalized for the python location you are using.
>
> In any case neither of the two engines uses $3 so can't get confused by it. The `space' character passed as $2 means that if your engine, like the pdflatexmk engine, uses it, should be setup so that it does no harm.
>
> Good Luck,
>
> Herb Schulz
> herbs at wideopenwest.com
Howdy,
And, of course, I forgot to attach the platexmkrc file to that message:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: platexmkrc
Type: application/octet-stream
Size: 1511 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20210707/36ff8fb0/attachment.obj>
-------------- next part --------------
Good Luck,
Herb Schulz
herbs at wideopenwest.com
More information about the MacOSX-TeX
mailing list