texlive[71545] Master/texmf-dist: pst-optic

commits+karl at tug.org commits+karl at tug.org
Sun Jun 16 22:27:25 CEST 2024


Revision: 71545
          https://tug.org/svn/texlive?view=revision&revision=71545
Author:   karl
Date:     2024-06-16 22:27:25 +0200 (Sun, 16 Jun 2024)
Log Message:
-----------
pst-optic

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pst-optic/Changes
    trunk/Master/texmf-dist/doc/generic/pst-optic/README
    trunk/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.bib
    trunk/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.pdf
    trunk/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.tex
    trunk/Master/texmf-dist/tex/generic/pst-optic/pst-optic.tex

Modified: trunk/Master/texmf-dist/doc/generic/pst-optic/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-optic/Changes	2024-06-16 20:14:54 UTC (rev 71544)
+++ trunk/Master/texmf-dist/doc/generic/pst-optic/Changes	2024-06-16 20:27:25 UTC (rev 71545)
@@ -1,4 +1,5 @@
 ---- pst-optic.tex
+1.04  2024-06-02  - small fixes to code and documentation
 1.03  2024-05-17  - small fixes to code and documentation
 1.02a 2023-05-07  - fix documentation for \psRefractionRay
 1.02  2016-07-10  - added option onlyrays, preset to false

Modified: trunk/Master/texmf-dist/doc/generic/pst-optic/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-optic/README	2024-06-16 20:14:54 UTC (rev 71544)
+++ trunk/Master/texmf-dist/doc/generic/pst-optic/README	2024-06-16 20:27:25 UTC (rev 71545)
@@ -3,7 +3,7 @@
 %% Manuel Luque <Mluque5130 at aol.com> (France)
 %% Herbert Voss <hvoss at tug.org> (Germany)
 %%
-%% 2023-05-07
+%% 2024-06-02
 %%
 
 Save the files
@@ -21,5 +21,6 @@
 
 to get a PostScript file. But pay attention, that the pst-optic
 files are saved in the above mentioned way, before you run
-latex on the documentation file.
+latex on the documentation file. Or simply use lualatex to get
+directly the pdf.
 

