texlive[64906] Master/texmf-dist: hep-text (2nov22)

commits+karl at tug.org commits+karl at tug.org
Wed Nov 2 23:05:53 CET 2022


Revision: 64906
          http://tug.org/svn/texlive?view=revision&revision=64906
Author:   karl
Date:     2022-11-02 23:05:52 +0100 (Wed, 02 Nov 2022)
Log Message:
-----------
hep-text (2nov22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/hep-text/bibliography.bib
    trunk/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.pdf
    trunk/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.tex
    trunk/Master/texmf-dist/doc/latex/hep-text/hep-text-implementation.pdf
    trunk/Master/texmf-dist/source/latex/hep-text/hep-text-implementation.dtx
    trunk/Master/texmf-dist/tex/latex/hep-text/hep-text.sty

Modified: trunk/Master/texmf-dist/doc/latex/hep-text/bibliography.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hep-text/bibliography.bib	2022-11-02 22:05:31 UTC (rev 64905)
+++ trunk/Master/texmf-dist/doc/latex/hep-text/bibliography.bib	2022-11-02 22:05:52 UTC (rev 64906)
@@ -21,7 +21,7 @@
 author = "Jan Hajer",
 year = "2021",
 eprinttype = "ctan",
-eprint = "hep-acronyms",
+eprint = "hep-acronym",
 related = "hep-paper-1",
 }
 
@@ -95,6 +95,24 @@
 related = "hep-paper-1",
 }
 
+ at article{hep-reference,
+title = "The |hep-reference| package",
+subtitle = "Selection of reference improvements",
+author = "Jan Hajer",
+year = "2021",
+eprinttype = "ctan",
+eprint = "hep-reference",
+related = "hep-paper-1",
+}
+
+ at article{hep-cv,
+title = "The |hep-cv| package",
+subtitle = "Appealing curricula vitarum",
+author = "Jan Hajer",
+year = "2020",
+related = "hep-paper-1",
+}
+
 @article{kvoptions,
 title = "The |kvoptions| package",
 subtitle = "Key value format for package options",
@@ -1053,3 +1071,144 @@
 eprint = "soulutf8",
 }
 
