texlive[60635] Master/texmf-dist: uwa-letterhead (28sep21)

commits+karl at tug.org commits+karl at tug.org
Tue Sep 28 22:40:24 CEST 2021


Revision: 60635
          http://tug.org/svn/texlive?view=revision&revision=60635
Author:   karl
Date:     2021-09-28 22:40:23 +0200 (Tue, 28 Sep 2021)
Log Message:
-----------
uwa-letterhead (28sep21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/uwa-letterhead/README
    trunk/Master/texmf-dist/doc/latex/uwa-letterhead/uwa-letterhead.pdf
    trunk/Master/texmf-dist/source/latex/uwa-letterhead/uwa-letterhead.dtx
    trunk/Master/texmf-dist/source/latex/uwa-letterhead/uwa-letterhead.ins
    trunk/Master/texmf-dist/tex/latex/uwa-letterhead/uwa-letterhead.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/uwa-letterhead/uwa-letterhead-example.tex

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/uwa-letterhead/example.tex

Modified: trunk/Master/texmf-dist/doc/latex/uwa-letterhead/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uwa-letterhead/README	2021-09-28 02:01:28 UTC (rev 60634)
+++ trunk/Master/texmf-dist/doc/latex/uwa-letterhead/README	2021-09-28 20:40:23 UTC (rev 60635)
@@ -20,4 +20,5 @@
 The Current Maintainer of this work is Anthony Di Pietro.
 
 This work consists of the files uwa-letterhead.dtx, uwa-letterhead.ins, and
-example.tex and the derived files uwa-letterhead.sty and uwa-letterhead.pdf.
+uwa-letterhead-example.tex and the derived files uwa-letterhead.sty and
+uwa-letterhead.pdf.

Deleted: trunk/Master/texmf-dist/doc/latex/uwa-letterhead/example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uwa-letterhead/example.tex	2021-09-28 02:01:28 UTC (rev 60634)
+++ trunk/Master/texmf-dist/doc/latex/uwa-letterhead/example.tex	2021-09-28 20:40:23 UTC (rev 60635)
@@ -1,43 +0,0 @@
-% Copyright 2019, 2021 Anthony Di Pietro
-%
-% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-%   http://www.latex-project.org/lppl.txt
-% and version 1.3 or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Anthony Di Pietro.
-%
-% This work consists of the files uwa-letterhead.dtx, uwa-letterhead.ins, and
-% example.tex and the derived files uwa-letterhead.sty and uwa-letterhead.pdf.
-
-\documentclass[a4paper,11pt]{article}
-\usepackage{uwa-letterhead}
-
-\author{John Smith}
-\school{School of Psychological Science}
-\mbdp{000}
-\phone{+61 8 6488 0000}
-\mobile{+61 000 000 000}
-\email{john.smith at uwa.edu.au}
-
-\begin{document}
-
-Joe Bloggs \\
-1 Main Street \\
-Perth WA 6000
-
-\vspace{2\baselineskip}
-
-Dear Joe,
-
-This is an example of the \texttt{uwa-letterhead} package.
-
-Yours sincerely, \\
-John Smith
-
-\end{document}

Added: trunk/Master/texmf-dist/doc/latex/uwa-letterhead/uwa-letterhead-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uwa-letterhead/uwa-letterhead-example.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/uwa-letterhead/uwa-letterhead-example.tex	2021-09-28 20:40:23 UTC (rev 60635)
@@ -0,0 +1,43 @@
+% Copyright 2019, 2021 Anthony Di Pietro
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Anthony Di Pietro.
+%
+% This work consists of the files uwa-letterhead.dtx, uwa-letterhead.ins, and
+% uwa-letterhead-example.tex and the derived files uwa-letterhead.sty and
+% uwa-letterhead.pdf.
+
+\documentclass[a4paper,11pt]{article}
+\usepackage{uwa-letterhead}
+
+\author{John Smith}
+\school{School of Psychological Science}
+\mbdp{000}
+\phone{+61 8 6488 0000}
+\email{john.smith at uwa.edu.au}
+
+\begin{document}
+
+Joe Bloggs \\
+1 Main Street \\
+Perth WA 6000
+
+\vspace{2\baselineskip}
+
+Dear Joe,
+
+This is an example of the \texttt{uwa-letterhead} package.
+
+Yours sincerely, \\
+John Smith
+
+\end{document}


Property changes on: trunk/Master/texmf-dist/doc/latex/uwa-letterhead/uwa-letterhead-example.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/uwa-letterhead/uwa-letterhead.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/uwa-letterhead/uwa-letterhead.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/uwa-letterhead/uwa-letterhead.dtx	2021-09-28 02:01:28 UTC (rev 60634)
+++ trunk/Master/texmf-dist/source/latex/uwa-letterhead/uwa-letterhead.dtx	2021-09-28 20:40:23 UTC (rev 60635)
@@ -14,7 +14,8 @@
 % The Current Maintainer of this work is Anthony Di Pietro.
 %
 % This work consists of the files uwa-letterhead.dtx, uwa-letterhead.ins, and
-% example.tex and the derived files uwa-letterhead.sty and uwa-letterhead.pdf.
+% uwa-letterhead-example.tex and the derived files uwa-letterhead.sty and
+% uwa-letterhead.pdf.
 % \fi
 %
 % \iffalse
@@ -24,7 +25,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
 %<package>\ProvidesPackage{uwa-letterhead}
 %<*package>
-    [2019/08/31 1.0.0 UWA Letterhead]
+    [2021/09/13 1.0.1 UWA Letterhead]
 %</package>
 %
 %<*driver>
@@ -38,7 +39,7 @@
         regular,
         nouwafont,
         noarial
-]{uwa-letterhead}[2019/08/31]
+]{uwa-letterhead}[2021/09/13]
 \GetFileInfo{uwa-letterhead.dtx}
 \setcounter{secnumdepth}{3}
 \geometry{
@@ -59,7 +60,7 @@
 \DisableCrossrefs
 \CodelineIndex
 \RecordChanges
-\CheckSum{545}
+\CheckSum{561}
 \begin{document}
         \DocInput{uwa-letterhead.dtx}
 \end{document}
@@ -83,6 +84,7 @@
 %   Right brace   \}     Tilde         \~}
 %
 % \changes{1.0.0}{2019/08/31}{Initial version}
