diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/marginnote/marginnote.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/marginnote/marginnote.sty | 36 |
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}{% |