[OS X TeX] how imitate TeXShop's pdflatexmk from command line
Herbert Schulz
herbs at wideopenwest.com
Thu Aug 22 20:59:29 CEST 2019
Honest,
Create a latexmkrc file in the same directory as your source file containing any non-default use of makeindex.
Good Luck,
Herb Schulz
> On Aug 22, 2019, at 1:54 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>
> No, I am not using either glossaries or the old glossary package. Just nomencl for the index of notation.
>
> Given that I now am using, at the command line, separate makeindex commands...
>
> makeindex main -s main.ist -o main.nls
> makeindex names.idx -s main.ist -o names.ind
> makeindex -s main.ist main
>
> ...I don’t see what use to make of the custom dependencies in TeXShop’s latexmkrcedit. Specifically, is the custom dependency something I add to some config file for command-line use of the TeXLive latexmk?
>
>
>>> On 22 Aug2019, at 1:43 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>>>
>>> On Aug 22, 2019, at 12:21 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>>>
>>> First, a correction: with the manual process, after the 3rd run of pdflatex and before the run of makeindex, I do also have the expected file main.nlo.
>>>
>>> Realizing this, I’ve repeated the command-line process, but this time using 3 invocations of makeindex:
>>>
>>> makeindex main -s main.ist -o main.nls
>>> makeindex names.idx -s main.ist -o names.ind
>>> makeindex -s main.ist main
>>>
>>> Now after the final pdflatex run, I do get both the index of names and the main index — but still NO index of notation (nomenclature).
>>>
>>> What am I doing wrong, or what else do I need to do?
>>>
>>>> On 22 Aug2019, at 12:52 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>>>>
>>>> The dead-stop freezes of TeXShop (now version 4.31) under macOS Mojave have become utterly frustrating, making the app nearly impossible to use except as an editor: typically on my book-lenght project I cannot get more than 2 or 3 successive runs of latex without a freeze; and nearly every time a run of pdflatexmk freezes somwhere before, or in, the final pass.
>>>>
>>>> So I have to resort to running on the command line. The typical sequence would be:
>>>>
>>>> pdflatex main
>>>> bibtex main
>>>> pdflatex main
>>>> pdflatex main
>>>> makeindex -s main.ist main
>>>> pdflatex main
>>>>
>>>> My book has two indexes — an index of names and the main index — along with an index of notation (nomenclature). but I’m not getting any of them in the pdf.
>>>>
>>>> Specifically, I’m using documentclass memoir, (in case that matters) along with packages:
>>>>
>>>> repeatindex
>>>> nomencl (for which I have a nomencl.cfg)
>>>>
>>>> The glossary is supposed to be printed by command
>>>>
>>>> \printglossary[notation]
>>>>
>>>> and then the two indexes are supposed to be printed by commands:
>>>>
>>>> \printindex[names]
>>>> \printindex
>>>>
>>>> After the third run of pdflatex, I have the files:
>>>>
>>>> main.idx
>>>> names.idx
>>>> notation.idx (but empty)
>>>>
>>>> After the run of makeindex, before the final run of pdflatex, I have in addition the file
>>>>
>>>> main.ind.
>>>>
>>>> By contrast, on the rare occasions I can get TeXShop’s pdflatexmk engine to complete all passes, I have also:
>>>>
>>>> names.ind
>>>> main.nlo (for the index of notation provided by nomencl)
>>>>
>>>>
>>>> My platexmkrc file is:
>>>>
>>>> $makeindex = "makeindex -s %R.ist %O -o %D %S”;
>>>>
>>>> How should I modify the manual steps so as to accomplish the same thing as a TeXShop run of the pdflatexmk engine, showing all 3 indexes?
>>
>> Howdy,
>>
>> Please take a look at ~/Library/TeXShop/bin/latexmkrcedit and see if that helps set up dependencies and rules.
>>
>> Are you using the glossaries (or the old glossary) package to generate these files?
>>
>> Good Luck,
>>
>> Herb Schulz
>> (herbs at wideopenwest dot 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
> 503 King Farm Blvd #101 Home (240)-246-7240
> Rockville, MD 20850-6667 Mobile (413)-427-5334
>
>
> ----------- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20190822/5ba06385/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