diff options
author | Karl Berry <karl@freefriends.org> | 2020-01-10 21:41:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-10 21:41:35 +0000 |
commit | a93ee1456c70aac1fa5d0f2955af4c80a346c4a3 (patch) | |
tree | e3e82eaf0c8517ccfcb09b5e7e103e20b71200d6 /Master/texmf-dist/tex/latex/tocloft | |
parent | 6e40e8d9ab2cae35317a09775a62ec82f295d368 (diff) |
tocloft (10jan20)
git-svn-id: svn://tug.org/texlive/trunk@53364 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tocloft')
-rw-r--r-- | Master/texmf-dist/tex/latex/tocloft/tocloft.sty | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/tocloft/tocloft.sty b/Master/texmf-dist/tex/latex/tocloft/tocloft.sty index fb4d8cd709a..5fb069fa1f0 100644 --- a/Master/texmf-dist/tex/latex/tocloft/tocloft.sty +++ b/Master/texmf-dist/tex/latex/tocloft/tocloft.sty @@ -117,7 +117,16 @@ Consider installing the current version of tocbibind.}} \setlength{\cftparskip}{0pt} \AtBeginDocument{% -\if@cftnctoc\else +\if@cftnctoc + % ensure \cftparskip is still set properly + \let\OLD@starttoc\@starttoc + \renewcommand{\@starttoc}[1]{% + \begingroup + \parskip=\cftparskip + \OLD@starttoc{#1}% + \endgroup + } +\else \renewcommand{\tableofcontents}{% \@cfttocstart \par |