texlive[67001] Master/texmf-dist: eso-pic (3may23)

commits+karl at tug.org commits+karl at tug.org
Wed May 3 22:12:01 CEST 2023


Revision: 67001
          http://tug.org/svn/texlive?view=revision&revision=67001
Author:   karl
Date:     2023-05-03 22:12:01 +0200 (Wed, 03 May 2023)
Log Message:
-----------
eso-pic (3may23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/eso-pic/README.md
    trunk/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf
    trunk/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx
    trunk/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty

Modified: trunk/Master/texmf-dist/doc/latex/eso-pic/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/eso-pic/README.md	2023-05-03 20:11:45 UTC (rev 67000)
+++ trunk/Master/texmf-dist/doc/latex/eso-pic/README.md	2023-05-03 20:12:01 UTC (rev 67001)
@@ -7,5 +7,7 @@
 may be used to place the out­put at fixed po­si­tions. The grid op­tion may be
 used to find the cor­rect places.
 
+See: https://github.com/rolfn/eso-pic
+
 Rolf Niepraschk 
 

Modified: trunk/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx	2023-05-03 20:11:45 UTC (rev 67000)
+++ trunk/Master/texmf-dist/source/latex/eso-pic/eso-pic.dtx	2023-05-03 20:12:01 UTC (rev 67001)
@@ -23,7 +23,7 @@
 % \iffalse
 %<package>\NeedsTeXFormat{LaTeX2e}[2020/10/01]
 %<package>\ProvidesPackage{eso-pic}
-%<package>   [2023/03/23 v3.0b eso-pic (RN)]
+%<package>   [2023/05/03 v3.0c eso-pic (RN)]
 %
 %<*driver>
 \documentclass[a4paper]{ltxdoc}
@@ -35,7 +35,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{753}
+% \CheckSum{758}
 %
 % \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
@@ -289,16 +289,22 @@
 % \begin{macro}{\AtTextUpperLeft}
 %  \changes{v2.0a}{2009/10/07}{Works now for class \clsname{memoir}}
 %  \changes{v2.0e}{2014/04/20}{Wrong horizontal position in one-column mode}
+%  \changes{v3.0c}{2023/05/03}{Wrong horizontal position in  memoir one-side
+%     mode (issue \#5)}
 %    \begin{macrocode}
 \ESO at isMEMOIR{%
   \newcommand\AtTextUpperLeft[1]{%
     \begingroup
-      \ifodd\c at page
+      \if at twoside
+        \ifodd\c at page
+          \ESO at tempdima=\spinemargin
+        \else
+          \ESO at tempdima=\paperwidth
+          \advance\ESO at tempdima-\textwidth
+          \advance\ESO at tempdima-\spinemargin
+        \fi
+      \else
         \ESO at tempdima=\spinemargin
-      \else
-        \ESO at tempdima=\paperwidth
-        \advance\ESO at tempdima-\textwidth
-        \advance\ESO at tempdima-\spinemargin
       \fi
       \ESO at tempdimb=-\uppermargin
       \AtPageUpperLeft{%
@@ -305,7 +311,7 @@
         \put(\ESO at tempdima,\ESO at tempdimb){#1}%
       }%
     \endgroup
-  }
+  }%
 }{%
   \newcommand\AtTextUpperLeft[1]{%
     \begingroup

Modified: trunk/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty	2023-05-03 20:11:45 UTC (rev 67000)
+++ trunk/Master/texmf-dist/tex/latex/eso-pic/eso-pic.sty	2023-05-03 20:12:01 UTC (rev 67001)
@@ -23,7 +23,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \ProvidesPackage{eso-pic}
-   [2023/03/23 v3.0b eso-pic (RN)]
+   [2023/05/03 v3.0c eso-pic (RN)]
 \providecommand*\LenToUnit[1]{#1}
 \newdimen\ESO at tempdima
 \newdimen\ESO at tempdimb
@@ -81,12 +81,16 @@
 \ESO at isMEMOIR{%
   \newcommand\AtTextUpperLeft[1]{%
     \begingroup
-      \ifodd\c at page
+      \if at twoside
+        \ifodd\c at page
+          \ESO at tempdima=\spinemargin
+        \else
+          \ESO at tempdima=\paperwidth
+          \advance\ESO at tempdima-\textwidth
+          \advance\ESO at tempdima-\spinemargin
+        \fi
+      \else
         \ESO at tempdima=\spinemargin
-      \else
-        \ESO at tempdima=\paperwidth
-        \advance\ESO at tempdima-\textwidth
-        \advance\ESO at tempdima-\spinemargin
       \fi
       \ESO at tempdimb=-\uppermargin
       \AtPageUpperLeft{%
@@ -93,7 +97,7 @@
         \put(\ESO at tempdima,\ESO at tempdimb){#1}%
       }%
     \endgroup
-  }
+  }%
 }{%
   \newcommand\AtTextUpperLeft[1]{%
     \begingroup



More information about the tex-live-commits mailing list.