summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-19 22:42:52 +0000
committerKarl Berry <karl@freefriends.org>2024-01-19 22:42:52 +0000
commit56e6f253d570bfa506ae78a1b9f0677ba4fcb498 (patch)
tree9ca70386eab0b46421f78fda60e429577b4dca62 /Master/texmf-dist
parent683c12fcce35d17ed83cc88c81bb762f4170282f (diff)
pst-magneticfield (19jan24)
git-svn-id: svn://tug.org/texlive/trunk@69493 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/generic/pst-magneticfield/Changes1
-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.pdfbin29829881 -> 30026199 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex21
-rw-r--r--Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex5
-rw-r--r--Master/texmf-dist/tex/latex/pst-magneticfield/pst-magneticfield.sty1
6 files changed, 21 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/Changes b/Master/texmf-dist/doc/generic/pst-magneticfield/Changes
index 6ac1a4c9604..a3172be4072 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.17a 2024-01-19 - typos
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
diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/README.md b/Master/texmf-dist/doc/generic/pst-magneticfield/README.md
index ed39bea7c8d..bbaaed4a75d 100644
--- a/Master/texmf-dist/doc/generic/pst-magneticfield/README.md
+++ b/Master/texmf-dist/doc/generic/pst-magneticfield/README.md
@@ -5,7 +5,7 @@ local TeX tree. The pro file should go into $TEXMF/dvips/pstricks/
Then do not forget to run texhash to update this tree.
pst-magneticfield needs pstricks, which should
-be part of your local TeX installation, otherwise get it from a
+be part of your local TeX distribution, otherwise get it from a
CTAN server, http://mirror.ctan.org
PSTricks is PostScript Tricks, the documentation cannot be run
@@ -17,5 +17,5 @@ pdflatex with package auto-pst-pdf or xelatex or lualatex.
%% in directory macros/latex/base/lppl.txt.
-%% $Id: README.md 582 2022-07-06 07:49:15Z herbert $
+%% $Id: README.md 841 2024-01-19 06:56:44Z herbert $
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 1c51ffa234a..a793cde7962 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 da06c2bcdac..067f2a08d57 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,14 +1,18 @@
+%% $Id: pst-magneticfield-doc.tex 840 2024-01-19 06:55:55Z herbert $
+
%\RequirePackage{pdfmanagement-testphase}
%\DeclareDocumentMetadata{}
\documentclass[11pt,english,bibliography=totoc,parskip=false,headings=small,usegeometry,]{pst-doc}
-\usepackage{pst-magneticfield}
+\usepackage{pst-magneticfield,hvqrurl}
\let\pstMFfv\fileversion
\usepackage{graphicx}
\lstset{pos=t,language=PSTricks,
morekeywords={psmagneticfield,psmagneticfieldThreeD},basicstyle=\footnotesize\ttfamily}
-\newenvironment{postscript}{}{} % uncomment, when running with latex
+
+\usepackage{auto-pst-pdf}
+%\newenvironment{postscript}{}{} % uncomment, when running with latex
\newcommand\Cadre[1]{\psframebox[fillstyle=solid,fillcolor=black,linestyle=none,framesep=0]{#1}}
\def\bgImage{}
@@ -42,7 +46,7 @@ seemed to be the best compromise between speed and accuracy of calculations for
The calculation of elliptic integrals for the evaluation of the magnetic field
was achieved by polynomial approximations from the "Handbook of Mathematical
Functions With Formulas, Graph, And Mathematical Tables" by Milton Abramowitz and
-Irene.\,A. Stegun (\url{http://www.math.sfu.ca/~cbm/aands/}).~\cite{abramowitz}
+Irene\,A.~Stegun (\hvqrurl{http://www.math.sfu.ca/~cbm/aands/}).~\cite{abramowitz}
\end{abstract}
\clearpage
@@ -568,7 +572,9 @@ with setting the keyword \Lkeyword{setgray}.
\section{Bar magnet}
-The magnetic field of a bat magnet can be simulated. There is one macro for the bar magnet, which will be
+The magnetic field of a bar magnet can be simulated. It is \emph{not} the correct
+magnetic field!
+There is one macro for the bar magnet, which will be
put over one of the above created mnagnetic fields.
\begin{BDef}
@@ -590,13 +596,14 @@ Bar magnet and field can be put of the other by single commands:
\begin{LTXexample}
-\begin{pspicture*}[showgrid=false](-7,-8)(7,8)
+\begin{pspicture*}[showgrid=false](-7,-8)(7,8)%% Example by Keno Wehr
\psset{linecolor=blue}
-\psscalebox{0.8 1.2}{\psmagneticfield[R=1,L=5,N=5,pointsS=200,nL=18,nS=0,PasB=0.1,numSpires=0](-8,-10)(8,10)}
-\rput(0,0){\psscalebox{2.2 3.0}{\psBarMagnet}}
+\psmagneticfield[R=1.5,L=6,N=20,nL=20,nS=0](-6,-7)(6,7)
+\psBarMagnet[magnetScale=2.3 1.8](0.05,0)
\end{pspicture*}
\end{LTXexample}
+
\clearpage
or by using the optional argument \Lkeyword{showField}:
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 17d9d9a2e06..f4e3ceec1d1 100644
--- a/Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex
+++ b/Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex
@@ -1,3 +1,4 @@
+%% $Id: pst-magneticfield.tex 840 2024-01-19 06:55:55Z herbert $
%% Package `pst-magneticfield.tex'
%%
%% Manuel Luque
@@ -22,8 +23,8 @@
\ifx\MultidoLoaded\endinput\else \input multido.tex\fi
\ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi
%
-\def\fileversion{1.17}
-\def\filedate{2022/07/06}
+\def\fileversion{1.17a}
+\def\filedate{2024/01/19}
\message{`pst-magneticfield' v\fileversion, \filedate\space (ml,jg,hv)}
%
\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
diff --git a/Master/texmf-dist/tex/latex/pst-magneticfield/pst-magneticfield.sty b/Master/texmf-dist/tex/latex/pst-magneticfield/pst-magneticfield.sty
index 3ae0e4bd760..f1e1ef2d777 100644
--- a/Master/texmf-dist/tex/latex/pst-magneticfield/pst-magneticfield.sty
+++ b/Master/texmf-dist/tex/latex/pst-magneticfield/pst-magneticfield.sty
@@ -1,3 +1,4 @@
+%% $Id: pst-magneticfield.sty 840 2024-01-19 06:55:55Z herbert $
\RequirePackage{pstricks}
\RequirePackage{pst-3d}
\RequirePackage{multido}