texlive[72029] Master/texmf-dist: pgfornament (14aug24)

commits+karl at tug.org commits+karl at tug.org
Wed Aug 14 21:47:30 CEST 2024


Revision: 72029
          https://tug.org/svn/texlive?view=revision&revision=72029
Author:   karl
Date:     2024-08-14 21:47:30 +0200 (Wed, 14 Aug 2024)
Log Message:
-----------
pgfornament (14aug24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/pgfornament/README.md
    trunk/Master/texmf-dist/doc/latex/pgfornament/ornaments.pdf
    trunk/Master/texmf-dist/doc/latex/pgfornament/ornaments.tex
    trunk/Master/texmf-dist/doc/latex/pgfornament/usefulcommands.tex
    trunk/Master/texmf-dist/tex/latex/pgfornament/pgfornament.sty

Modified: trunk/Master/texmf-dist/doc/latex/pgfornament/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pgfornament/README.md	2024-08-13 23:41:52 UTC (rev 72028)
+++ trunk/Master/texmf-dist/doc/latex/pgfornament/README.md	2024-08-14 19:47:30 UTC (rev 72029)
@@ -1,6 +1,6 @@
 # pgfornament – Drawing of Vectorian ornaments with PGF/TikZ
 
-Release 1.2 2020/05/28
+Release 1.3 2024/08/14
 
 ## Description
 
@@ -55,6 +55,9 @@
 Documentations for `pgfornament` and `tikzrput`  are available on CTAN and in your TeX distribution.
 
 ## History
+
+- v 1.3 Correction of bug (spurious space) by  Tibor Tómács and correction of the documentation.
+
 - v 1.2 Correction of bug (spurious space) by  LianTze Lim.
 
 - v 1.00 Add the Han ornanments and some new macros. Add some examples to the  documentation. Thanks to Pablo Gonzáles L to help me with "Git".

Modified: trunk/Master/texmf-dist/doc/latex/pgfornament/ornaments.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pgfornament/ornaments.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pgfornament/ornaments.tex	2024-08-13 23:41:52 UTC (rev 72028)
+++ trunk/Master/texmf-dist/doc/latex/pgfornament/ornaments.tex	2024-08-14 19:47:30 UTC (rev 72029)
@@ -8,7 +8,7 @@
 % of this license or (at your option) any later version and/or
 % 2. under the GNU Public License. 
 %---------%---------%---------%---------%---------%---------%---------%---------
-% Version 1.2 2020/0   5/26
+% Version 1.3 2024/08/14
 \RequirePackage{luatex85}
 \RequirePackage{silence}
 \WarningsOff[latex]
@@ -137,7 +137,7 @@
 
 
 \bigskip
-\noindent\pgfornament[width=0.75 cm]{152}\ (Version  1.2 2020/05/26)
+\noindent\pgfornament[width=0.75 cm]{152}\ (Version  1.3 2024/08/14)
 \begin{abstract}
 
 This document describes the \LaTeX\ package \emph{\docpkg{pgfornament}} and presents the syntax and parameters of the macro "pgfornament".

Modified: trunk/Master/texmf-dist/doc/latex/pgfornament/usefulcommands.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pgfornament/usefulcommands.tex	2024-08-13 23:41:52 UTC (rev 72028)
+++ trunk/Master/texmf-dist/doc/latex/pgfornament/usefulcommands.tex	2024-08-14 19:47:30 UTC (rev 72029)
@@ -5,11 +5,11 @@
 \setlength{\@tempdimb}{\paperwidth-\@tempdima-1cm}%
 \setlength{\@tempdimc}{\paperheight-\@tempdima}%
 \put(\LenToUnit{\@tempdima},\LenToUnit{\@tempdimc}){%
-  \pgfornament[color=Maroon,anchor=north west,width=1cm]{39}} 
+  \pgfornament[color=Maroon,anchor=north west,width=1cm]{39}}
+\put(\LenToUnit{\@tempdimb},\LenToUnit{\@tempdimc}){%
+  \pgfornament[color=Maroon,anchor=north east,width=1cm,symmetry=v]{39}} 
 \put(\LenToUnit{\@tempdima},\LenToUnit{\@tempdima}){%
   \pgfornament[color=Maroon,anchor=south west,width=1cm,symmetry=h]{39}}
