summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/assoccnt/assoccnt_doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/assoccnt/assoccnt_doc.tex')
-rw-r--r--Master/texmf-dist/doc/latex/assoccnt/assoccnt_doc.tex44
1 files changed, 31 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/assoccnt/assoccnt_doc.tex b/Master/texmf-dist/doc/latex/assoccnt/assoccnt_doc.tex
index f3f0611c7e9..41359cc6b59 100644
--- a/Master/texmf-dist/doc/latex/assoccnt/assoccnt_doc.tex
+++ b/Master/texmf-dist/doc/latex/assoccnt/assoccnt_doc.tex
@@ -1,4 +1,4 @@
-%% LaTeX package assoccnt - version 0.6 (2014/09/27)
+%% LaTeX package assoccnt - version 0.8 (2015/09/29)
%% Documentation for assoccnt.sty
%%
%%
@@ -21,7 +21,8 @@
%%
-\documentclass[12pt,paper=a4]{ltxdoc}
+\documentclass[12pt,paper=a4]{article}
+
\usepackage[lmargin=2cm,rmargin=2cm]{geometry}
\usepackage{savesym}%
@@ -32,12 +33,13 @@
\usepackage{xcolor}
\usepackage{imakeidx}%
\usepackage{tcolorbox}
+\usepackage[tikz]{bclogo}
+\usepackage{marginnote}
\usepackage{datetime}%
-\usepackage{scrpage2}%
+\usepackage{scrlayer-scrpage}%
-\usepackage{enumitem}%
\tcbuselibrary{listings}%
@@ -50,9 +52,14 @@
\usepackage{amsmath}%
\usepackage{amsthm}%
+%\usepackage{calc} % Only for testing
\usepackage{totcount}%
+\usepackage{enumitem}%
+
\usepackage[globalsuspend=true]{assoccnt}%
+
+
\usepackage{bookmark}%
@@ -75,11 +82,11 @@
\newtcolorbox{docCommandArgs}[1]{colbacktitle={blue},coltitle={white},title={Description of arguments of command \cs{#1}}}
-\def\packageversion{0.6}%
+\def\packageversion{\assoccntpackageversion}%
\makeindex
-\newcommand{\PackageDocName}{assoccnt.sty}%
+\newcommand{\PackageDocName}{assoccnt}%
\newtotcounter{totalpages}%
@@ -138,6 +145,10 @@ Author: Christian Hupfer\(^\mathrm{\fnsymbol{footnote}}\)% }{\makeatletter chris
\pagestyle{scrheadings}%
\setheadsepline{2pt}[\color{blue}]
+\setfootsepline{2pt}[\color{brown}]
+\ifoot{\PackageDocName}
+\cfoot{\packageversion}
+\ofoot{\today}
\setcounter{footnote}{0}
@@ -186,14 +197,18 @@ As of version \packageversion~ the package has only one option, regarding the su
\begin{itemize}
\item \packagename{etoolbox}
\item \packagename{xkeyval}
-\item \packagename{xcolor}%
+\item \packagename{xcolor}
+\item \packagename{xstring}
\end{itemize}
\subsection{Incompatibilities}
-This package does not work together when the Package \packagename{xifthen} is included. As of version \packageversion~I could not figure out, where the strange behaviour comes in. It's most likely an incompatibility between \packagename{etoolbox} and \packagename{xifthen}
-
+\begin{itemize}
+\item This package does not work really well with the \packagename{calc} package. Load \packagename{calc} \textbf{before} \packagename{\PackageDocName}! \marginnote{\bcbombe}
+\item This package does not work together when the Package \packagename{xifthen} is included. As of version \packageversion~I could not figure out, where the strange behaviour comes in. It's most likely an incompatibility between \packagename{etoolbox} and \packagename{xifthen}
+\marginnote{\bcbombe}
+\end{itemize}
\section{Documentation of Macros}
\tcbset{color command={blue}}
@@ -267,7 +282,7 @@ This command is the main macro of the package. It declares the counter names bei
\DeclareAssociatedCounters{page}{totalpages,anothertotalpages}%
This document has \number\totvalue{totalpages} (note: \number\totvalue{anothertotalpages}) pages.
\end{dispExample}
-\let\DeclareAssociatedCounters\DeclareAssociatedCountersOrig%
+%\let\DeclareAssociatedCounters\DeclareAssociatedCountersOrig%
\begin{itemize}
\item Current version state:
@@ -821,6 +836,7 @@ This macro generates a list from the driver counter name and the driver counter
\item Improve documentation
\item Allow for specific counter to be resumed from suspension instead of resuming all
\item Allow for an associated counter to have multiple masters
+\item Complete redesign and rewrite with \packagename{expl3} -- this will provide better list features
\end{itemize}
If you
@@ -847,6 +863,8 @@ to the users at tex.stackexchange.com, especially to
\item Joseph Wright
\item David Carlisle
\item Werner
+ \item Gonzalo Medina
+ \item Cosmo Huber (for providing the bug report with the \packagename{calc} package.)
\end{itemize}
for their invaluable help on many questions on macros.
@@ -860,6 +878,8 @@ write this documentation.
\section{Version history}
Note the pre - 0.6 - version history has to be reestablished
\begin{itemize}
+\item 0.8: A second bug fix for usage version 0.7 -- packagename{calc} and this package do not really work together.
+\item 0.7: A second bug fix for usage with \packagename{calc} has been done.
\item 0.6: \begin{itemize}
\item A major bug fixed due to some error in usage together with \packagename{calc} when the driven counters are not stepped any longer.
The culprit was in \PackageDocName that the counter reset list was not really disabled.
@@ -875,12 +895,10 @@ Note the pre - 0.6 - version history has to be reestablished
-
\section[Total number of sections]{Example: Total number of sections}
In this example, all sections of this document are counted, i.e. the current one as well as all following ones.
\begin{dispExample}
-\DeclareAssociatedCounters{section}{totalsections}%
-This document has \number\totvalue{totalsections} section(s)%
+This document has \total{totalsections} section(s)%
\end{dispExample}