TeXShop 4.43 ignorint .ist ?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

TeXShop 4.43 ignorint .ist ?

Murray Eisenberg
Since updating to TeXShop 4.43, if I run pdflatexmk on a source, it seems to be ignoring the corresponding index style file (.ist).

For example, the following source doindex.tex should separate all the “A” entries, all the “B” entries, and so on with hadings “A”, “B”, etc. — but when I process this with TeXShop’s pdflatexmk, those headings are NOT appearing.

By contrast, if at a Terminal command line I run

pdflatex doindex.tex
makeindex -s doindex.ist doindex.idx
pdflatex doindex.tex

then I DO get the expected “A”, “B”, etc. headings.

What could be wrong suddenly?

\documentclass{memoir}

\begin{filecontents}{doindex.ist}
headings_flag 1
heading_prefix "{\\textbf{"
heading_suffix "}}\\nopagebreak\n"
\end{filecontents}

\makeindex

\begin{document}

Some text.\index{Apple}\index{Apricot}\index{Avocado}\index{Banana}
\index{Bilberry}\index{Blackberry}\index{Blackcurrant}\index{Blueberry}
\index{Currant}\index{Cherry}\index{Cherimoya}\index{Clementine}
\index{Date}\index{Damson}\index{Dragonfruit}\index{Durian}
\index{Eggplant}\index{Elderberry}\index{Feijoa}\index{Gooseberry}
\index{Grape}\index{Grapefruit}\index{Guava}\index{Huckleberry}
\index{Jackfruit}\index{Jambul}\index{Kiwi fruit}\index{Kumquat}
\index{Legume}\index{Lemon}\index{Lime}\index{Lychee}\index{Mandarine}
\index{Mango}\index{Melon}\index{Nectarine}\index{Orange}\index{Peach}
\index{Pear}\index{Pitaya}\index{Physalis}\index{Plum}\index{Pineapple}
\index{Pomegranate}\index{Purple Mangosteen}\index{Raisin}\index{Raspberry}
\index{Rambutan}\index{Redcurrant}\index{Salal berry}\index{Satsuma}
\index{Star fruit}\index{Strawberry}\index{Tangerine}\index{Tomato}
\index{Ugli fruit}\index{Watermelon}\index{Ziziphus mauritiana}

\printindex

