summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/limap/limap.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/limap/limap.sty')
-rw-r--r--Master/texmf-dist/tex/latex/limap/limap.sty12
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/limap/limap.sty b/Master/texmf-dist/tex/latex/limap/limap.sty
index 86a2ae143df..697c85b98a7 100644
--- a/Master/texmf-dist/tex/latex/limap/limap.sty
+++ b/Master/texmf-dist/tex/latex/limap/limap.sty
@@ -34,7 +34,7 @@
%% 64521 Gro\ss-Gerau (Germany)
%% Mail: gene@gerd-neugebauer.de
%%
-%% Copyright (C) 1999-2016 Gerd Neugebauer
+%% Copyright (C) 1999-2017 Gerd Neugebauer
%%
%% limap.dtx may be distributed under the terms of the LaTeX Project
%% Public License version 1.3c, as described in lppl.txt.
@@ -60,7 +60,7 @@
%% Right brace \} Tilde \~}
%%
\def\filename{limap.dtx}
-\def\fileversion{2.1}
+\def\fileversion{2.2}
\def\filedate{2016/05/29}
\let\docversion=\fileversion
\let\docdate=\filedate
@@ -121,6 +121,11 @@
\refstepcounter{\@nameuse{Map@TOC@name\the\Map@level}}%
\addcontentsline{toc}{\@nameuse{Map@TOC@name\the\Map@level}}{#1}%
}
+\newcommand\MapBlockTOC[1]{%
+ \begingroup\count0=\Map@level \advance\count0 1%
+ \addcontentsline{toc}{\@nameuse{Map@TOC@name\the\count0}}{#1}%
+ \endgroup
+}
\newcommand\MapTOCname{}
\newcommand\MapTOCpage{}
\newcommand\MapTOCheadfont{\scriptsize\emph}
@@ -246,6 +251,9 @@
&\parskip=\MapParskip
{\MapRuleStart
\rule{\MapTextFraction\textwidth}{\MapRuleWidth}}\par
+ \ifx\@undefined\MapBlockStartHook\else
+ \MapBlockStartHook{#1}%
+ \fi
}{%
}
\newcommand\Block[1]{\PackageWarning{limap}{The sectioning command