+% \changes{1.0.1}{2021/09/13}{Make first-page footer optional}
 %
 % \maketitle
 %
@@ -104,7 +106,7 @@
 % typeface for the first-page footer and the
 % \href{https://www.brand.uwa.edu.au/}{UWA Slab} typeface for headings.
 % The fonts must be installed on the system for this to work. Arial is
-% available as part of Microsoft's TypeType core fonts for the web
+% available as part of Microsoft's TrueType core fonts for the web
 % (\url{https://sourceforge.net/projects/mscorefonts2/}), and UWA Slab is
 % available from the UWA website
 % (\url{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/fonts/uwa/}).
@@ -132,6 +134,13 @@
 %         \item |nouwafont|: Use the body text typeface for headings.
 % \end{itemize}
 %
+% You can pass the following options to specify whether to include the
+% first-page footer:
+% \begin{itemize}
+%         \item |footer|: Include the first-page footer.
+%         \item |nofooter|: Do not include the first-page footer (default).
+% \end{itemize}
+%
 % You can pass the following options to specify whether to use Arial
 % for the first-page footer:
 % \begin{itemize}
@@ -241,14 +250,17 @@
 %
 % \begin{minipage}{\textwidth}
 % \begin{macro}{\uwalh at uwafont}
+% \begin{macro}{\uwalh at footer}
 % \begin{macro}{\uwalh at arialfont}
 % Define conditionals for the package options.
 %    \begin{macrocode}
 \newif\ifuwalh at uwafont
+\newif\ifuwalh at footer
 \newif\ifuwalh at arialfont
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
+% \end{macro}
 % \end{minipage}
 %
 % The |uwafont| and |nouwafont| options respectively enable and disable
@@ -262,6 +274,17 @@
 }
 %    \end{macrocode}
 %
+% The |footer| and |nofooter| options respectively enable and disable
+% the first-page footer.
+%    \begin{macrocode}
+\DeclareOption{footer}{
+        \uwalh at footertrue
+}
+\DeclareOption{nofooter}{
+        \uwalh at footerfalse
+}
+%    \end{macrocode}
+%
 % The |arial| and |noarial| options respectively enable and disable
 % using Arial for the first-page footer.
 %    \begin{macrocode}
@@ -301,14 +324,17 @@
         }{sourcecodepro}
 }
 %    \end{macrocode}
