[OS X TeX] Still no short table of contents

Manuel libros2 at limay.de
Sun Sep 27 05:05:53 EDT 2015



Am 27/9/15 um 9:17 schrieb Manuel:
>
>
> Am 27/9/15 um 9:15 schrieb Manuel:
>>
>>
>> Am 27/9/15 um 8:20 schrieb Doris Behrendt:
>>> using koma script would solve your problems, but you would have to 
>>> dive into the doc that could take some time
>>>
>>> d
>>>
>>>
>>>
>>>
>>>
>>>> On 27 Sep 2015, at 00:24, Manuel <libros2 at limay.de> wrote:
>>>>
>>>>
>>>>
>>>> Am 27/9/15 um 0:09 schrieb Herbert Schulz:
>>>>>> On Sep 26, 2015, at 4:19 PM, Manuel <libros2 at limay.de> wrote:
>>>>>>
>>>>>> \shorttoc{Zusammenfassung}{chapter}
>>>>> Howdy,
>>>>>
>>>>> Try
>>>>>
>>>>> \shorttoc{Zusammenfassung}{1}
>>>>>
>>>>> or, maybe, use 0 depending upon the document class rather than a 
>>>>> text name. That argument sets the \tocdepth counter for the short 
>>>>> toc.
>>>>>
>>>>> 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://www.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
>>>> Changing the vaue to 1 has no effect. The example file works, so I 
>>>> tried  again changing from memoir to book but the result is the 
>>>> same as before.
>>>>
>>>> Manuel
>>>>
>>>>
>>>> ----------- Please Consult the Following Before Posting -----------
>>>> TeX FAQ: http://www.tex.ac.uk/faq
>>>> List Reminders and Etiquette: https://www.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
>>>
>>> ----------- Please Consult the Following Before Posting -----------
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Reminders and Etiquette: https://www.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
>> I have, indeed, used the values 1 and 0, as well as placing the 
>> \shorttoc command before \tableofcontents.
>>
>> The short TOC is indeed generated but has the same level of depth, 
>> the same content, as the log
>
> I meant the long, not the log.
>> TOC. That is the problem.
>>
>> I have no idea of what is koma script but in general I am not able to 
>> deal with deeper delvings in the depths of documents.
>>
>> Greetings,
>>
>> Manuel
>>
>>
>>
>>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: https://www.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
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.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



I have now used Michael's toy example to rebuild the entire document. 
The preamble now is:

\documentclass[article,twoside,a4paper]{memoir}
\usepackage{shorttoc}
\usepackage[applemac]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\setcounter{secnumdepth}{-5}
\title{Book}
\author{Me}
\date{ }
\begin{document}


The shorttoc appears correctly! Very good news.

But now the long toc does not include subsections, as it should. If I 
include

\settocdepth{subsection}

in the preamble, everything appears in both tocs (maybe this was what 
was causing the trouble). So the question seems to be how to set  
tocdepth to subsections only in tableofcontents.

Greetings,

Manuel






More information about the MacOSX-TeX mailing list