summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-16 21:45:47 +0000
committerKarl Berry <karl@freefriends.org>2016-08-16 21:45:47 +0000
commite35a9c1ae4684cc27f787bdb25f71e5dc270552b (patch)
tree843f1fbccdccfc8e0b2f57ca9b0eb3a51c16a61a /Master/texmf-dist/tex/latex
parent119a6a727b6965be21b9c6767294f0a3375936ed (diff)
parnotes (16aug16)
git-svn-id: svn://tug.org/texlive/trunk@41868 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/parnotes/parnotes.sty13
1 files changed, 3 insertions, 10 deletions
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