-% Use the |uwafont|, |arial|, and |light| options by default.
+%
+% Use the |uwafont|, |nofooter|, |arial|, and |light| options by default.
 %    \begin{macrocode}
 \ExecuteOptions{
         uwafont,
+        nofooter,
         arial,
         light
 }
 %    \end{macrocode}
+%
 % Complete option processing.
 %    \begin{macrocode}
 \ProcessOptions\relax
@@ -355,8 +381,12 @@
 %
 % Set font for first-page footer.
 %    \begin{macrocode}
-\ifuwalh at arialfont
-        \newfontfamily{\uwalh at arial}{Arial}
+\ifuwalh at footer
+        \ifuwalh at arialfont
+                \newfontfamily{\uwalh at arial}{Arial}
+        \else
+                \newcommand*{\uwalh at arial}{\sffamily}
+        \fi
 \else
         \newcommand*{\uwalh at arial}{\sffamily}
 \fi
@@ -385,6 +415,7 @@
 \titlespacing*{\section}{0em}{2\baselineskip}{0em}
 \titlespacing*{\subsection}{0em}{\baselineskip}{0em}
 %    \end{macrocode}
+%
 % Disable section numbering.
 %    \begin{macrocode}
 \setcounter{secnumdepth}{0}
@@ -424,11 +455,13 @@
 %    \begin{macrocode}
 \RequirePackage{stringstrings}
 %    \end{macrocode}
+%
 % Use |textpos| in |absolute| mode to place letterhead elements
 % at arbitrary positions on the page.
 %    \begin{macrocode}
 \RequirePackage[absolute]{textpos}
 %    \end{macrocode}
+%
 % Use |graphicx| to add the university logo.
 %    \begin{macrocode}
 \RequirePackage{graphicx}
@@ -590,6 +623,7 @@
 % \begin{macro}{\address}
 % \begin{macro}{\phone}
 % \begin{macro}{\mobile}
+% \changes{1.0.1}{2021/09/13}{Make mobile optional without first-page footer}
 % \begin{macro}{\email}
 % \begin{macro}{\website}
 % \begin{macro}{\footeraddress}
@@ -858,7 +892,7 @@
         \uwalh at checkfield{\uwalh at school}{\noexpand\school}
         \uwalh at checkfield{\uwalh at mbdp}{\noexpand\mbdp}
         \uwalh at checkfield{\uwalh at phone}{\noexpand\phone}
-        \uwalh at checkfield{\uwalh at mobile}{\noexpand\mobile}
+        \ifuwalh at footer\uwalh at checkfield{\uwalh at mobile}{\noexpand\mobile}\fi
         \uwalh at checkfield{\uwalh at email}{\noexpand\email}
 }
 %    \end{macrocode}
@@ -874,7 +908,7 @@
         \uwalh at bar{}%
         \uwalh at logo{}%
         \uwalh at addressblock{}%
-        \uwalh at firstpagefooter{}%
+        \ifuwalh at footer\uwalh at firstpagefooter{}\fi%
         \vspace*{\uwalh at vspaceatstart}%
 }
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/uwa-letterhead/uwa-letterhead.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/uwa-letterhead/uwa-letterhead.ins	2021-09-28 02:01:28 UTC (rev 60634)
+++ trunk/Master/texmf-dist/source/latex/uwa-letterhead/uwa-letterhead.ins	2021-09-28 20:40:23 UTC (rev 60635)
@@ -13,7 +13,8 @@
 %% The Current Maintainer of this work is Anthony Di Pietro.
 %%
 %% This work consists of the files uwa-letterhead.dtx, uwa-letterhead.ins, and
