From e35a9c1ae4684cc27f787bdb25f71e5dc270552b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 16 Aug 2016 21:45:47 +0000 Subject: parnotes (16aug16) git-svn-id: svn://tug.org/texlive/trunk@41868 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/parnotes/parnotes.sty | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex/latex/parnotes') diff --git a/Master/texmf-dist/tex/latex/parnotes/parnotes.sty b/Master/texmf-dist/tex/latex/parnotes/parnotes.sty index 5d394b7b92e..e5c3f68f5b6 100644 --- a/Master/texmf-dist/tex/latex/parnotes/parnotes.sty +++ b/Master/texmf-dist/tex/latex/parnotes/parnotes.sty @@ -15,7 +15,7 @@ % Thanks to Stack Exchange users Ahmed Musa, Bruno Le Floch, and David Carlisle. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{parnotes}[2016/07/26 rev. 2 Notes after every paragraph, or elsewhere] +\ProvidesPackage{parnotes}[2016/08/15 rev. 3 Notes after every paragraph, or elsewhere] % % These are the user-modifiable format commands @@ -147,8 +147,8 @@ \def\PN@parnote@twoargs[#1]#2{\PN@parnote@real{#1}{#2}} \def\PN@parnote@onearg#1{% % Fully expand the new counter value, as text - \begingroup\edef\@x{\endgroup\noexpand\PN@parnote@real% - {\theparnotemark}}\@x{#1}% + \begingroup\protected@edef\@x{\endgroup\noexpand\PN@parnote@real% + {\theparnotemark}}\@x{#1}% \global\advance\c@parnotemark\@ne } \def\PN@gobble@opt@@[#1]#2{} @@ -167,13 +167,6 @@ \g@addto@macro\PN@text{\parnotemark{#1}\nolinebreak\thinspace#2}% } -\long\def\PN@parnote@compat#1{% - \parnotemarkfmt{parnotemark} - \unless\ifx\PN@text\@empty\g@addto@macro\PN@text{\parnoteintercmd}\fi - \g@addto@macro\PN@text{\phantomsection\def\@currentlabel{\arabic{parnotemark}}}% - \g@addto@macro\PN@text{\parnotemarkfmt{parnotemark}\nolinebreak\thinspace#1}% -} - % % Definitions to get multiple consecutive parnotes/footnotes working, as % in footmisc and manyfoot; this is cribbed directly from footmisc -- cgit v1.2.3