+ at article{moderncv,
+title = "The |moderncv| package",
+subtitle = "A modern curriculum vitae class",
+author = "Xavier Danaux",
+year = "2006",
+eprinttype = "ctan",
+eprint = "moderncv",
+related = "moderncv-1",
+}
+
+ at article{anyfontsize,
+title = "The |anyfontsize| package",
+subtitle = "Select any font size in \hologo{LaTeX}",
+author = "Péter Szabó",
+date = "2007",
+eprinttype = "ctan",
+eprint = "anyfontsize",
+}
+
+ at article{array,
+title = "A new implementation of \hologo{LaTeX}’s |tabular| and |array| environment",
+subtitle = "Extending the |array| and |tabular| environments",
+author = "Frank Mittelbach, David Carlisle",
+collaboration= "\hologo{LaTeX} Team",
+year = "1993",
+eprinttype = "ctan",
+eprint = "array",
+}
+
+ at article{dashrule,
+title = "The |dashrule| package",
+subtitle = "Draw dashed rules",
+author = "Scott Pakin",
+date = "2008",
+eprinttype = "ctan",
+eprint = "dashrule",
+}
+
+ at article{fancyhdr,
+title = "The |fancyhdr| and |extramarks| packages",
+subtitle = "Extensive control of page headers and footers in \hologo{LaTeX2e}",
+author = "Piet van Oostrum",
+date = "1994",
+eprinttype = "ctan",
+eprint = "fancyhdr",
+}
+
+ at article{lastpage,
+title = "The |lastpage| package",
+subtitle = "Reference last page for Page $N$ of $M$ type footers",
+author = "Hans-Martin Münch and Jeffrey Goldberg",
+date = "1994",
+eprinttype = "ctan",
+eprint = "lastpage",
+}
+
+ at article{textpos,
+title = "|Textpos|: absolute positioning of text on the page",
+subtitle = "Place boxes at arbitrary positions on the \hologo{LaTeX} page",
+author = "Norman Gray",
+date = "1999",
+eprinttype = "ctan",
+eprint = "textpos",
+related = "textpos-1",
+}
+
+ at manual{textpos-1,
+eprinttype = "bitbucket",
+eprintclass = "nxg",
+eprint = "textpos",
+}
+
+ at article{subfiles,
+title = "The |subfiles| package: A Document Class and a Package for Handling Multi-File Projects",
+subtitle = "Individual typesetting of subfiles of a \enquote{main} document",
+author = "Federico Garcia and Gernot Salzer",
+date = "2002",
+eprinttype = "ctan",
+eprint = "subfiles",
+related = "subfiles-1",
+}
+
+ at manual{subfiles-1,
+eprinttype = "github",
+eprintclass = "gsalzer",
+eprint = "subfiles",
+}
+
+ at article{titlesec,
+title = "The |titlesec|, |titleps| and |titletoc| packages",
+subtitle = "Select alternative section titles",
+author = "Javier Bezos",
+year = "1998",
+eprinttype = "ctan",
+eprint = "titlesec",
+related = "titlesec-1",
+}
+
+ at manual{titlesec-1,
+eprinttype = "github",
+eprintclass = "jbezos",
+eprint = "titlesec",
+}
+
+ at article{calc,
+title = "The |calc| package",
+subtitle = "Simple arithmetic in \hologo{LaTeX} commands",
+author = "Kresten Krab Thorup and Frank Jensen",
+collaboration = "\hologo{LaTeX3} Project",
+year = "1992",
+eprinttype = "ctan",
+eprint = "calc",
+}
+
+ at article{tabulary,
+title = "The |tabulary| package",
+subtitle = "Tabular with variable width columns balanced",
+author = "David Carlisle",
+year = "1995",
+eprinttype = "ctan",
+eprint = "tabulary",
+}
+
+ at article{xcolor,
+title = "The |xcolor| package",
+subtitle = "Driver-independent color extensions for \hologo{LaTeX} and \hologo{pdfLaTeX}",
+author = "Uwe Kern",
+collaboration = "\hologo{LaTeX} Project",
+year = "2003",
+eprinttype = "ctan",
+eprint = "xcolor",
+}
+
+ at article{overlays,
+title = "The |overlays| package",
+subtitle = "Incremental slides",
+author = "Andreas Nolda",
+year = "2016",
+eprinttype = "ctan",
+eprint = "overlays",
+}

Modified: trunk/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.tex	2022-11-02 22:05:31 UTC (rev 64905)
+++ trunk/Master/texmf-dist/doc/latex/hep-text/hep-text-documentation.tex	2022-11-02 22:05:52 UTC (rev 64906)
@@ -15,7 +15,7 @@
 %% and version 1.3c or later is part of all distributions of
 %% LaTeX version 2005/12/01 or later.
 
-\ProvidesFile{hep-text-documentation.tex}[2021/09/01 v1.0 HEP-Text documentation]
+\ProvidesFile{hep-text-documentation.tex}[2022/11/01 v1.1 HEP-Text documentation]
 
 \RequirePackage[l2tabu, orthodox]{nag}
 
@@ -53,7 +53,7 @@
 
 \title{The \software{hep-text} package\thanks{This document corresponds to \software{hep-text}~\fileversion.}}
 \subtitle{List and text extensions}
-\author{Jan Hajer \email{jan.hajer at unibas.ch}}
+\author{Jan Hajer \email{jan.hajer at tecnico.ulisboa.pt}}
 \date{\filedate}
 
 \begin{document}
@@ -78,7 +78,8 @@
 
 \DescribeMacro{\eg}
 \DescribeMacro{\vs}
-The \software{foreign} package \cite{foreign} defines macros such as "\eg", "\ie", "\cf", and "\vs" which are typeset as \eg, \ie, \cf, and \vs.
+The \software{foreign} package \cite{foreign} defines macros such as "\eg", "\ie", "\cf", and "\vs" which are typeset as \eg, \ie, \cf, and \vs with the appropriate spacing.
+Issuing "\renewcommand\foreignabbrfont{\itshape}" these abbreviations are typeset in italic.
 
 \DescribeMacro{\no}
 The "\no"\marg{number} macro is typeset as \no{123}.

