texlive[69493] Master/texmf-dist: pst-magneticfield (19jan24)
commits+karl at tug.org
commits+karl at tug.org
Fri Jan 19 23:42:53 CET 2024
Revision: 69493
https://tug.org/svn/texlive?view=revision&revision=69493
Author: karl
Date: 2024-01-19 23:42:52 +0100 (Fri, 19 Jan 2024)
Log Message:
-----------
pst-magneticfield (19jan24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/pst-magneticfield/Changes
trunk/Master/texmf-dist/doc/generic/pst-magneticfield/README.md
trunk/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.pdf
trunk/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex
trunk/Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex
trunk/Master/texmf-dist/tex/latex/pst-magneticfield/pst-magneticfield.sty
Modified: trunk/Master/texmf-dist/doc/generic/pst-magneticfield/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-magneticfield/Changes 2024-01-19 22:42:34 UTC (rev 69492)
+++ trunk/Master/texmf-dist/doc/generic/pst-magneticfield/Changes 2024-01-19 22:42:52 UTC (rev 69493)
@@ -3,6 +3,7 @@
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
Modified: trunk/Master/texmf-dist/doc/generic/pst-magneticfield/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-magneticfield/README.md 2024-01-19 22:42:34 UTC (rev 69492)
+++ trunk/Master/texmf-dist/doc/generic/pst-magneticfield/README.md 2024-01-19 22:42:52 UTC (rev 69493)
@@ -5,7 +5,7 @@
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 @@
%% 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 $
Modified: trunk/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex 2024-01-19 22:42:34 UTC (rev 69492)
+++ trunk/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.tex 2024-01-19 22:42:52 UTC (rev 69493)
@@ -1,15 +1,19 @@
+%% $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 @@
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 @@
\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 @@
\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}:
Modified: trunk/Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex 2024-01-19 22:42:34 UTC (rev 69492)
+++ trunk/Master/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex 2024-01-19 22:42:52 UTC (rev 69493)
@@ -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
Modified: trunk/Master/texmf-dist/tex/latex/pst-magneticfield/pst-magneticfield.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pst-magneticfield/pst-magneticfield.sty 2024-01-19 22:42:34 UTC (rev 69492)
+++ trunk/Master/texmf-dist/tex/latex/pst-magneticfield/pst-magneticfield.sty 2024-01-19 22:42:52 UTC (rev 69493)
@@ -1,3 +1,4 @@
+%% $Id: pst-magneticfield.sty 840 2024-01-19 06:55:55Z herbert $
\RequirePackage{pstricks}
\RequirePackage{pst-3d}
\RequirePackage{multido}
More information about the tex-live-commits
mailing list.