Modified: trunk/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.bib
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.bib	2024-06-16 20:14:54 UTC (rev 71544)
+++ trunk/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.bib	2024-06-16 20:27:25 UTC (rev 71545)
@@ -96,7 +96,7 @@
 
 
 @Article{dtk02.1:voss:mathematischen,
-  author	= {Herbert Voß},
+  author	= {Herbert Vo{\ss}},
   title		= {Die mathematischen {F}unktionen von {P}ostscript},
   journal	= dtk,
   year		= 2002,
@@ -105,7 +105,7 @@
   altnumber	= 14,
   month		= mar,
   pages		= {40--47},
-  annote	= "Bretter, die die Welt bedeuten",
+  annote	= bretter,
   abstract	= { \PS, faktisch genauso alt wie {\TeX}, ist im
 		  Verh{\"a}ltnis dazu allgemein noch weniger bekannt, wenn es
 		  darum geht zu beurteilen, was es denn nun im eigentlichen
@@ -117,3 +117,10 @@
 		  gezeigt. }
 }
 
+ at ctan{pstlens:2001,
+  Title          = {PST-lens - {\PS} macros for Generic TeX},
+  Author         = {Denis Girou and Manuel Luque},
+  url        = {/graphics/pstricks/contrib/pst-lens/},
+  year           = 2001,
+}
+

Modified: trunk/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.tex	2024-06-16 20:14:54 UTC (rev 71544)
+++ trunk/Master/texmf-dist/doc/generic/pst-optic/pst-optic-doc.tex	2024-06-16 20:27:25 UTC (rev 71545)
@@ -1,4 +1,4 @@
-%% $Id: pst-optic-doc.tex 896 2024-05-17 10:13:27Z herbert $
+%% $Id: pst-optic-doc.tex 903 2024-06-02 06:16:43Z herbert $
 \DocumentMetadata{}
 
 \documentclass[11pt,english,bibliography=totoc,parskip=false,headings=small,
@@ -132,7 +132,7 @@
 \begin{BDef}
 \Lcs{lens}\OptArgs\\
 \Lcs{lensCVG} \% \textbf{C}on\textbf{v}er\textbf{g}ent (Collecting lens ) -- default\\
-\Lcs{lensDVG} \% \textbf{D}i\textbf{v}er\textbf{g}ent (Scatter lens )
+\Lcs{lensDVG} \% \textbf{D}i\textbf{v}er\textbf{g}ent (Scatter lens )\\
 \Lcs{pslensCVG}\OptArgs \Largb{lens width}\Largb{lens height}\\
 \Lcs{pslensDVG}\OptArgs \Largb{lens width}\Largb{lens height}\\
 \end{BDef}
@@ -148,7 +148,7 @@
 
 
 \subsection{Short forms}
-The two macros \Lcs{lensCVG} and \Lcs{lensDVG} are only short forms of the main macro \Lcs{lens}
+The two macros \Lcs{lensCVG} and \Lcs{lensDVG} draw some more rays as the main macro \Lcs{lens}
 with the setting \Lkeyval{lensType}\texttt{=CVG|DVG}.
 The only valid arguments are \Lkeyword{lensScale}, \Lkeyword{lensWidth}, and \Lkeyword{lensHeight},
 which must be set by \Lcs{psset}. 
@@ -235,16 +235,17 @@
 	Lense width in cm 		& \Lkeyword{lensWidth}  & 0.5cm\footnotemark\\
 	vertical scale (obsolet)	& \Lkeyword{lensScale}  & 1\\
 	View the lens 			& \Lkeyword{lensGlass}  & \true\\
-	show onyl the rays 		& \Lkeyword{onlyrays}  & \false\\
+	show only the rays 		& \Lkeyword{onlyrays}  & \false\\
 	Second lens			& \Lkeyword{lensTwo}	& \false\\
 	Focus  in cm			& \Lkeyword{focus}	& 2\\
-	Distance $\mathrm{\overline{OA}}$& \Lkeyword{OA}	& -4\\
-	Distance $\mathrm{\overline{AB}}$& \Lkeyword{AB}	& 1.5\\
-	Lens color			& \Lkeyword{lenscolor}  & \black\\
-	Arrow length in cm		& \Lkeyword{lensarrowsize}  & 0.2\\
-	Arrow inset in cm		& \Lkeyword{lensarrowinset} & 0.5\\
+	Distance $\mathrm{\overline{OA}}$& \Lkeyword{OA}	& -3\\
+	Distance $\mathrm{\overline{AB}}$& \Lkeyword{AB}	& 1\\
+	Lens color			& \Lkeyword{lenscolor}\footnotemark  & \black\\
+	Arrow length in cm		& \Lkeyword{lensArrowSize}${}^2$  & 0.2\\
+	Arrow inset in cm		& \Lkeyword{lensArrowInset}${}^2$ & 0.5\\
 \end{tabular}
 \footnotetext{\textsuperscript{1} only for \Lkeyset{lensGlass=true}, otherwise set to \texttt{2\textbackslash pslinewidth}}
+\footnotetext{\textsuperscript{2} only for \Lkeyset{lensGlass=false}}
 \end{minipage}
 \end{table}
 

Modified: trunk/Master/texmf-dist/tex/generic/pst-optic/pst-optic.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-optic/pst-optic.tex	2024-06-16 20:14:54 UTC (rev 71544)
+++ trunk/Master/texmf-dist/tex/generic/pst-optic/pst-optic.tex	2024-06-16 20:27:25 UTC (rev 71545)
@@ -1,4 +1,4 @@
-%%%% $Id: pst-optic.tex 896 2024-05-17 10:13:27Z herbert $
+%%%% $Id: pst-optic.tex 903 2024-06-02 06:16:43Z herbert $
 %% This is file `pst-optic.tex',
 %% 
 %% IMPORTANT NOTICE:
@@ -8,7 +8,7 @@
 %% Manuel Luque <Mluque5130 at aol.com> (France)
 %% Herbert Voss <hvoss at tug.org> (Germany)
 %%
-%% 2024-05-17
+%% 2024-06-02
 %%
 %% This program can be redistributed and/or modified under the terms
 %% of the LaTeX Project Public License Distributed from CTAN archives
@@ -30,8 +30,8 @@
 \ifx\PSTMultidoLoaded\endinput\else\input multido.tex\fi
 \ifx\PSTXKeyLoaded\endinput\else   \input pst-xkey\fi
 %
-\def\fileversion{1.03}
-\def\filedate{2024/05/17}
+\def\fileversion{1.04}
+\def\filedate{2024/06/02}
 \message{`PST-Optic' v\fileversion, \filedate\space (Manuel Luque and Herbert Voss)}
 %
 \edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
@@ -798,13 +798,19 @@
     \begingroup%
       \ifPst at lensGlass
         \rput(! XO YO){%
-	  \ifx\psk at optic@lensType\lensTypeCVG\lensCVG%
-	  \else\ifx\psk at optic@lensType\lensTypePCVG\lensCVG
- 	    \else\lensDVG\fi\fi}%
-      \else%
-        \ifx\psk at optic@lensType\lensTypeDVG\psset{arrows=>-<}\else
-          \ifx\psk at optic@lensType\lensTypePDVG\psset{arrows=>-<}\else\psset{arrows=<->}
-	\fi\fi
+	      \ifx\psk at optic@lensType\lensTypeCVG \lensCVG%
+	      \else\ifx\psk at optic@lensType\lensTypePCVG \lensCVG
+ 	        \else\lensDVG
+ 	      \fi\fi}%
+      \else
+        \ifx\psk at optic@lensType\lensTypeDVG 
+          \psset{arrows=>-<}
+        \else
+          \ifx\psk at optic@lensType\lensTypePDVG
+            \psset{arrows=>-<}%
+          \else
+            \psset{arrows=<->}%
+	    \fi\fi
         \psline[linecolor=\psk at optic@lensColor,
           linewidth=\psk at optic@lensWidth,arrowsize=\psk at optic@lensArrowSize,
           arrowinset=\psk at optic@lensArrowInset]%



More information about the tex-live-commits mailing list.