Modified: trunk/Master/texmf-dist/doc/latex/hep-text/hep-text-implementation.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/hep-text/hep-text-implementation.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/hep-text/hep-text-implementation.dtx	2022-11-02 22:05:31 UTC (rev 64905)
+++ trunk/Master/texmf-dist/source/latex/hep-text/hep-text-implementation.dtx	2022-11-02 22:05:52 UTC (rev 64906)
@@ -18,8 +18,8 @@
 % \iffalse
 
 %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-%<package>\ProvidesPackage{hep-text}[2021/09/01 v1.0 Some text macros]
-%<documentation>\ProvidesFile{hep-text-documentation.tex}[2021/09/01 v1.0 HEP-Text documentation]
+%<package>\ProvidesPackage{hep-text}[2022/11/01 v1.1 Some text macros]
+%<documentation>\ProvidesFile{hep-text-documentation.tex}[2022/11/01 v1.1 HEP-Text documentation]
 %
 %<*documentation>
 
@@ -66,7 +66,7 @@
 %
 % \fi
 %
-% \CheckSum{98}
+% \CheckSum{129}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -85,6 +85,7 @@
 %   Right brace   \}     Tilde         \~}
 %
 % \changes{v1.0}{2019/01/01}{Initial version of the style file.}
+% \changes{v1.1}{2022/11/01}{Bug fixes.}
 %
 % \ifshort
 %<*documentation>
@@ -94,7 +95,7 @@
 
 \title{The \software{hep-text} package\thanks{This document corresponds to \software{hep-text}~\fileversion.}}
 \subtitle{List and text extensions}
-\author{Jan Hajer \email{jan.hajer at unibas.ch}}
+\author{Jan Hajer \email{jan.hajer at tecnico.ulisboa.pt}}
 \date{\filedate}
 
 % \ifshort
@@ -121,7 +122,8 @@
 
 \DescribeMacro{\eg}
 \DescribeMacro{\vs}
-The \software{foreign} package \cite{foreign} defines macros such as "\eg", "\ie", "\cf", and "\vs" which are typeset as \eg, \ie, \cf, and \vs.
+The \software{foreign} package \cite{foreign} defines macros such as "\eg", "\ie", "\cf", and "\vs" which are typeset as \eg, \ie, \cf, and \vs with the appropriate spacing.
+Issuing "\renewcommand\foreignabbrfont{\itshape}" these abbreviations are typeset in italic.
 
 \DescribeMacro{\no}
 The "\no"\marg{number} macro is typeset as \no{123}.
@@ -215,8 +217,10 @@
 %
 % Load the \software{babel} package \cite{babel} for hyphenation and the recommended \software{csquotes} package \cite{csquotes}.
 %    \begin{macrocode}
-\RequirePackage[\heptext at lang]{babel}
-\RequirePackage[autostyle]{csquotes}
+\PassOptionsToPackage{\heptext at lang}{babel}
+\RequirePackage{babel}
+\PassOptionsToPackage{autostyle}{csquotes}
+\RequirePackage{csquotes}
 %    \end{macrocode}
 %
 % \begin{macro}{\underline}
@@ -227,9 +231,7 @@
 %    \end{macrocode}
 % \end{macro}
 %
-%\begin{macro}{\vs}
-% Load the \software{foreign} package \cite{foreign} in order to highlight abbreviations and vocabularies from foreign languages.
-% Add the missing "\vs" command.
+% Check the "lang" option using the \software{pdftexcmds} package \cite{pdftexcmds}.
 %    \begin{macrocode}
 \RequirePackage{pdftexcmds}
 \ifnum\pdf at strcmp{\heptext at lang}{american}=0
@@ -241,7 +243,15 @@
     \newcommand{\heptext at lang@foreign}{british}
   \fi
 \fi
-\RequirePackage[all, \heptext at lang@foreign]{foreign}
+%    \end{macrocode}
+%
+%\begin{macro}{\vs}
+% Load the \software{foreign} package \cite{foreign} in order to highlight abbreviations and vocabularies from foreign languages.
+% Add the missing "\vs" command.
+%    \begin{macrocode}
+\PassOptionsToPackage{all, \heptext at lang@foreign}{foreign}
+\RequirePackage{foreign}
+\renewcommand\foreignabbrfont{}
 \DeclareRobustCommand\vs{\xperiodafter{{\foreignabbrfont{vs}}}}
 %    \end{macrocode}
 % \end{macro}
