summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-07-06 20:18:18 +0000
committerKarl Berry <karl@freefriends.org>2022-07-06 20:18:18 +0000
commit8ee154b9a139bc485395d507ca7a735365ad302e (patch)
tree6a3c2dad1d14214f32505b73bc275775e618c9f9 /Master
parent815a0b67d7b58baed4297c4ef73ab7e9996ac703 (diff)
pst-magneticfield (6jul22)
git-svn-id: svn://tug.org/texlive/trunk@63821 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/generic/pst-magneticfield/Changes2
-rw-r--r--Master/texmf-dist/doc/generic/pst-magneticfield/README.md4
-rw-r--r--Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.bib17
-rw-r--r--Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.pdfbin29875894 -> 29829881 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex12
-rw-r--r--Master/texmf-dist/dvips/pst-magneticfield/pst-magneticfield.pro18
-rw-r--r--Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex10
7 files changed, 35 insertions, 28 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/Changes b/Master/texmf-dist/doc/generic/pst-magneticfield/Changes
index 7db4a1f61a6..6ac1a4c9604 100644
--- a/Master/texmf-dist/doc/generic/pst-magneticfield/Changes
+++ b/Master/texmf-dist/doc/generic/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/Master/texmf-dist/doc/generic/pst-magneticfield/README.md b/Master/texmf-dist/doc/generic/pst-magneticfield/README.md
index fcfa952ec8d..ed39bea7c8d 100644
--- a/Master/texmf-dist/doc/generic/pst-magneticfield/README.md
+++ b/Master/texmf-dist/doc/generic/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/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.bib b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.bib
index b96d8703ff5..f0c05dda6b3 100644
--- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.bib
+++ b/Master/texmf-dist/doc/generic/pst-magneticfield/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/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.pdf b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.pdf
index 3cb0021fa78..1c51ffa234a 100644
--- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex
index cec15ab89c7..da06c2bcdac 100644
--- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-magneticfield/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/Master/texmf-dist/dvips/pst-magneticfield/pst-magneticfield.pro b/Master/texmf-dist/dvips/pst-magneticfield/pst-magneticfield.pro
index 1e558cca83c..c794bf57120 100644
--- a/Master/texmf-dist/dvips/pst-magneticfield/pst-magneticfield.pro
+++ b/Master/texmf-dist/dvips/pst-magneticfield/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/Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex b/Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex
index 690afeca273..17d9d9a2e06 100644
--- a/Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex
+++ b/Master/texmf-dist/tex/generic/pst-magneticfield/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){%