diff options
author | Norbert Preining <norbert@preining.info> | 2022-07-07 03:01:45 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-07-07 03:01:45 +0000 |
commit | c925207bc17a56bf94a6e3d156db27042965136d (patch) | |
tree | b5dc80f7f6791eba6121e1a44c1c2b9a4b46dbb2 /graphics/pstricks | |
parent | 9f9a07ef2eb0c1f25ce9afc7bb94928956c036ea (diff) |
CTAN sync 202207070301
Diffstat (limited to 'graphics/pstricks')
7 files changed, 35 insertions, 28 deletions
diff --git a/graphics/pstricks/contrib/pst-magneticfield/Changes b/graphics/pstricks/contrib/pst-magneticfield/Changes index 7db4a1f61a..6ac1a4c960 100644 --- a/graphics/pstricks/contrib/pst-magneticfield/Changes +++ b/graphics/pstricks/contrib/pst-magneticfield/Changes @@ -3,6 +3,7 @@ pst-magneticfield.sty -------- pst-magneticfield.tex -------- +1.17 2022-07-06 - fix for missing colors for bar magnet 1.16 2019-01-21 - fix for linewidtht 1.15 2019-01-17 - added bar magnet 1.14 2011-05-01 - allow arrow definition for the current @@ -15,5 +16,6 @@ pst-magneticfield.tex -------- pst-magneticfield.pro -------- +0.03 2010-06-11 - modified fix 0.02 2010-06-11 - fix bug with wrong arrow directions 0.01 2010-06-07 - initial pro file diff --git a/graphics/pstricks/contrib/pst-magneticfield/README.md b/graphics/pstricks/contrib/pst-magneticfield/README.md index fcfa952ec8..ed39bea7c8 100644 --- a/graphics/pstricks/contrib/pst-magneticfield/README.md +++ b/graphics/pstricks/contrib/pst-magneticfield/README.md @@ -10,12 +10,12 @@ CTAN server, http://mirror.ctan.org PSTricks is PostScript Tricks, the documentation cannot be run with pdftex, use the sequence latex->dvips->ps2pdf or -pdflatex with package auto-pst-pdf or xelatex. +pdflatex with package auto-pst-pdf or xelatex or lualatex. %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN archives %% in directory macros/latex/base/lppl.txt. -%% $Id: README.md 912 2019-01-17 10:46:15Z herbert $ +%% $Id: README.md 582 2022-07-06 07:49:15Z herbert $ diff --git a/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.bib b/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.bib index b96d8703ff..f0c05dda6b 100644 --- a/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.bib +++ b/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.bib @@ -1,14 +1,13 @@ -%% -*-bibtex-*- @STRING{tugboat = {TUGboat} } @STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} } @Book{companion, author = {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Dennis Roegel and Herbert Vo\ss}, title = {The {\LaTeX} {G}raphics {C}ompanion}, - publisher = {{Addison-Wesley Publishing Company}}, - edition = {second}, - year = {2007}, - address = {Reading, Mass.} + publisher = {{Lehmanns Media}}, + edition = {2}, + year = {2022}, + address = {Berlin and Heidelberg} } @Article{girou:01:, @@ -52,10 +51,10 @@ @Book{PSTricks2, author = {Herbert Vo\ss{}}, title = {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX}, - edition = {fifth}, - publisher = {DANTE -- Lehmanns}, - year = {2008}, - address = {Heidelberg/Hamburg} + edition = {7}, + publisher = {DANTE -- Lehmanns Media}, + year = {2019}, + address = {Heidelberg and Berlin} } @Book{abramowitz, diff --git a/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.pdf b/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.pdf Binary files differindex 3cb0021fa7..1c51ffa234 100644 --- a/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.pdf +++ b/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.pdf diff --git a/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.tex b/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.tex index cec15ab89c..da06c2bcda 100644 --- a/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.tex +++ b/graphics/pstricks/contrib/pst-magneticfield/doc/pst-magneticfield-doc.tex @@ -1,6 +1,7 @@ -%% $Id: pst-magneticfield-doc.tex 916 2019-01-20 19:52:57Z herbert $ -\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings, - headexclude,footexclude,oneside]{pst-doc} +%\RequirePackage{pdfmanagement-testphase} +%\DeclareDocumentMetadata{} +\documentclass[11pt,english,bibliography=totoc,parskip=false,headings=small,usegeometry,]{pst-doc} + \usepackage{pst-magneticfield} \let\pstMFfv\fileversion \usepackage{graphicx} @@ -18,9 +19,10 @@ \title{\texttt{pst-magneticfield}} \subtitle{Magnetic field lines of a solenoid; v.\pstMFfv} -\author{Juergen Gilg\\ Manuel Luque\\Herbert Vo\ss} +\author{Juergen Gilg (†\,2022)\\ Manuel Luque\\Herbert Vo\ss} +\docauthor{} \date{\today} -\maketitle +\settitle \clearpage% diff --git a/graphics/pstricks/contrib/pst-magneticfield/dvips/pst-magneticfield.pro b/graphics/pstricks/contrib/pst-magneticfield/dvips/pst-magneticfield.pro index 1e558cca83..c794bf5712 100644 --- a/graphics/pstricks/contrib/pst-magneticfield/dvips/pst-magneticfield.pro +++ b/graphics/pstricks/contrib/pst-magneticfield/dvips/pst-magneticfield.pro @@ -1,4 +1,4 @@ -%% $Id: pst-magneticfield.pro 346 2010-06-11 06:12:08Z herbert $ +%% $Id: pst-magneticfield.pro 582 2022-07-06 07:49:15Z herbert $ %% %% This is file pst-magneticfield.pro, %% @@ -16,7 +16,7 @@ %% DESCRIPTION: %% `pst-magneticfield' is a PSTricks package to draw fields of Helmholtz coils %% -%% version 0.02 / 2010-06-11 Herbert Voss <hvoss _at_ tug.org> +%% version 0.03 / 2010-06-11 Herbert Voss <hvoss _at_ tug.org> %% % /tx@MFieldDict 60 dict def @@ -25,7 +25,7 @@ tx@MFieldDict begin % helper functions /setpixel { 1 0 360 arc fill } bind def % -/fleche { +/setArrow { gsave x2 y2 moveto y2 y1 sub x2 x1 sub atan rotate % 1 1 scale @@ -165,7 +165,7 @@ tx@MFieldDict begin % les flèches (xP,yP) 1 1 setValues nCount 0 eq {/yAxe1 y1 def /yAxe2 y2 def} if - fleche + setArrow % Ligne_Champ 0 get aload pop neg moveto % xP -yP 1 1 Ligne_Champ length 1 sub { @@ -176,7 +176,7 @@ tx@MFieldDict begin trace 1 eq { % (xP,-yP) 1 -1 setValues - fleche + setArrow } if Ligne_Champ 0 get aload pop exch neg exch moveto % -xP yP 1 1 Ligne_Champ length 1 sub { @@ -186,7 +186,7 @@ tx@MFieldDict begin stroke % (-xP,yP) -1 1 setValues - fleche + setArrow Ligne_Champ 0 get aload pop exch neg exch neg moveto % -xP -yP 1 1 Ligne_Champ length 1 sub { /iCompteur ED @@ -196,7 +196,7 @@ tx@MFieldDict begin trace 1 eq { % (-xP,-yP) -1 -1 setValues - fleche + setArrow } if } def % @@ -275,12 +275,12 @@ StreamDensityPlot { /y1 yAxe1 def /y2 yAxe2 def /x2 0 def - fleche + setArrow %/x1 0 def /y1 yAxe2 neg def /y2 yAxe1 neg def %/x2 0 def - fleche } if + setArrow } if % quelques lignes de champ autour de chaque spire /trace 0 def /increment 0.25 Radius mul def diff --git a/graphics/pstricks/contrib/pst-magneticfield/tex/pst-magneticfield.tex b/graphics/pstricks/contrib/pst-magneticfield/tex/pst-magneticfield.tex index 690afeca27..17d9d9a2e0 100644 --- a/graphics/pstricks/contrib/pst-magneticfield/tex/pst-magneticfield.tex +++ b/graphics/pstricks/contrib/pst-magneticfield/tex/pst-magneticfield.tex @@ -1,7 +1,7 @@ %% Package `pst-magneticfield.tex' %% %% Manuel Luque -%% Jürgen Gilg +%% Jürgen Gilg (†2022) %% Herbert Voß %% %% This program can be redistributed and/or modified under @@ -22,8 +22,8 @@ \ifx\MultidoLoaded\endinput\else \input multido.tex\fi \ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi % -\def\fileversion{1.16} -\def\filedate{2019/01/21} +\def\fileversion{1.17} +\def\filedate{2022/07/06} \message{`pst-magneticfield' v\fileversion, \filedate\space (ml,jg,hv)} % \edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax @@ -210,6 +210,10 @@ \fi} }% +\definecolor{Red}{cmyk}{0,1,1,0} +\definecolor{BrickRed}{cmyk}{0,0.89,0.94,0.28} +\definecolor{Green}{cmyk}{1,0,1,0} + \def\psBarMagnet{\pst@object{psBarMagnet}} \def\psBarMagnet@i{\@ifnextchar(\psBarMagnet@ii{\psBarMagnet@ii(0,0)}}% \def\psBarMagnet@ii(#1){% |