@@ -260,12 +270,17 @@
 % \end{macro}
 %
 %\begin{macro}{\software}
-% Define a macro for software with optional version information "\software"\linebreak[1]\oarg{version}\linebreak[1]\marg{name}, using the \software{relsize} package \cite{relsize}.
+% Define a macro for software with optional version information "\software"\linebreak[1]\oarg{version}\linebreak[1]\marg{name}, using the \software{relsize} \cite{relsize} and \software{xparse} \cite{xparse} packages.
 %    \begin{macrocode}
 \RequirePackage{relsize}
 \newcommand{\software}[2][\hspace{-\fontdimen2\font}]{%
   {\smaller[.5]\textsc{#2}~#1}%
 }
+\RequirePackage{xparse}
+\NewExpandableDocumentCommand\hep at gobble@opt at arg{om}{#2}
+\AtBeginDocument{\@ifpackageloaded{hyperref}{%
+  \pdfstringdefDisableCommands{\let\software\hep at gobble@opt at arg}%
+}{}}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -278,9 +293,8 @@
 \providecommand{\hep at email}[1]{\online{mailto:#1}{#1}}
 \providecommand\email{\hep at email}
 \AtBeginDocument{\@ifpackageloaded{hyperref}{%
-    \renewcommand{\online}[2]{\href{#1}{\nolinkurl{#2}}}%
-  }{}
-}
+  \renewcommand{\online}[2]{\href{#1}{\nolinkurl{#2}}}%
+}{}}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -292,11 +306,23 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}{\subsubparagraph}
+% Define the "\subsubparagraph" macro starting a new paragraph with the same spacing as the paragraph macro but without title.
+%    \begin{macrocode}
+\newcommand\subsubparagraph{%
+  \@tempskipa 3.25ex \@plus 1ex \@minus .2ex\relax%
+  \addpenalty\@secpenalty\addvspace\@tempskipa%
+  \everypar{\setbox\z@\lastbox\everypar{}}%
+}
+%    \end{macrocode}
+% \end{macro}
+%
 % \subsection{Lists}
 %
 % Load the \software{enumitem} package \cite{enumitem}.
 %    \begin{macrocode}
-\RequirePackage[inline]{enumitem}
+\PassOptionsToPackage{inline}{enumitem}
+\RequirePackage{enumitem}
 %    \end{macrocode}
 %
 % \begin{environment}{inlinelist}
@@ -312,16 +338,17 @@
 % \begin{environment}{enumdescript}
 % Define an enumdescript list environment.
 %    \begin{macrocode}
-\newlist{enum at descript}{enumerate}{2}
-\setlist[enum at descript]{label=\arabic*.}
+\newlist{enumdesc}{enumerate}{2}
+\setlist[enumdesc]{label=\arabic*.}
 \newenvironment{enumdescript}[1][]{
-\begin{enum at descript}[#1]
+\begin{enumdesc}[#1]
   \let\hep at item\item
-  \renewcommand{\item}[2][]{
-    \ifx&##1&\hep at item\else\hep at item[##1]\fi
-    \textbf{##2}\ifx##2\empty\else~\fi\@ifnextchar\par\@gobble\relax
+  \renewcommand{\item}[2][]{%
+    \ifx&##1&\hep at item\else\hep at item[##1]\fi%
+    \textbf{##2}\ifx##2\empty\else\hspace{1em}\fi%
+    \@ifnextchar\par\@gobble\relax%
   }
-}{\end{enum at descript}}
+}{\end{enumdesc}}
 %    \end{macrocode}
 % \end{environment}
 %

Modified: trunk/Master/texmf-dist/tex/latex/hep-text/hep-text.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hep-text/hep-text.sty	2022-11-02 22:05:31 UTC (rev 64905)
+++ trunk/Master/texmf-dist/tex/latex/hep-text/hep-text.sty	2022-11-02 22:05:52 UTC (rev 64906)
@@ -16,7 +16,7 @@
 %% LaTeX version 2005/12/01 or later.
 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
-\ProvidesPackage{hep-text}[2021/09/01 v1.0 Some text macros]
+\ProvidesPackage{hep-text}[2022/11/01 v1.1 Some text macros]
 
 \RequirePackage{kvoptions}
 \SetupKeyvalOptions{
@@ -25,8 +25,10 @@
 }
 \DeclareStringOption[british]{lang}
 \ProcessKeyvalOptions*
-\RequirePackage[\heptext at lang]{babel}
-\RequirePackage[autostyle]{csquotes}
+\PassOptionsToPackage{\heptext at lang}{babel}
+\RequirePackage{babel}
+\PassOptionsToPackage{autostyle}{csquotes}
+\RequirePackage{csquotes}
 \RequirePackage{soulutf8}
 \let\underline\textul
 \RequirePackage{pdftexcmds}
@@ -39,7 +41,9 @@
     \newcommand{\heptext at lang@foreign}{british}
   \fi
 \fi
-\RequirePackage[all, \heptext at lang@foreign]{foreign}
+\PassOptionsToPackage{all, \heptext at lang@foreign}{foreign}
+\RequirePackage{foreign}
+\renewcommand\foreignabbrfont{}
 \DeclareRobustCommand\vs{\xperiodafter{{\foreignabbrfont{vs}}}}
 \xspaceaddexceptions{\csq at qclose@i}
 \newcommand{\no}[1]{\textnumero~#1}
@@ -47,29 +51,40 @@
 \newcommand{\software}[2][\hspace{-\fontdimen2\font}]{%
   {\smaller[.5]\textsc{#2}~#1}%
 }
+\RequirePackage{xparse}
+\NewExpandableDocumentCommand\hep at gobble@opt at arg{om}{#2}
+\AtBeginDocument{\@ifpackageloaded{hyperref}{%
+  \pdfstringdefDisableCommands{\let\software\hep at gobble@opt at arg}%
+}{}}
 \providecommand{\online}[2]{\texttt{#2}}%
 \providecommand{\hep at email}[1]{\online{mailto:#1}{#1}}
 \providecommand\email{\hep at email}
 \AtBeginDocument{\@ifpackageloaded{hyperref}{%
-    \renewcommand{\online}[2]{\href{#1}{\nolinkurl{#2}}}%
-  }{}
+  \renewcommand{\online}[2]{\href{#1}{\nolinkurl{#2}}}%
+}{}}
+\newcommand{\prefix}[2]{(#1\mbox{-)}\allowbreak #2}
+\newcommand\subsubparagraph{%
+  \@tempskipa 3.25ex \@plus 1ex \@minus .2ex\relax%
+  \addpenalty\@secpenalty\addvspace\@tempskipa%
+  \everypar{\setbox\z@\lastbox\everypar{}}%
 }
-\newcommand{\prefix}[2]{(#1\mbox{-)}\allowbreak #2}
-\RequirePackage[inline]{enumitem}
+\PassOptionsToPackage{inline}{enumitem}
+\RequirePackage{enumitem}
 \newlist{inlinelist}{enumerate*}{1}
 \setlist*[inlinelist,1]{%
   label=\roman*), itemjoin={,\ }, itemjoin*={, and\ }, after=.%
 }
-\newlist{enum at descript}{enumerate}{2}
-\setlist[enum at descript]{label=\arabic*.}
+\newlist{enumdesc}{enumerate}{2}
+\setlist[enumdesc]{label=\arabic*.}
 \newenvironment{enumdescript}[1][]{
-\begin{enum at descript}[#1]
+\begin{enumdesc}[#1]
   \let\hep at item\item
-  \renewcommand{\item}[2][]{
-    \ifx&##1&\hep at item\else\hep at item[##1]\fi
-    \textbf{##2}\ifx##2\empty\else~\fi\@ifnextchar\par\@gobble\relax
+  \renewcommand{\item}[2][]{%
+    \ifx&##1&\hep at item\else\hep at item[##1]\fi%
+    \textbf{##2}\ifx##2\empty\else\hspace{1em}\fi%
+    \@ifnextchar\par\@gobble\relax%
   }
-}{\end{enum at descript}}
+}{\end{enumdesc}}
 
 \endinput
 %%



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