From ff59efb1f42e705d74a6d50a1f8dbd7988ccf380 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 13 Feb 2024 03:01:44 +0000 Subject: CTAN sync 202402130301 --- graphics/gastex/README | 2 +- graphics/gastex/gastex-doc.pdf | Bin 130953 -> 134976 bytes graphics/gastex/gastex-doc.tex | 12 ++++++--- graphics/gastex/gastex.sty | 55 ++++++++++++++++++++++------------------- 4 files changed, 39 insertions(+), 30 deletions(-) (limited to 'graphics') diff --git a/graphics/gastex/README b/graphics/gastex/README index 193e52ad9f..d684aa2dc4 100644 --- a/graphics/gastex/README +++ b/graphics/gastex/README @@ -9,7 +9,7 @@ Author: ------- Paul Gastin -Copyright: 2021 by Paul Gastin +Copyright: 1999-2024 by Paul Gastin ---------- This program can be redistributed and/or modified under the terms of the LaTeX Project Public License Distributed from CTAN: diff --git a/graphics/gastex/gastex-doc.pdf b/graphics/gastex/gastex-doc.pdf index c331528fcf..4de5b135ca 100644 Binary files a/graphics/gastex/gastex-doc.pdf and b/graphics/gastex/gastex-doc.pdf differ diff --git a/graphics/gastex/gastex-doc.tex b/graphics/gastex/gastex-doc.tex index 712f98f22e..d3271a035a 100644 --- a/graphics/gastex/gastex-doc.tex +++ b/graphics/gastex/gastex-doc.tex @@ -16,7 +16,7 @@ \author{Paul Gastin \\[1ex] LMF, ENS Paris-Saclay \\ {\small\texttt{paul.gastin@ens-paris-saclay.fr}}} -\date{v3.0} +\date{v3.1} \begin{document} \maketitle \begin{abstract} @@ -83,8 +83,12 @@ \end{gpicture} -For the documentation, please see -\url{http://www.lsv.fr/~gastin/gastex/index.html}. +For the documentation, please see \url{http://www.lsv.fr/~gastin/gastex/index.html}. +Solutions to known problems can be found in this page. In particular, some problems which +started with TeXLive 2021 and related to the use of the document class +\textsf{lipics-v2021}, or the package \textsf{todonotes}, or the library \textsf{shadows} of +\textsf{tikz}, and possibly other contexts. + The package consists of two files \verb|gastex.sty| and \verb|gastex.pro|. \begin{itemize} @@ -175,7 +179,7 @@ then you may compile without the \verb|--shell-escape| option and \GasTeX automatically calls \verb|\includegraphics| to include the pictures that have been previously generated and stored in the file \verb|gastex-doc-pics.pdf|. -\begin{figure}[b] +\begin{figure}[htb] \centering \gusepicture{gpic:LR-concat} \hfill diff --git a/graphics/gastex/gastex.sty b/graphics/gastex/gastex.sty index 9fbb83909b..5c64cd2f48 100644 --- a/graphics/gastex/gastex.sty +++ b/graphics/gastex/gastex.sty @@ -17,8 +17,8 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{gastex}[2013/10/01 v3.0] -\RequirePackage{ifpdf} +\ProvidesPackage{gastex}[2024/02/12 v3.1] +\RequirePackage{iftex} \RequirePackage{xkeyval} \RequirePackage{xifthen} \RequirePackage{calc} @@ -83,7 +83,9 @@ % \ifgastex@pdflatex \ifgastex@autopstpdf + \PassOptionsToPackage{pspdf=-dALLOWPSTRANSPARENCY}{auto-pst-pdf} \RequirePackage{auto-pst-pdf} +% \RequirePackage[pspdf=-dALLOWPSTRANSPARENCY]{auto-pst-pdf} \else \RequirePackage{pst-pdf} \fi @@ -445,7 +447,7 @@ % width in \unitlegth of lines % dash={list of numbers}{offset} % Set the dash pattern used for drawing postscript paths. -% The numbers in the list indicate alternatively lengths +% The numbers in the list indicate alternately lengths % in \unitlength of dashes and lengths in \unitlength of spaces. % The list of lenghts is used circularly. % offset allows to start the pattern at some distance from its beginning. @@ -1277,6 +1279,7 @@ % [parameter=value,...] \def\drawbpedge#1(#2)#3{{% \@ifnextchar[{\process@bpedgeopt}{\draw@bpedge}#1(#2){#3}}} +\let\drawcbpedge\drawbpedge \def\process@bpedgeopt[#1]{\gasset{#1}\draw@bpedge}% \def\draw@bpedge(#1,#2,#3,#4,#5,#6)#7{% % Control points of the cubic Bezier curve @@ -1328,6 +1331,7 @@ % [parameter=value,...] \def\drawbcedge#1(#2)#3{{% \@ifnextchar[{\process@bcedgeopt}{\draw@bcedge}#1(#2){#3}}} +\let\drawcbedge\drawbcedge \def\process@bcedgeopt[#1]{\gasset{#1}\draw@bcedge}% \def\draw@bcedge(#1,#2,#3,#4,#5,#6)#7{% % Control points of the cubic Bezier curve @@ -1591,25 +1595,26 @@ % x1,y1 : coordinates of the upper right corner of the rectangle. % Optional argument: % [parameter=value,...] -\def\drawrect#1(#2){{% - \@ifnextchar[{\process@rectopt}{\draw@rect}#1(#2)}} -\def\process@rectopt[#1]{\gasset{#1}\draw@rect}% -\def\draw@rect(#1,#2,#3,#4){{% - \dim@x=#1\unitlength \edef\ps@x{\strip@PT\dim@x}% - \dim@x=#2\unitlength \edef\ps@y{\strip@PT\dim@x}% - \dim@x=#3\unitlength \edef\ps@a{\strip@PT\dim@x}% - \dim@x=#4\unitlength \edef\ps@b{\strip@PT\dim@x}% - \put(0,0){\special{" \gas@initps - \if@fill - \fill@color - \ps@x \ps@y \ps@a \ps@b !psrectpath fill - \fi - \if@frame - \line@color - \ps@x \ps@y \ps@a \ps@b !psrectpath stroke - \fi - }} -}} +\def\drawrect#1(#2,#3,#4,#5){\drawpolygon#1(#2,#3)(#4,#3)(#4,#5)(#2,#5)}% +% \def\drawrect#1(#2){{% +% \@ifnextchar[{\process@rectopt}{\draw@rect}#1(#2)}} +% \def\process@rectopt[#1]{\gasset{#1}\draw@rect}% +% \def\draw@rect(#1,#2,#3,#4){{% +% \dim@x=#1\unitlength \edef\ps@x{\strip@PT\dim@x}% +% \dim@x=#2\unitlength \edef\ps@y{\strip@PT\dim@x}% +% \dim@x=#3\unitlength \edef\ps@a{\strip@PT\dim@x}% +% \dim@x=#4\unitlength \edef\ps@b{\strip@PT\dim@x}% +% \put(0,0){\special{" \gas@initps +% \if@fill +% \fill@color +% \ps@x \ps@y \ps@a \ps@b !psrectpath fill +% \fi +% \if@frame +% \line@color +% \ps@x \ps@y \ps@a \ps@b !psrectpath stroke +% \fi +% }} +% }} %----------------------------------------------------------------------- % Draw an oval. @@ -1635,11 +1640,11 @@ \edef\ps@path{\ps@path !psovalpath\space}% \put(0,0){\special{" \gas@initps \if@fill - \fill@color \ps@path fill - \fi + \fill@color \ps@path fill + \fi \if@frame \line@color \ps@path stroke - \fi + \fi }} }} -- cgit v1.2.3