diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-14 20:24:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-14 20:24:37 +0000 |
commit | f751fc4bd5f7fb3267af8e42e41ff23d61e79d9c (patch) | |
tree | 84f7774a74d8b786ef561f97ab0b938e5de72798 /Master/texmf-dist/tex/generic | |
parent | 5f01a4ce41fcc30f2b0a8ac557ba16f0ca293831 (diff) |
pst-mirror (14sep21)
git-svn-id: svn://tug.org/texlive/trunk@60506 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-mirror/pst-mirror.tex | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-mirror/pst-mirror.tex b/Master/texmf-dist/tex/generic/pst-mirror/pst-mirror.tex index dcb63ab6761..89917b065b0 100644 --- a/Master/texmf-dist/tex/generic/pst-mirror/pst-mirror.tex +++ b/Master/texmf-dist/tex/generic/pst-mirror/pst-mirror.tex @@ -1,4 +1,4 @@ -%% $Id: pst-mirror.tex 894 2014-02-18 09:46:21Z herbert $ +%% $Id: pst-mirror.tex 248 2021-09-14 08:57:11Z herbert $ %% %% This is file `pst-mirror.tex', %% @@ -23,11 +23,11 @@ \ifx\PSTricksLoaded\endinput\else\input pstricks.tex\fi \ifx\PSTXKeyLoaded\endinput \else\input pst-xkey \fi \ifx\PSTnodesLoaded\endinput\else\input pst-node \fi +\ifx\PSTtoolsLoaded\endinput\else\input pst-tools.tex \fi \ifx\MultidoLoaded\endinput \else\input multido.tex \fi % -%\def\fileversion{1.00} CTAN -\def\fileversion{1.01} -\def\filedate{2014/02/17}% +\def\fileversion{1.02} +\def\filedate{2021/09/14}% \message{`pst-mirror v\fileversion, \filedate\space (ml,hv)}% % \edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax @@ -85,14 +85,14 @@ \define@key[psset]{pst-mirror}{Hpyramide}[5]{\def\psk@Sphere@Hpyramide{#1}} % hauteur pyramide % choix de la police et de la taille des caractères en cm !! -\define@key[psset]{pst-mirror}{PSfont}[Times-Roman]{\def\psk@PSfont{/#1 }} +\define@key[psset]{pst-mirror}{fontname}[Times-Roman]{\def\psk@fontname{/#1 }} \define@key[psset]{pst-mirror}{fontscale}[1]{\def\psk@fontscale{#1 }} \define@key[psset]{pst-mirror}{xlabelsep}[-0.5]{\def\psk@xlabelsep{#1 }} \define@key[psset]{pst-mirror}{ylabelsep}[-0.5]{\def\psk@ylabelsep{#1 }} \define@key[psset]{pst-mirror}{xO}[0]{\def\pst@SphereMirror@xO{#1 }} % origine du texte \define@key[psset]{pst-mirror}{yO}[0]{\def\pst@SphereMirror@yO{#1 }} \define@key[psset]{pst-mirror}{translation}[0 0 0]{\def\psk@SphereMirror@translation{#1}} % vecteur translation -\psset[pst-mirror]{PSfont=Times-Roman,fontscale=1,xlabelsep=-0.5,ylabelsep=-0.5,xO=0,yO=0,translation=0 0 0} +\psset[pst-mirror]{fontname=Times-Roman,fontscale=1,xlabelsep=-0.5,ylabelsep=-0.5,xO=0,yO=0,translation=0 0 0} % \psset{Xmax=50,Ymax=50,Xmin=-50,Ymin=-50,pas=1,grille=10,distance=30,Rayon=10,scale=1, Xorigine=\psk@Sphere@Distance,Yorigine=0,Zorigine=0,RotX=0,RotY=0,RotZ=0, @@ -107,18 +107,17 @@ /unit_image {\pst@number\psunit div 10 mul} bind def %% Caracteres accentues /ReEncode { exch findfont - dup length dict begin { 1 index /FID eq {pop pop} {def} ifelse - }forall + dup length dict begin { 1 index /FID eq {pop pop} {def} ifelse }forall /Encoding ISOLatin1Encoding def currentdict end definefont pop } bind def \ifPst@isolatin - /Font \psk@PSfont\space /ISOfont ReEncode /ISOfont def + /Font \psk@fontname /ISOfont ReEncode /ISOfont def \else - /Font \psk@PSfont\space def + /Font \psk@fontname def \fi /SizeFont { \psk@fontscale\space cm } bind def - Font findfont SizeFont scalefont setfont + Font findfont SizeFont scalefont setfont /x0 \pst@SphereMirror@xO def % pour positionner le texte /y0 \pst@SphereMirror@yO def % /Xmax \psk@Sphere@Xmax\space def |