texlive[71937] trunk: pagelayout (31jul24)

commits+karl at tug.org commits+karl at tug.org
Wed Jul 31 22:44:16 CEST 2024


Revision: 71937
          https://tug.org/svn/texlive?view=revision&revision=71937
Author:   karl
Date:     2024-07-31 22:44:16 +0200 (Wed, 31 Jul 2024)
Log Message:
-----------
pagelayout (31jul24)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/pagelayout/pagelayoutapi
    trunk/Build/source/texk/texlive/linked_scripts/pagelayout/textestvis
    trunk/Master/texmf-dist/doc/latex/pagelayout/README.md
    trunk/Master/texmf-dist/doc/latex/pagelayout/pagelayout-manual.pdf
    trunk/Master/texmf-dist/doc/latex/pagelayout/pagelayout-manual.tex
    trunk/Master/texmf-dist/doc/latex/pagelayout/tests.zip
    trunk/Master/texmf-dist/doc/man/man1/pagelayoutapi.man1.pdf
    trunk/Master/texmf-dist/doc/man/man1/textestvis.man1.pdf
    trunk/Master/texmf-dist/scripts/pagelayout/pagelayoutapi
    trunk/Master/texmf-dist/scripts/pagelayout/textestvis
    trunk/Master/texmf-dist/tex/latex/pagelayout/pagelayout.cls

Modified: trunk/Build/source/texk/texlive/linked_scripts/pagelayout/pagelayoutapi
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/pagelayout/pagelayoutapi	2024-07-31 20:44:04 UTC (rev 71936)
+++ trunk/Build/source/texk/texlive/linked_scripts/pagelayout/pagelayoutapi	2024-07-31 20:44:16 UTC (rev 71937)
@@ -13,7 +13,7 @@
 # LaTeX version 2008/05/04 or later.
 #
 
