diff options
author | Karl Berry <karl@freefriends.org> | 2023-03-23 20:07:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-03-23 20:07:03 +0000 |
commit | c9c670da71a7d910b8eac57609b3b13313229f98 (patch) | |
tree | 17a0a3fef2d5bdc408d00126c610e5314e10069e /Master | |
parent | 7bf3c616665e67acc61af2bbc1e42077a1e16d9f (diff) |
eso-pic (23mar23)
git-svn-id: svn://tug.org/texlive/trunk@66653 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/eso-pic/eso-ex2.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/eso-pic/eso-ex5.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf | bin | 250019 -> 299089 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx | 49 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty | 18 |
5 files changed, 26 insertions, 45 deletions
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex2.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex2.tex index affe690bd71..b76aeb820d5 100644 --- a/Master/texmf-dist/doc/latex/eso-pic/eso-ex2.tex +++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex2.tex @@ -20,7 +20,7 @@ } % The picture is centered on the page background -\AddToShipoutPicture{\BackgroundPicture} +\AddToShipoutPictureBG{\BackgroundPicture} \begin{document} diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex5.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex5.tex index 78d0ee5ef79..27003f2f6e9 100644 --- a/Master/texmf-dist/doc/latex/eso-pic/eso-ex5.tex +++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex5.tex @@ -17,7 +17,7 @@ \newcommand*\cmd[1]{\texttt{\symbol{`\\}#1}} -\AddToShipoutPicture{% +\AddToShipoutPictureBG{% \thicklines\normalfont\ttfamily\Large% \color{blue}\setlength\unitlength{1mm}% \AtTextCenter{\circle*{6}% diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf b/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf Binary files differindex 961f29e1504..5b570eff40f 100644 --- a/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf +++ b/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf diff --git a/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx b/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx index 5cdf9141cd7..3ffa221f476 100644 --- a/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx +++ b/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx @@ -4,14 +4,12 @@ % ------------------------------------------------------------------- % % This file may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.2 +% conditions of the LaTeX Project Public License, either version 1.3 % of this license or (at your option) any later version. % The latest version of this license is in: % % http://www.latex-project.org/lppl.txt % -% and version 1.2 or later is part of all distributions of LaTeX -% version 1999/12/01 or later. % and version 1.3 or later is part of all distributions of LaTeX % version 2003/12/01 or later. % @@ -23,9 +21,9 @@ % \fi % % \iffalse -%<package>\NeedsTeXFormat{LaTeX2e}[2020-10-01] +%<package>\NeedsTeXFormat{LaTeX2e}[2020/10/01] %<package>\ProvidesPackage{eso-pic} -%<package> [2020/10/14 v3.0a eso-pic (RN)] +%<package> [2023/03/23 v3.0b eso-pic (RN)] % %<*driver> \documentclass[a4paper]{ltxdoc} @@ -37,7 +35,7 @@ %</driver> % \fi % -% \CheckSum{750} +% \CheckSum{753} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -55,25 +53,6 @@ % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % -% \iffalse meta-comment -% =================================================================== -% @LaTeX-package-file{ -% author = {Rolf Niepraschk}, -% version = "v2.0i", -% date = "12 Apr 2018", -% filename = "eso-pic.sty", -% address = "", -% telephone = "", -% email = "Rolf.Niepraschk@gmx.de", -% codetable = "ISO/ASCII", -% keywords = "LaTeX2e, \shipout, picture", -% dependences = "atbegshi", -% supported = "yes", -% docstring = "LaTeX package which makes it easy to add some -% picture commands to every page." -% } -% =================================================================== -% \fi % % \providecommand\env[1]{\textsf{#1}} % \providecommand\clsname[1]{\textsf{#1}} @@ -123,7 +102,7 @@ % internal macro \cs{ESO@HookIBG}. This macro is part of a % zero-length \texttt{picture} environment with basepoint at the lower left % corner of the page (default) or at the upper left corner -% (package option "texcoord"). The \texttt{picture} environment will be +% (package option ``texcoord''). The \texttt{picture} environment will be % shipped out at every new page. % % \DescribeMacro{\AddToShipoutPictureBG*} \cs{AddToShipoutPictureBG*} works like @@ -138,7 +117,7 @@ % \DescribeMacro{\AddToShipoutPictureFG} % \DescribeMacro{\AddToShipoutPictureFG*} Works like % \cs{AddToShipoutPictureBG} but the picture commands are on the top -% oft the normal document content. +% of the normal document content. % % \DescribeMacro{\ClearShipoutPictureBG} A call of % \cs{ClearShipoutPictureBG} @@ -573,6 +552,7 @@ % `pdfTeX'. Now using with Xe\LaTeX\ should be possible.} % \changes{v2.0a}{2009/10/07}{Better test of color/xcolor} % \changes{v2.0d}{2013/10/06}{Improved color commands} +% \changes{v3.0b}{2023/03/23}{More code inside \cmd{\AtBeginDocument}} % \begin{macrocode} \@ifundefined{colorbox}{% \IfFileExists{xcolor.sty}{\RequirePackage{xcolor}}% @@ -616,14 +596,15 @@ \renewcommand*\ESO@gridlines{\thicklines} \fi \fi +% \changes{v3.0b}{2023/03/23}{More code inside \cmd{\AtBeginDocument}} + \ifESO@texcoord + \def\ESO@yoffsetI{\z@}\def\ESO@yoffsetII{-\paperheight} + \edef\ESO@griddeltaY{-\ESO@griddelta}\edef\ESO@gridDeltaY{-\ESO@gridDelta} + \else + \def\ESO@yoffsetI{-\paperheight}\def\ESO@yoffsetII{\z@} + \edef\ESO@griddeltaY{\ESO@griddelta}\edef\ESO@gridDeltaY{\ESO@gridDelta} + \fi } -\ifESO@texcoord - \def\ESO@yoffsetI{\z@}\def\ESO@yoffsetII{-\paperheight} - \edef\ESO@griddeltaY{-\ESO@griddelta}\edef\ESO@gridDeltaY{-\ESO@gridDelta} -\else - \def\ESO@yoffsetI{-\paperheight}\def\ESO@yoffsetII{\z@} - \edef\ESO@griddeltaY{\ESO@griddelta}\edef\ESO@gridDeltaY{\ESO@gridDelta} -\fi % \end{macrocode} % \begin{macro}{\ESO@gridpicture} % \begin{macrocode} diff --git a/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty b/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty index db8758b998d..4de851d8236 100644 --- a/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty +++ b/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty @@ -21,9 +21,9 @@ %% %% This work has the LPPL maintenance status "author-maintained". %% -\NeedsTeXFormat{LaTeX2e}[2020-10-01] +\NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesPackage{eso-pic} - [2020/10/14 v3.0a eso-pic (RN)] + [2023/03/23 v3.0b eso-pic (RN)] \providecommand*\LenToUnit[1]{#1} \newdimen\ESO@tempdima \newdimen\ESO@tempdimb @@ -305,14 +305,14 @@ \renewcommand*\ESO@gridlines{\thicklines} \fi \fi + \ifESO@texcoord + \def\ESO@yoffsetI{\z@}\def\ESO@yoffsetII{-\paperheight} + \edef\ESO@griddeltaY{-\ESO@griddelta}\edef\ESO@gridDeltaY{-\ESO@gridDelta} + \else + \def\ESO@yoffsetI{-\paperheight}\def\ESO@yoffsetII{\z@} + \edef\ESO@griddeltaY{\ESO@griddelta}\edef\ESO@gridDeltaY{\ESO@gridDelta} + \fi } -\ifESO@texcoord - \def\ESO@yoffsetI{\z@}\def\ESO@yoffsetII{-\paperheight} - \edef\ESO@griddeltaY{-\ESO@griddelta}\edef\ESO@gridDeltaY{-\ESO@gridDelta} -\else - \def\ESO@yoffsetI{-\paperheight}\def\ESO@yoffsetII{\z@} - \edef\ESO@griddeltaY{\ESO@griddelta}\edef\ESO@gridDeltaY{\ESO@gridDelta} -\fi \newcommand\ESO@gridpicture{% \begingroup \setlength\unitlength{\ESO@gridunit}% |