From 71fb1b25309a75d246b0896063f0940332c85919 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 21 Jul 2017 22:02:07 +0000 Subject: limap (21jul17) git-svn-id: svn://tug.org/texlive/trunk@44863 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/limap/limap.cls | 12 ++++++++++-- Master/texmf-dist/tex/latex/limap/limap.sty | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/latex/limap') diff --git a/Master/texmf-dist/tex/latex/limap/limap.cls b/Master/texmf-dist/tex/latex/limap/limap.cls index 76199246b1c..b36fed80af0 100644 --- a/Master/texmf-dist/tex/latex/limap/limap.cls +++ b/Master/texmf-dist/tex/latex/limap/limap.cls @@ -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 @@ -149,6 +149,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} @@ -274,6 +279,9 @@ &\parskip=\MapParskip {\MapRuleStart \rule{\MapTextFraction\textwidth}{\MapRuleWidth}}\par + \ifx\@undefined\MapBlockStartHook\else + \MapBlockStartHook{#1}% + \fi }{% } \newcommand\Block[1]{\PackageWarning{limap}{The sectioning command 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 -- cgit v1.2.3