%% $Id: pst-news25.tex 1107 2025-06-12 12:30:06Z herbert $
\DocumentMetadata{}
\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
   headinclude=false,footinclude=false,twoside,usegeometry,dvipsnames]{pst-doc}

\usepackage{libertinus}
\usepackage{hvlogos}
\listfiles
\usepackage{showexpl,pst-arrow,pst-plot,pst-geometrictools}
\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={},extendedchars},
   escapechar=?}

\usepackage{biblatex}
\addbibresource{PSTricks.bib}
\def\Lcs#1{\texttt{\textbackslash#1}}
\begin{document}

\title{\texttt{News -- \the\year}\\ \Large new macros and bugfixes for the basic package.}
\author{Herbert Voß}
\date{\today}

\settitle

\tableofcontents

\part{\texttt{pstricks} -- package}

%--------------------------------------------------------------------------------------
\section{\texttt{pstricks.sty}}
%--------------------------------------------------------------------------------------
Modified check for a wrong \LaTeX-doc filename \texttt{pstricks.tex}. The old one was
broken.


%--------------------------------------------------------------------------------------
\section{\texttt{pstricks.tex} (v. 3.22 -- 2025/06/11)}
%--------------------------------------------------------------------------------------

Modified \Lenv{pspicture} environment to allow optional arguments which are set
at the beginning of the environment:

Before:

\begin{verbatim}
\psset{unit=3cm}%    local to \subfloat
\begin{pspicture}(0,0)(3,3)
 \psgrid[subgriddiv=3, gridlabels=0](0,0)(3,3)
\end{pspicture}
\end{verbatim}

Now:

\begin{verbatim}
\begin{pspicture}[unit=3cm](0,0)(3,3)
 \psgrid[subgriddiv=3, gridlabels=0](0,0)(3,3)
\end{pspicture}
\end{verbatim}



\section{\LuaLaTeX}\label{lua}
This version has a stable basic support for the lua package
\LPack{luapstricks.lua}, available from \url{https://github.com/zauguin/luapstricks}.
This is also part of every \MiKTeX\ or \TeXLive\ installation.  This documentation was
run with \verb|lualatex|, which creates directly the pdf. No GhostScript needed.

Example:


 \def\myline#1{\psline[linecolor=red,linewidth=0.5pt,arrowscale=1.5]{#1}(0,1ex)(1.3,1ex)}%
 \def\mylineA#1{\psline[linecolor=red,linewidth=0.5pt,arrowscale=4.5]{#1}(0,1ex)(2,1ex)}%
 \psset{arrowscale=1.5}
 \begin{longtable}{@{} c @{\qquad} p{3cm} l @{}}%
   Value & Example & Name \\[2pt]\hline
   \Lnotation{-}      & \myline{-}      & None\\
   \Lnotation{<->}    & \myline{<->}    & Arrowheads.\\
   \Lnotation{>-<}    & \myline{>-<}    & Reverse arrowheads.\\
   \Lnotation{<{<}-{>}>}  & \myline{<<->>}  & Double arrowheads.\\
   \Lnotation{{>}>-{<}<}  & \myline{>>-<<}  & Double reverse arrowheads.\\
   \Lnotation{{|}-{|}}    & \myline{|-|}    & T-bars, flush to endpoints.\\
   \Lnotation{{|}*-{|}*}  & \myline{|*-|*}  & T-bars, centered on endpoints.\\
   \Lnotation{[-]}    & \myline{[-]}    & Square brackets.\\
   \Lnotation{]-[}    & \myline{]-[}    & Reversed square brackets.\\
   \Lnotation{(-)}    & \myline{(-)}    & Rounded brackets.\\
   \Lnotation{)-(}    & \myline{)-(}    & Reversed rounded brackets.\\
   \Lnotation{o-o}    & \myline{o-o}    & Circles, centered on endpoints.\\
   \Lnotation{*-*}    & \myline{*-*}    & Disks, centered on endpoints.\\
   \Lnotation{oo-oo}  & \myline{oo-oo}  & Circles, flush to endpoints.\\
   \Lnotation{**-**}  & \myline{**-**}  & Disks, flush to endpoints.\\
   \Lnotation{{|}<->{|}}  & \myline{|<->|}  & T-bars and arrows.\\
   \Lnotation{{|}>-<{|}}  & \myline{|>-<|}  & T-bars and reverse arrows.\\
   \Lnotation{h-h{}}   & \myline{h-h}    & left/right hook arrows.\\
   \Lnotation{H-H{}}   & \myline{H-H}    & left/right hook arrows.\\
   \Lnotation{v-v}   & \myline{v-v}    & left/right inside vee arrows.\\
   \Lnotation{V-V}   & \myline{V-V}    & left/right outside vee arrows.\\
   \Lnotation{f-f}   & \myline{f-f}    & left/right inside filled arrows.\\
   \Lnotation{F-F}   & \myline{F-F}    & left/right outside filled arrows.\\
   \Lnotation{t-t}   & \myline{t-t}    & left/right inside slash arrows.\\[5pt]
   \Lnotation{T-T}   & \myline{T-T}    & left/right outside slash arrows.\\
%
   \Lnotation{<D-D>}   & \mylineA{<D-D>}    & curved  arrows.\\
   \Lnotation{<D<D-D>D>}   & \mylineA{<D<D-D>D>}    & curved doubled arrows.\\
   \Lnotation{D>-<D}   & \mylineA{D>-<D}    & curved  arrows, tip inside.\\
   \Lnotation{<T-T>}   & \myline{<T-T>}    & curved lines.\\
%    \Lnotation{>T-T<}   & \mylineA{>T-T<}    & \TikZ\ like arrows.\\
   \hline
 \end{longtable}




\nocite{*}
\printbibliography


\end{document}