-%% example.tex and the derived files uwa-letterhead.sty and uwa-letterhead.pdf.
+%% uwa-letterhead-example.tex and the derived files uwa-letterhead.sty and
+%% uwa-letterhead.pdf.
 
 \input docstrip.tex
 \keepsilent
@@ -37,7 +38,8 @@
 The Current Maintainer of this work is Anthony Di Pietro.
 
 This work consists of the files uwa-letterhead.dtx, uwa-letterhead.ins, and
-example.tex and the derived files uwa-letterhead.sty and uwa-letterhead.pdf.
+uwa-letterhead-example.tex and the derived files uwa-letterhead.sty and
+uwa-letterhead.pdf.
 
 \endpreamble
 

Modified: trunk/Master/texmf-dist/tex/latex/uwa-letterhead/uwa-letterhead.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/uwa-letterhead/uwa-letterhead.sty	2021-09-28 02:01:28 UTC (rev 60634)
+++ trunk/Master/texmf-dist/tex/latex/uwa-letterhead/uwa-letterhead.sty	2021-09-28 20:40:23 UTC (rev 60635)
@@ -21,12 +21,14 @@
 %% The Current Maintainer of this work is Anthony Di Pietro.
 %% 
 %% This work consists of the files uwa-letterhead.dtx, uwa-letterhead.ins, and
-%% example.tex and the derived files uwa-letterhead.sty and uwa-letterhead.pdf.
+%% uwa-letterhead-example.tex and the derived files uwa-letterhead.sty and
+%% uwa-letterhead.pdf.
 %% 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesPackage{uwa-letterhead}
-    [2019/08/31 1.0.0 UWA Letterhead]
+    [2021/09/13 1.0.1 UWA Letterhead]
 \newif\ifuwalh at uwafont
+\newif\ifuwalh at footer
 \newif\ifuwalh at arialfont
 \DeclareOption{uwafont}{
         \uwalh at uwafonttrue
@@ -34,6 +36,12 @@
 \DeclareOption{nouwafont}{
         \uwalh at uwafontfalse
 }
+\DeclareOption{footer}{
+        \uwalh at footertrue
+}
+\DeclareOption{nofooter}{
+        \uwalh at footerfalse
+}
 \DeclareOption{arial}{
         \uwalh at arialfonttrue
 }
@@ -64,6 +72,7 @@
 }
 \ExecuteOptions{
         uwafont,
+        nofooter,
         arial,
         light
 }
@@ -84,8 +93,12 @@
 \else
         \newcommand*{\uwalh at uwa}{\sffamily}
 \fi
-\ifuwalh at arialfont
-        \newfontfamily{\uwalh at arial}{Arial}
+\ifuwalh at footer
+        \ifuwalh at arialfont
+                \newfontfamily{\uwalh at arial}{Arial}
+        \else
+                \newcommand*{\uwalh at arial}{\sffamily}
+        \fi
 \else
         \newcommand*{\uwalh at arial}{\sffamily}
 \fi
@@ -322,7 +335,7 @@
         \uwalh at checkfield{\uwalh at school}{\noexpand\school}
         \uwalh at checkfield{\uwalh at mbdp}{\noexpand\mbdp}
         \uwalh at checkfield{\uwalh at phone}{\noexpand\phone}
-        \uwalh at checkfield{\uwalh at mobile}{\noexpand\mobile}
+        \ifuwalh at footer\uwalh at checkfield{\uwalh at mobile}{\noexpand\mobile}\fi
         \uwalh at checkfield{\uwalh at email}{\noexpand\email}
 }
 \newcommand{\uwalh at makeletterhead}{%
@@ -330,7 +343,7 @@
         \uwalh at bar{}%
         \uwalh at logo{}%
         \uwalh at addressblock{}%
-        \uwalh at firstpagefooter{}%
+        \ifuwalh at footer\uwalh at firstpagefooter{}\fi%
         \vspace*{\uwalh at vspaceatstart}%
 }
 \AtBeginDocument{\uwalh at makeletterhead}



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