summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/marginnote
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-03-05 16:49:11 +0000
committerKarl Berry <karl@freefriends.org>2009-03-05 16:49:11 +0000
commit58ad5c5ba60b9db988e2cb1c9301fcd77fcbc0c8 (patch)
tree27e542ba0bea3faffcae0b90e1fe004de1949984 /Master/texmf-dist/tex/latex/marginnote
parent2fc1044994b1fb6b87f31e03f19550390e2433d6 (diff)
marginnote update (3mar09)
git-svn-id: svn://tug.org/texlive/trunk@12316 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/marginnote')
-rw-r--r--Master/texmf-dist/tex/latex/marginnote/marginnote.sty36
1 files changed, 21 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/marginnote/marginnote.sty b/Master/texmf-dist/tex/latex/marginnote/marginnote.sty
index cdab2dba136..7dbbe9a420d 100644
--- a/Master/texmf-dist/tex/latex/marginnote/marginnote.sty
+++ b/Master/texmf-dist/tex/latex/marginnote/marginnote.sty
@@ -35,7 +35,7 @@
%% the Work (see ``Important Recommendations'' at lppl.txt).
%%
\ProvidesPackage{marginnote}[%
- 2009/02/16 v1.1b non floating margin notes for LaTeX]
+ 2009/02/26 v1.1c non floating margin notes for LaTeX]
\newif\if@mn@verbose\@mn@verbosetrue
\DeclareOption{verbose}{\@mn@verbosetrue}
\DeclareOption{quiet}{\@mn@verbosefalse}
@@ -45,24 +45,30 @@
\newif\if@mn@pdfmode\@mn@pdfmodefalse
\AtBeginDocument{%
\begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname pdflastxpos\endcsname\relax\else% bg or 1
+ \expandafter\ifx\csname pdflastxpos\endcsname\relax\else % bg or 1
\begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname pdftexversion\endcsname\relax% bg 2
+ \expandafter\ifx\csname pdftexversion\endcsname\relax % bg 2
\begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname pdfoutput\endcsname\relax\else% bg or 3
- \ifcase\pdfoutput\else\@mn@pdfmodetrue\fi% bg ed 4
- \fi% ed 3
- \else% or 2
- \ifnum \pdftexversion<140% bg 3
+ \expandafter\ifx\csname pdfoutput\endcsname\relax % bg 3
\begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname pdfoutput\endcsname\relax\else% bg or 4
- \ifcase\pdfoutput\else\@mn@pdfmodetrue\fi% bg ed 5
- \fi% ed 4
- \else% or 3
+ \expandafter\ifx\csname XeTeXrevision\endcsname\relax\else % bg 4
+ \@mn@pdfmodetrue
+ \fi % ed 4
+ \else % or 3
+ \ifcase\pdfoutput\else\@mn@pdfmodetrue\fi % bg ed 4
+ \fi % ed 3
+ \else % or 2
+ \ifnum \pdftexversion<140 % bg 3
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname pdfoutput\endcsname\relax % bg 4
+ \else % or 4
+ \ifcase\pdfoutput\else\@mn@pdfmodetrue\fi % bg ed 5
+ \fi % ed 4
+ \else % or 3
\@mn@pdfmodetrue
- \fi% ed 3
- \fi% ed 2
- \fi% ed 1
+ \fi % ed 3
+ \fi % ed 2
+ \fi % ed 1
\if@mn@verbose
\if@mn@pdfmode
\PackageInfo{marginnote}{%