-version=1.1.0
+version=1.1.1
 
 _convert() {
   turbo=$1

Modified: trunk/Build/source/texk/texlive/linked_scripts/pagelayout/textestvis
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/pagelayout/textestvis	2024-07-31 20:44:04 UTC (rev 71936)
+++ trunk/Build/source/texk/texlive/linked_scripts/pagelayout/textestvis	2024-07-31 20:44:16 UTC (rev 71937)
@@ -13,7 +13,7 @@
 # LaTeX version 2008/05/04 or later.
 #
 
-version=1.1.0
+version=1.1.1
 
 OK="$( tput setaf 2 )•$( tput sgr0 )"
 FAILED="$( tput setaf 1 )$( tput bold )x$( tput sgr0 )"
@@ -122,13 +122,13 @@
           fi
         fi
 
-        magick convert -density $2 -quiet $tmpdir/$name.pdf $tmpdir/$name.png
+        magick -density $2 -quiet $tmpdir/$name.pdf $tmpdir/$name.png
         if [ -f "$tmpdir/$name.png" ]; then
           mv $tmpdir/$name.png $tmpdir/$name-0.png
         fi
 
         if [ -f "$name.approved.pdf" ]; then
-          magick convert -density $2 -quiet $name.approved.pdf $tmpdir/$name.approved.png
+          magick -density $2 -quiet $name.approved.pdf $tmpdir/$name.approved.png
           if [ -f "$tmpdir/$name.approved.png" ]; then
             mv $tmpdir/$name.approved.png $tmpdir/$name.approved-0.png
           fi
@@ -311,11 +311,11 @@
   spacer=""
   if [ -f "$filea" ]; then
     if [ -f "$fileb" ]; then
-      magick convert -density $1 -quiet $filea $tmpdir/$basenamea.png
+      magick -density $1 -quiet $filea $tmpdir/$basenamea.png
       if [ -f "$tmpdir/$basenamea.png" ]; then
         mv $tmpdir/$basenamea.png $tmpdir/$basenamea-0.png
       fi
-      magick convert -density $1 -quiet $fileb $tmpdir/$basenameb.png
+      magick -density $1 -quiet $fileb $tmpdir/$basenameb.png
       if [ -f "$tmpdir/$basenameb.png" ]; then
         mv $tmpdir/$basenameb.png $tmpdir/$basenameb-0.png
       fi

Modified: trunk/Master/texmf-dist/doc/latex/pagelayout/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pagelayout/README.md	2024-07-31 20:44:04 UTC (rev 71936)
+++ trunk/Master/texmf-dist/doc/latex/pagelayout/README.md	2024-07-31 20:44:16 UTC (rev 71937)
@@ -1,4 +1,4 @@
-![The pagelayout LaTeX class](banner.svg)
+![The pagelayout LaTeX class](https://raw.githubusercontent.com/friedemannbartels/latex-pagelayout/1.1.1/doc/banner.svg)
 
 The pagelayout class enables you to design pages declaratively using simple macros for pages, covers, grids, templates, text, and graphics to create graphic rich, perfectly typeset, and print ready PDFs.
 
@@ -26,7 +26,7 @@
 }
 ```
 
-![A page with a two column layout](quickstart-1.svg)
+![A page with a two column layout](https://raw.githubusercontent.com/friedemannbartels/latex-pagelayout/1.1.1/doc/quickstart-1.svg)
 
 ### Templates
 
@@ -44,7 +44,7 @@
 \template{my template}{}
 ```
 
-![A template with two placeholders](quickstart-2.svg)
+![A template with two placeholders](https://raw.githubusercontent.com/friedemannbartels/latex-pagelayout/1.1.1/doc/quickstart-2.svg)
 
 You can set margin and gutter at grid, page, or document level.
 
@@ -72,17 +72,17 @@
 }
 ```
 
-![Photo with border and shadow](quickstart-3.svg)
+![Photo with border and shadow](https://raw.githubusercontent.com/friedemannbartels/latex-pagelayout/1.1.1/doc/quickstart-3.svg)
 
-Have a look at the [examples](doc) to learn how to create double pages, covers, and more.
+Have a look at the [examples](https://github.com/friedemannbartels/latex-pagelayout/tree/1.1.1/doc) to learn how to create double pages, covers, and more.
 
-For a complete reference, read the [manual](pagelayout-manual.pdf).
+For a complete reference, read the [manual](https://raw.githubusercontent.com/friedemannbartels/latex-pagelayout/1.1.1/doc/pagelayout-manual.pdf).
 
 ## Installation
 
 In general, you should use the package manager shipped with your TeX distribution to install the pagelayout package.
 
-To install manually, copy the contents of [pagelayout.tds.zip](https://github.com/friedemannbartels/latex-pagelayout/releases/download/1.1.0/pagelayout-1.1.0.tds.zip) to your local TeX directory tree and run the command `texhash`.
+To install manually, copy the contents of [pagelayout.tds.zip](https://github.com/friedemannbartels/latex-pagelayout/releases/download/1.1.1/pagelayout.tds.zip) to your local TeX directory tree and run the command `texhash`.
 
 To enable image optimization, shadow creation, and preflight, perform these installation steps:
 

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

Modified: trunk/Master/texmf-dist/doc/latex/pagelayout/pagelayout-manual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pagelayout/pagelayout-manual.tex	2024-07-31 20:44:04 UTC (rev 71936)
+++ trunk/Master/texmf-dist/doc/latex/pagelayout/pagelayout-manual.tex	2024-07-31 20:44:16 UTC (rev 71937)
@@ -18,7 +18,7 @@
 \usepackage{tikz}
 \OnlyDescription
 \hypersetup{pdfborder={0 0 0}}
-\def\pagelayoutversion{1.1.0}
+\def\pagelayoutversion{1.1.1}
 
 \begin{document}
 

Modified: trunk/Master/texmf-dist/doc/latex/pagelayout/tests.zip
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/man/man1/pagelayoutapi.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/man/man1/textestvis.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/pagelayout/pagelayoutapi
===================================================================
--- trunk/Master/texmf-dist/scripts/pagelayout/pagelayoutapi	2024-07-31 20:44:04 UTC (rev 71936)
+++ trunk/Master/texmf-dist/scripts/pagelayout/pagelayoutapi	2024-07-31 20:44:16 UTC (rev 71937)
@@ -13,7 +13,7 @@
 # LaTeX version 2008/05/04 or later.
 #
 
-version=1.1.0
+version=1.1.1
 
 _convert() {
   turbo=$1

Modified: trunk/Master/texmf-dist/scripts/pagelayout/textestvis
===================================================================
--- trunk/Master/texmf-dist/scripts/pagelayout/textestvis	2024-07-31 20:44:04 UTC (rev 71936)
+++ trunk/Master/texmf-dist/scripts/pagelayout/textestvis	2024-07-31 20:44:16 UTC (rev 71937)
@@ -13,7 +13,7 @@
 # LaTeX version 2008/05/04 or later.
 #
 
-version=1.1.0
+version=1.1.1
 
 OK="$( tput setaf 2 )•$( tput sgr0 )"
 FAILED="$( tput setaf 1 )$( tput bold )x$( tput sgr0 )"
@@ -122,13 +122,13 @@
           fi
         fi
 
-        magick convert -density $2 -quiet $tmpdir/$name.pdf $tmpdir/$name.png
+        magick -density $2 -quiet $tmpdir/$name.pdf $tmpdir/$name.png
         if [ -f "$tmpdir/$name.png" ]; then
           mv $tmpdir/$name.png $tmpdir/$name-0.png
         fi
 
         if [ -f "$name.approved.pdf" ]; then
-          magick convert -density $2 -quiet $name.approved.pdf $tmpdir/$name.approved.png
+          magick -density $2 -quiet $name.approved.pdf $tmpdir/$name.approved.png
           if [ -f "$tmpdir/$name.approved.png" ]; then
             mv $tmpdir/$name.approved.png $tmpdir/$name.approved-0.png
           fi
@@ -311,11 +311,11 @@
   spacer=""
   if [ -f "$filea" ]; then
     if [ -f "$fileb" ]; then
-      magick convert -density $1 -quiet $filea $tmpdir/$basenamea.png
+      magick -density $1 -quiet $filea $tmpdir/$basenamea.png
       if [ -f "$tmpdir/$basenamea.png" ]; then
         mv $tmpdir/$basenamea.png $tmpdir/$basenamea-0.png
       fi
-      magick convert -density $1 -quiet $fileb $tmpdir/$basenameb.png
+      magick -density $1 -quiet $fileb $tmpdir/$basenameb.png
       if [ -f "$tmpdir/$basenameb.png" ]; then
         mv $tmpdir/$basenameb.png $tmpdir/$basenameb-0.png
       fi

Modified: trunk/Master/texmf-dist/tex/latex/pagelayout/pagelayout.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pagelayout/pagelayout.cls	2024-07-31 20:44:04 UTC (rev 71936)
+++ trunk/Master/texmf-dist/tex/latex/pagelayout/pagelayout.cls	2024-07-31 20:44:16 UTC (rev 71937)
@@ -13,8 +13,8 @@
 %%
 
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesClass{pagelayout}[2024/01/17 Layout graphic rich documents]
-\def\pagelayoutversion{1.1.0}
+\ProvidesClass{pagelayout}[2024/07/31 Layout graphic rich documents]
+\def\pagelayoutversion{1.1.1}
 
 % packages
 \RequirePackage{pgfopts}
@@ -372,7 +372,11 @@
   \pal at outermargin=\ifdim\pal at gridoutermargin=\pal at undefdim\pal at gridmargin\else\pal at gridoutermargin\fi
 
   \height=\dimexpr\pal at pageheight - \pal at topmargin - \pal at bottommargin\relax
-  \width=\dimexpr\pal at pagewidth - \pal at innermargin - \pal at outermargin\relax
+  \ifpal at isdoublepage
+    \width=\dimexpr2\pal at pagewidth - 2\pal at outermargin\relax
+  \else
+    \width=\dimexpr\pal at pagewidth - \pal at innermargin - \pal at outermargin\relax
+  \fi
   \ifdim\dimexpr\pal at gridoptionheight\relax=\pal at undefdim
   \else
     \pal at gridheightdiff=\dimexpr0.5\height - 0.5\dimexpr\pal at gridoptionheight\relax\relax



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