\end{document}
---
Murray Eisenberg [hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: TeXShop 4.43 ignorint .ist ?

Herbert Schulz
> On Oct 20, 2019, at 7:55 PM, Murray Eisenberg <[hidden email]> wrote:

>
> Since updating to TeXShop 4.43, if I run pdflatexmk on a source, it seems to be ignoring the corresponding index style file (.ist).
>
> For example, the following source doindex.tex should separate all the “A” entries, all the “B” entries, and so on with hadings “A”, “B”, etc. — but when I process this with TeXShop’s pdflatexmk, those headings are NOT appearing.
>
> By contrast, if at a Terminal command line I run
>
> pdflatex doindex.tex
> makeindex -s doindex.ist doindex.idx
> pdflatex doindex.tex
>
> then I DO get the expected “A”, “B”, etc. headings.
>
> What could be wrong suddenly?
>
> \documentclass{memoir}
>
> \begin{filecontents}{doindex.ist}
> headings_flag 1
> heading_prefix "{\\textbf{"
> heading_suffix "}}\\nopagebreak\n"
> \end{filecontents}
>
> \makeindex
>
> \begin{document}
>
> Some text.\index{Apple}\index{Apricot}\index{Avocado}\index{Banana}
> \index{Bilberry}\index{Blackberry}\index{Blackcurrant}\index{Blueberry}
> \index{Currant}\index{Cherry}\index{Cherimoya}\index{Clementine}
> \index{Date}\index{Damson}\index{Dragonfruit}\index{Durian}
> \index{Eggplant}\index{Elderberry}\index{Feijoa}\index{Gooseberry}
> \index{Grape}\index{Grapefruit}\index{Guava}\index{Huckleberry}
> \index{Jackfruit}\index{Jambul}\index{Kiwi fruit}\index{Kumquat}
> \index{Legume}\index{Lemon}\index{Lime}\index{Lychee}\index{Mandarine}
> \index{Mango}\index{Melon}\index{Nectarine}\index{Orange}\index{Peach}
> \index{Pear}\index{Pitaya}\index{Physalis}\index{Plum}\index{Pineapple}
> \index{Pomegranate}\index{Purple Mangosteen}\index{Raisin}\index{Raspberry}
> \index{Rambutan}\index{Redcurrant}\index{Salal berry}\index{Satsuma}
> \index{Star fruit}\index{Strawberry}\index{Tangerine}\index{Tomato}
> \index{Ugli fruit}\index{Watermelon}\index{Ziziphus mauritiana}
>
> \printindex
>
> \end{document}
Howdy,

Are you sure you weren't using a platexmkrc file to tell latexmk how to call makeindex? I don't see how it's supposed to know that you are using that ist file.

E.g., I typeset your file (I called it test.tex) an noted that latexmk ran
-----------
Running 'makeindex  -o "test.ind" "test.idx"'
-----------

I then created a platexmkrc file that simply defined $makeindex as
-----------
$makeindex = "makeindex -s doindex.ist %O -o %D %S";
-----------

and got
-----------
Running 'makeindex -s doindex.ist  -o "test.ind" "test.idx"'
-----------




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

platexmkrc (54 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: TeXShop 4.43 ignorint .ist ?

Murray Eisenberg
As I was falling asleep last night, I remembered that thing called platexmkrc!  Yes, I had forgotten to copy over my platexmkrc to the test-file folder. My platexmkrc consists of the single line:

$makeindex = "makeindex -s %R.ist %O -o %D %S”;

Now everything is fine. I had forgotten that the user’s intervention was required for this and that the above line was not built into the pdflatexmk engine already.

Thanks for the confirmation.

On 20 Oct2019, at 9:21 PM, Herbert Schulz <[hidden email]> wrote:

On Oct 20, 2019, at 7:55 PM, Murray Eisenberg <[hidden email]> wrote:

Since updating to TeXShop 4.43, if I run pdflatexmk on a source, it seems to be ignoring the corresponding index style file (.ist).

For example, the following source doindex.tex should separate all the “A” entries, all the “B” entries, and so on with hadings “A”, “B”, etc. — but when I process this with TeXShop’s pdflatexmk, those headings are NOT appearing.

By contrast, if at a Terminal command line I run

pdflatex doindex.tex
makeindex -s doindex.ist doindex.idx
pdflatex doindex.tex

then I DO get the expected “A”, “B”, etc. headings.

What could be wrong suddenly?

\documentclass{memoir}

\begin{filecontents}{doindex.ist}
headings_flag 1
heading_prefix "{\\textbf{"
heading_suffix "}}\\nopagebreak\n"
\end{filecontents}

\makeindex

\begin{document}

Some text.\index{Apple}\index{Apricot}\index{Avocado}\index{Banana}
\index{Bilberry}\index{Blackberry}\index{Blackcurrant}\index{Blueberry}
\index{Currant}\index{Cherry}\index{Cherimoya}\index{Clementine}
\index{Date}\index{Damson}\index{Dragonfruit}\index{Durian}
\index{Eggplant}\index{Elderberry}\index{Feijoa}\index{Gooseberry}
\index{Grape}\index{Grapefruit}\index{Guava}\index{Huckleberry}
\index{Jackfruit}\index{Jambul}\index{Kiwi fruit}\index{Kumquat}
\index{Legume}\index{Lemon}\index{Lime}\index{Lychee}\index{Mandarine}
\index{Mango}\index{Melon}\index{Nectarine}\index{Orange}\index{Peach}
\index{Pear}\index{Pitaya}\index{Physalis}\index{Plum}\index{Pineapple}
\index{Pomegranate}\index{Purple Mangosteen}\index{Raisin}\index{Raspberry}
\index{Rambutan}\index{Redcurrant}\index{Salal berry}\index{Satsuma}
\index{Star fruit}\index{Strawberry}\index{Tangerine}\index{Tomato}
\index{Ugli fruit}\index{Watermelon}\index{Ziziphus mauritiana}

\printindex

\end{document}

Howdy,

Are you sure you weren't using a platexmkrc file to tell latexmk how to call makeindex? I don't see how it's supposed to know that you are using that ist file.

E.g., I typeset your file (I called it test.tex) an noted that latexmk ran
-----------
Running 'makeindex  -o "test.ind" "test.idx"'
-----------

I then created a platexmkrc file that simply defined $makeindex as
-----------
$makeindex = "makeindex -s doindex.ist %O -o %D %S";
-----------

and got
-----------
Running 'makeindex -s doindex.ist  -o "test.ind" "test.idx"'
-----------

<platexmkrc>

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 [hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: TeXShop 4.43 ignorint .ist ?

Herbert Schulz
> On Oct 21, 2019, at 7:48 AM, Murray Eisenberg <[hidden email]> wrote:
>
> As I was falling asleep last night, I remembered that thing called platexmkrc!  Yes, I had forgotten to copy over my platexmkrc to the test-file folder. My platexmkrc consists of the single line:
>
> $makeindex = "makeindex -s %R.ist %O -o %D %S”;
>
> Now everything is fine. I had forgotten that the user’s intervention was required for this and that the above line was not built into the pdflatexmk engine already.
>
> Thanks for the confirmation.
>

Howdy,

If you ALWAYS build your own .ist file you can add that line to the ~/Library/TeXShop/bin/latexmkrcedit file which is read in by all of the latexmk engines.

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
Reply | Threaded
Open this post in threaded view
|

Re: TeXShop 4.43 ignorint .ist ?

Murray Eisenberg

On 21 Oct2019, at 9:05 AM, Herbert Schulz <[hidden email]> wrote:

>
>> On Oct 21, 2019, at 7:48 AM, Murray Eisenberg <[hidden email]> wrote:
>>
>> As I was falling asleep last night, I remembered that thing called platexmkrc!  Yes, I had forgotten to copy over my platexmkrc to the test-file folder. My platexmkrc consists of the single line:
>>
>> $makeindex = "makeindex -s %R.ist %O -o %D %S”;
>>
>> Now everything is fine. I had forgotten that the user’s intervention was required for this and that the above line was not built into the pdflatexmk engine already.
>>
>> Thanks for the confirmation.
>>
>
> Howdy,
>
> If you ALWAYS build your own .ist file you can add that line to the ~/Library/TeXShop/bin/latexmkrcedit file which is read in by all of the latexmk engines.

OK — good to know (and probably somewhere in the docs?)

I was afraid that an alteration of a file in ~/Library/TeXShop/bin might not get preserved across version updates.

Murray

---
Murray Eisenberg [hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: TeXShop 4.43 ignorint .ist ?

Herbert Schulz
> On Oct 21, 2019, at 8:51 AM, Murray Eisenberg <[hidden email]> wrote:
>
>
> On 21 Oct2019, at 9:05 AM, Herbert Schulz <[hidden email]> wrote:
>>
>>> On Oct 21, 2019, at 7:48 AM, Murray Eisenberg <[hidden email]> wrote:
>>>
>>> As I was falling asleep last night, I remembered that thing called platexmkrc!  Yes, I had forgotten to copy over my platexmkrc to the test-file folder. My platexmkrc consists of the single line:
>>>
>>> $makeindex = "makeindex -s %R.ist %O -o %D %S”;
>>>
>>> Now everything is fine. I had forgotten that the user’s intervention was required for this and that the above line was not built into the pdflatexmk engine already.
>>>
>>> Thanks for the confirmation.
>>>
>>
>> Howdy,
>>
>> If you ALWAYS build your own .ist file you can add that line to the ~/Library/TeXShop/bin/latexmkrcedit file which is read in by all of the latexmk engines.
>
> OK — good to know (and probably somewhere in the docs?)
>
> I was afraid that an alteration of a file in ~/Library/TeXShop/bin might not get preserved across version updates.
>
> Murray

Howdy,

The ~/Library/TeXShop/bin/latexmkrcedit file is initially (i.e., if it doesn't already exist) a copy of ~/Library/TeXShop/bin/tslatexmk/latexmkrcDONTedit and is meant to have any universal (i.e., used by all the latexmk based engines) changes.

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