From 58ad5c5ba60b9db988e2cb1c9301fcd77fcbc0c8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 5 Mar 2009 16:49:11 +0000 Subject: marginnote update (3mar09) git-svn-id: svn://tug.org/texlive/trunk@12316 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/marginnote/marginnote.sty | 36 +++++++++++++--------- 1 file changed, 21 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/tex/latex/marginnote') 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}{% -- cgit v1.2.3