-\put(\LenToUnit{\@tempdimb},\LenToUnit{\@tempdimc}){%
-  \pgfornament[color=Maroon,anchor=north east,width=1cm,symmetry=v]{39}} 
 \put(\LenToUnit{\@tempdimb},\LenToUnit{\@tempdima}){%
   \pgfornament[color=Maroon,anchor=south east,width=1cm,symmetry=c]{39}}    
 \endgroup  

Modified: trunk/Master/texmf-dist/tex/latex/pgfornament/pgfornament.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pgfornament/pgfornament.sty	2024-08-13 23:41:52 UTC (rev 72028)
+++ trunk/Master/texmf-dist/tex/latex/pgfornament/pgfornament.sty	2024-08-14 19:47:30 UTC (rev 72029)
@@ -17,7 +17,7 @@
 % Inspired from psvectorian P Fradin H Voss
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{tikz,pgfopts}
-\ProvidesPackage{pgfornament}[2020/05/26 v1.2 vector ornaments]
+\ProvidesPackage{pgfornament}[2024/08/14 v1.3 vector ornaments]
 \gdef\pgfOrnamentsObject{pgflibraryvectorian.code.tex} 
 \gdef\OrnamentsFamily{vectorian}  
 \pgfkeys{%
@@ -138,7 +138,7 @@
    \pgftransformscale{\pgfornamentscale}%
    \pgf@@ornament{#2}%
 \end{tikzpicture}%
-\tikzset{pgfornamentstyle/.style={cm={1,0,0,1,(0,0)}}}
+\tikzset{pgfornamentstyle/.style={cm={1,0,0,1,(0,0)}}}%
 }% end pgfornament
 
 \gdef\ornamenttopos{.5}
@@ -180,8 +180,8 @@
   \pgfextractx{\pgf at x}{\pgfpointanchor{#2}{#3 west}} 
   \pgf at xb=\pgf at x
   \advance\pgf at xb by -\pgf at xa
-\node[inner sep=0pt] at ($(#1.#3 east)!.5!(#2.#3 west)$) {\pgfornament[width=\pgf at xb]{#4}} ;  
-}
+\node[inner sep=0pt] at ($(#1.#3 east)!.5!(#2.#3 west)$) {\pgfornament[width=\pgf at xb]{#4}};  
+}%
 \def\pgfornamentvline#1#2#3#4{%
   \pgfextracty{\pgf at y}{\pgfpointanchor{#1}{south #3}}
   \pgf at ya=\pgf at y 
@@ -203,7 +203,7 @@
   \pgfmathsetmacro{#1}{atan2(\pgf at x,\pgf at y)}%
 }%
 \makeatother
-\newcommand{\resetpgfornamentstyle}{\tikzset{pgfornamentstyle/.style={}}}
+\newcommand{\resetpgfornamentstyle}{\tikzset{pgfornamentstyle/.style={}}}%
 
 % 2020 Changing vector objects
 \def\newpgfornamentfamily#1{%
@@ -219,11 +219,10 @@
   /ornamentline/.search also={/tikz}}
 \def\pgfornamentline{\pgfutil at ifnextchar[{\pgf at ornamentline}{\pgf at ornamentline[]}}%
 \def\pgf at ornamentline[#1]#2#3#4#5{%
-
 \pgfqkeys{/ornamentline}{#1}%
 \pgfmathsetmacro\nbo{#4}
 \path (#2) -- (#3) foreach \i in {0,...,\nbo} {coordinate[pos=\i/\nbo] (p\i)}
  [color=\ornamentcolor] foreach \i [count=\j]  in {0,...,\number\numexpr\nbo-1} { (p\i)  to [ornament=#5]   (p\j)};
-}
+}%
 \makeatother
 \endinput
\ No newline at end of file



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