diff options
author | Karl Berry <karl@freefriends.org> | 2017-01-22 22:36:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-01-22 22:36:21 +0000 |
commit | bdc555553533064c0163b9762b4b61dfbcb5f2b1 (patch) | |
tree | 5d0803aced6bddc60f517c65bfb1f6b111b2c223 /Master/texmf-dist/source/latex/paralist/paralist.dtx | |
parent | 3daeaa801f863f445becb1363d91e456d3cfc607 (diff) |
paralist (22jan17)
git-svn-id: svn://tug.org/texlive/trunk@43021 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/paralist/paralist.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/paralist/paralist.dtx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/paralist/paralist.dtx b/Master/texmf-dist/source/latex/paralist/paralist.dtx index 3dd90be5011..bc3fb33b345 100644 --- a/Master/texmf-dist/source/latex/paralist/paralist.dtx +++ b/Master/texmf-dist/source/latex/paralist/paralist.dtx @@ -1,6 +1,6 @@ % \iffalse % File paralist.dtx -% Copyright 1998-2016 Bernd Schandl +% Copyright 1998-2017 Bernd Schandl % Copyright 2013 Julian Gilbey (modifications in v2.4) % email schandl@gmx.com % @@ -38,7 +38,7 @@ %<driver>\ProvidesFile{paralist.drv}% % \fi % \ProvidesFile{paralist.dtx}% - [2016/08/07 v2.6 Extended list environments] + [2017/01/22 v2.7 Extended list environments] % \iffalse %<*driver> \documentclass[11pt]{ltxdoc} @@ -78,9 +78,10 @@ % \changes{v2.4 (2013/06/09)}{2013/06/09}{Extra option for label width (JDG)} % \changes{v2.5 (2015/12/30)}{2015/12/30}{Fix excess space introduced in v2.4} % \changes{v2.6 (2016/08/07)}{2016/08/07}{Fix of inparaitem and inparadesc} +% \changes{v2.7 (2017/01/22)}{2017/01/22}{Fix of labelwidth problem introduced in v2.4} % % \GetFileInfo{paralist.dtx} -% \CheckSum{1053} +% \CheckSum{1059} % % \makeatletter % \renewenvironment{theglossary}{% @@ -738,7 +739,7 @@ \fi \fi \if@pldoadjust - \setcounter{\@enumctr}{\@enum@widestlabel} + \setcounter{\@enumctr}{\@enum@widestlabel}% \settowidth{\@tempdima}{% \csname label\@enumctr\endcsname\hspace{\labelsep}}% % \end{macrocode} @@ -1092,6 +1093,8 @@ % \changes{v1.2 (1999/01/10)}{1999/01/07}{Rewritten} % \changes{v1.8 (1999/04/29)}{1999/04/28}{Add extra bracket to optional % argument} +% \changes{v2.7 (2017/01/22)}{2017/01/22}{\cs{@enum@widestlabel@} must +% be initialized in case \cs{@enumlabel@} is not called} % For the |compactenum| environment all vertical skips have to % be set to the \cs{pl...} values. % \begin{macrocode} @@ -1102,6 +1105,7 @@ \advance\@enumdepth\@ne \edef\@enumctr{enum\romannumeral\the\@enumdepth}% \fi + \def\@enum@widestlabel{7}% \@ifnextchar[{\@enumlabel@{\@compactenum@}[}{\@compactenum@}} % \end{macrocode} % \changes{v2.1 (2001/09/20)}{2001/09/17}{Adjustment of label width done in @@ -1132,6 +1136,8 @@ % \changes{v1.2 (1999/01/10)}{1999/01/07}{Added} % \changes{v1.8 (1999/04/29)}{1999/04/28}{Add extra bracket to optional % argument} +% \changes{v2.7 (2017/01/22)}{2017/01/22}{\cs{@enum@widestlabel@} must +% be initialized in case \cs{@enumlabel@} is not called} % If the user has requested it, we redefine the |enumerate| environment. % \begin{macrocode} \if@plnewenum @@ -1142,6 +1148,7 @@ \advance\@enumdepth \@ne \edef\@enumctr{enum\romannumeral\the\@enumdepth}% \fi + \def\@enum@widestlabel{7}% \@ifnextchar[{\@enumlabel@{\@enumerate@}[}{\@enumerate@}} % \end{macrocode} % \changes{v2.1 (2001/09/20)}{2001/09/17}{Adjustment of label width done in |