summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pdfmarginpar/pdfmarginpar.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-05-06 23:01:57 +0000
committerKarl Berry <karl@freefriends.org>2011-05-06 23:01:57 +0000
commitea51be9a747e2afe1d8349c7ea0b386b20f8c746 (patch)
tree5bff346c8ed6c9921f7a104b364ea26f2a85875c /Master/texmf-dist/tex/latex/pdfmarginpar/pdfmarginpar.sty
parente51c58e7f4411d563fed1d6065ea6d91eb01cb49 (diff)
pdfmarginpar (6may11)
git-svn-id: svn://tug.org/texlive/trunk@22334 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfmarginpar/pdfmarginpar.sty')
-rw-r--r--Master/texmf-dist/tex/latex/pdfmarginpar/pdfmarginpar.sty12
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfmarginpar/pdfmarginpar.sty b/Master/texmf-dist/tex/latex/pdfmarginpar/pdfmarginpar.sty
index eab76a03b5f..47855de5af1 100644
--- a/Master/texmf-dist/tex/latex/pdfmarginpar/pdfmarginpar.sty
+++ b/Master/texmf-dist/tex/latex/pdfmarginpar/pdfmarginpar.sty
@@ -36,12 +36,14 @@
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
%--------------------------------------------
-\ProvidesPackage{pdfmarginpar}[2009/10/13 Version 0.9]
+\ProvidesPackage{pdfmarginpar}[2009/10/13 Version 0.91]
\RequirePackage{pgfkeys}
\def\pdfmarginparset#{\pgfqkeys{/pdfmarginpar}}
+\def\pdfmarginpar@empty{}%
+
\pgfqkeys{/pdfmarginpar}{
Subtype/.is choice,
Subtype/Text/.code={\def\pdfmarginpar@SubType{/Text}},
@@ -108,21 +110,21 @@
\pgfkeysgetvalue{/pdfmarginpar/height}\pdfmarginpar@ht
\pgfkeysgetvalue{/pdfmarginpar/depth}\pdfmarginpar@dp
\def\pdfmarginpar@rulespec{}%
- \ifx\pdfmarginpar@wd\pgfutil@empty
+ \ifx\pdfmarginpar@wd\pdfmarginpar@empty
\else
\expandafter\def\expandafter\pdfmarginpar@rulespec\expandafter{%
\pdfmarginpar@rulespec
width \pdfmarginpar@wd\space
}%
\fi
- \ifx\pdfmarginpar@ht\pgfutil@empty
+ \ifx\pdfmarginpar@ht\pdfmarginpar@empty
\else
\expandafter\def\expandafter\pdfmarginpar@rulespec\expandafter{%
\pdfmarginpar@rulespec
height \pdfmarginpar@ht\space
}%
\fi
- \ifx\pdfmarginpar@dp\pgfutil@empty
+ \ifx\pdfmarginpar@dp\pdfmarginpar@empty
\else
\expandafter\def\expandafter\pdfmarginpar@rulespec\expandafter{%
\pdfmarginpar@rulespec
@@ -139,7 +141,7 @@
\expandafter\pdfannot \pdfmarginpar@rulespec {
/Subtype \pdfmarginpar@SubType
/Open \pdfmarginpar@OPEN
- \ifx\pdfmarginpar@NAME\pgfutil@empty
+ \ifx\pdfmarginpar@NAME\pdfmarginpar@empty
\else
/Name \pdfmarginpar@NAME
\fi