From 82a134f3a80a882a0fcfb0a0fb56a6cbddd0c9ad Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 5 Oct 2018 08:52:48 +0900 Subject: aeb-minitoc (20181005) --- texmf-dist/doc/latex/aeb-minitoc/README.md | 4 +++- texmf-dist/doc/latex/aeb-minitoc/aeb-minitoc.pdf | Bin 113430 -> 305767 bytes texmf-dist/doc/latex/aeb-minitoc/aebminitocman.pdf | Bin 272326 -> 276674 bytes texmf-dist/doc/latex/aeb-minitoc/aebminitocman.tex | 8 ++++---- .../doc/latex/aeb-minitoc/examples/minitoc-art.pdf | Bin 108828 -> 123829 bytes .../doc/latex/aeb-minitoc/examples/minitoc-art.tex | 20 ++++++++++++++++---- 6 files changed, 23 insertions(+), 9 deletions(-) (limited to 'texmf-dist/doc/latex') diff --git a/texmf-dist/doc/latex/aeb-minitoc/README.md b/texmf-dist/doc/latex/aeb-minitoc/README.md index bbd169e3..4cd0160e 100644 --- a/texmf-dist/doc/latex/aeb-minitoc/README.md +++ b/texmf-dist/doc/latex/aeb-minitoc/README.md @@ -1,12 +1,14 @@ The aeb-minitoc package Author: D. P. Story -Dated: 2018-09-21 +Dated: 2018-09-29 This package creates mini-TOCs through the use of the \insertminitoc command. The system is powerful and flexible and allows for some amount of logic. The package works for a the usual workflows +What's New (2018-09-29): Delayed the redefinition of \addtocontents until beginning of document, +to avoid incompatability with the siunitx package. D. P. Story www.acrotex.net diff --git a/texmf-dist/doc/latex/aeb-minitoc/aeb-minitoc.pdf b/texmf-dist/doc/latex/aeb-minitoc/aeb-minitoc.pdf index 91d37912..05f0568b 100644 Binary files a/texmf-dist/doc/latex/aeb-minitoc/aeb-minitoc.pdf and b/texmf-dist/doc/latex/aeb-minitoc/aeb-minitoc.pdf differ diff --git a/texmf-dist/doc/latex/aeb-minitoc/aebminitocman.pdf b/texmf-dist/doc/latex/aeb-minitoc/aebminitocman.pdf index d033cbb0..a224aabf 100644 Binary files a/texmf-dist/doc/latex/aeb-minitoc/aebminitocman.pdf and b/texmf-dist/doc/latex/aeb-minitoc/aebminitocman.pdf differ diff --git a/texmf-dist/doc/latex/aeb-minitoc/aebminitocman.tex b/texmf-dist/doc/latex/aeb-minitoc/aebminitocman.tex index f3feb993..3ae2c755 100644 --- a/texmf-dist/doc/latex/aeb-minitoc/aebminitocman.tex +++ b/texmf-dist/doc/latex/aeb-minitoc/aebminitocman.tex @@ -75,7 +75,7 @@ email={dpstory@acrotex.net}, subject={Documentation for the aeb-minitoc package from AcroTeX: Inserting TOCs within a section}, talksite={\url{www.acrotex.net}}, - version={1.6, 2018/09/21}, + version={1.7, 2018/09/29}, Keywords={AcroTeX, mini-toc}, copyrightStatus=True, copyrightNotice={Copyright (C) \the\year, D. P. Story}, @@ -279,7 +279,7 @@ When no option is passed, mini-tocs are created. \newtopic\noindent\llap{\textcolor{red}{{\small\textit{Warning! }}\ding{042}}\enspace}% This package modifies the entries in the \cs{jobname.toc} file. For this package to work as designed, it must be loaded after any other package that -modifies the TOC file. +modifies the TOC file.\footnote{Such packages include \pkg{hyperref} and \pkg{siunitx}.} \section{Commands and methods}\mtoclabel{CandM} @@ -545,7 +545,7 @@ For those unfamiliar with such a macro, here is a simple example: My name is \verb~D. P. Stor\mtocgobble{e}y~, this code expands to ``D. P. Stor\mtocgobble{e}y''. Not so impressive, but the argument of \cs{mtocgobble} is oftentimes another macro or an expression grouped by braces (\texttt{\{\}}). For example, \verb~\def\dps{ there}Don says `Hi\mtocgobble\dps!'~, which expands to -\def\dps{ there}``Don says `Hi\mtocgobble\dps!''' See the paragraph \textbf{\nameref{spara:LPg}} on page~\pageref*{spara:LPg} +\def\dpsi{ there}``Don says `Hi\mtocgobble\dpsi!''' See the paragraph \textbf{\nameref{spara:LPg}} on page~\pageref*{spara:LPg} for an example of use. The macro is also used in some of the example files. \subsubsection{Some examples that illuminate}\mtoclabel{SExmpls} @@ -739,7 +739,7 @@ We mark it with \cs{mtoclabel}. Now we create a \env{minitocfmt} environment: \begin{minitocfmt}{\minitocFmtstar} !textbf(\declaretocfmt{subsection*}){\@W{0em}\@D{0em}} %!sffamily( declare a star-section fmt) \end{minitocfmt} -\insMinitoctab[myRetirement] %!textsf( !cs(nsMinitoctab) discussed beginning on page !pageref(ss:AltPresent)) +\insMinitoctab[myRetirement] %!textsf( !cs(insMinitoctab) discussed beginning on page !pageref(ss:AltPresent)) {\TOCLevels{section}{subsection}\minitocFmtstar} \end{Verbatim} \begin{minitocfmt}{\minitocFmtstar} diff --git a/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.pdf b/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.pdf index ec8542e6..9bec1861 100644 Binary files a/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.pdf and b/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.pdf differ diff --git a/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.tex b/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.tex index d3dd0df1..51a1307b 100644 --- a/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.tex +++ b/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.tex @@ -1,10 +1,20 @@ \documentclass{article} \usepackage{xcolor} -\usepackage[linktocpage,colorlinks]{hyperref} +\usepackage[linktocpage,colorlinks,bookmarksnumbered]{hyperref} \usepackage{booktabs} \usepackage[!nominitocs]{aeb-minitoc} % try compiling with the nominitocs option \usepackage{ifthen} +\title{The \textsf{aeb-minitoc} Package\texorpdfstring{\\[1ex]}{: }Demo for article class} +\author{D. P. Story} + +\hypersetup{% + pdftitle={The \textsf{aeb-minitoc} Package\texorpdfstring{\\[1ex]}{: }Demo for article class}, + pdfauthor={D. P. Story}, + pdfkeywords={minitoc,latex,pdf}, + pdfsubject={package to create mini-tocs within a latex document} +} + % Try uncommenting the next line, change subsection to subsection* % and subsubsection to subsubsection* in the minitocfmt below. What other % changes are needed to get a good looking mini-toc? @@ -54,6 +64,8 @@ \begin{document} +\maketitle + \tableofcontents \newpage @@ -65,9 +77,9 @@ The topic headings of this section are listed below. \insMinitoc{\minitocFmt} - -For long section headings, for them to wrap around, we need to take the hyperref option -\texttt{linktocpage}, unless pdflatex or xelatex are used. +\noindent +For long section headings to wrap around within the TOC, we need to take the hyperref option +\texttt{linktocpage}, unless \textsf{pdflatex} or \textsf{xelatex} are used. \subsection{Now is the time for all good men to come to the aid of their country, so it has been said} -- cgit v1.2.3