texlive[51720] Master/texmf-dist: parnotes (24jul19)

commits+karl at tug.org commits+karl at tug.org
Wed Jul 24 23:30:54 CEST 2019


Revision: 51720
          http://tug.org/svn/texlive?view=revision&revision=51720
Author:   karl
Date:     2019-07-24 23:30:54 +0200 (Wed, 24 Jul 2019)
Log Message:
-----------
parnotes (24jul19)

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

Modified: trunk/Master/texmf-dist/doc/latex/parnotes/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/parnotes/README.md	2019-07-24 21:30:43 UTC (rev 51719)
+++ trunk/Master/texmf-dist/doc/latex/parnotes/README.md	2019-07-24 21:30:54 UTC (rev 51720)
@@ -1,6 +1,6 @@
 parnotes
 ========
-rev.3
+rev.3b (see notes below)
 
 The parnotes package adds a new note type, `\parnote`. Parnotes are set as normal, running paragraphs and may be placed two ways: (1) automatically, at the end of the paragraph, or (2) manually, using the `\parnotes` command.
 
@@ -18,7 +18,7 @@
 
 Contributing
 ------------
-The development repository and the bug tracker for this package are hosted [on GitHub](https://github.com/chelh/LaTeX-parnotes).
+The development repository and the bug tracker for this package are hosted [on GitHub](https://github.com/chelh/LaTeX-parnotes) but see notes below.
 
 License
 -------
@@ -31,3 +31,20 @@
 This package was started due to a question at the TeX Stack Exchange: http://tex.stackexchange.com/questions/34746/
 
 Thanks to Stack Exchange users Ahmed Musa, Bruno Le Floch, and David Carlisle.
+
+Current Status
+--------------
+
+The package appears to to be unmainted, i.e. the above address exists
+but is not monitored and the original author is not reachable.
+
+
+Small extensions in 2019 by Frank Mittelbach:
+
+ - option `reset`  (alias for restart to match other packages)
+ - option `alph`   (for alph style notes instead of arabic)
+ - option `symbol` (for fnsymbol style notes)
+
+The documentation has been changed use freely available fonts so that it
+can be typeset by everybody (the previsous release used commercial fonts).
+

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

Modified: trunk/Master/texmf-dist/doc/latex/parnotes/parnotes.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/parnotes/parnotes.tex	2019-07-24 21:30:43 UTC (rev 51719)
+++ trunk/Master/texmf-dist/doc/latex/parnotes/parnotes.tex	2019-07-24 21:30:54 UTC (rev 51720)
@@ -1,19 +1,28 @@
+
+%!TEX program = lualatex
+
 \documentclass[10pt]{article}
-\usepackage[USenglish,english]{babel}
-\selectlanguage{USenglish}
-\usepackage[no-math]{fontspec}
-\defaultfontfeatures{Ligatures=TeX}
-\def\MinionDefaults{%
-	SizeFeatures = {
-		{Size =     -8.41, OpticalSize = 8, Numbers = Lining},
-		{Size = 8.41-13.1, OpticalSize = 11},
-		{Size = 13.1-20.0, OpticalSize = 19},
-		{Size = 20.0-,     OpticalSize = 72}},
-	Numbers = {OldStyle,Monospaced}}
-\setmainfont[\MinionDefaults,
-	BoldFont = {Minion Pro Semibold}]{Minion Pro}
-\setsansfont[Scale=MatchLowercase, BoldFont = {Myriad Pro Semibold}]{Myriad Pro}
-\setmonofont[Scale=MatchLowercase]{Consolas}
+%\usepackage[USenglish,english]{babel}
+\usepackage[USenglish]{babel}
+%\selectlanguage{USenglish}
+%\usepackage[no-math]{fontspec}
+\usepackage[oldstyle]{Alegreya}
+\usepackage[]{AlegreyaSans}
+\setmonofont[Scale=MatchLowercase]{IBM Plex Mono}
+
+%\defaultfontfeatures{Ligatures=TeX}
+%\def\MinionDefaults{%
+%	SizeFeatures = {
+%		{Size =     -8.41, OpticalSize = 8, Numbers = Lining},
+%		{Size = 8.41-13.1, OpticalSize = 11},
+%		{Size = 13.1-20.0, OpticalSize = 19},
+%		{Size = 20.0-,     OpticalSize = 72}},
+%	Numbers = {OldStyle,Monospaced}}
+%\setmainfont[\MinionDefaults,
+%	BoldFont = {Minion Pro Semibold}]{Minion Pro}
+%\setsansfont[Scale=MatchLowercase, BoldFont = {Myriad Pro Semibold}]{Myriad Pro}
+%\setmonofont[Scale=MatchLowercase]{Consolas}
+
 \usepackage{amsmath}
 \usepackage{parnotes}
 \usepackage{xcolor}
@@ -21,28 +30,32 @@
 \hypersetup{allcolors=blue}
 \usepackage{varwidth}
 \usepackage{accsupp}
-\DeclareRobustCommand\squelch[1]{%
-    \BeginAccSupp{method=plain,ActualText={}}#1\EndAccSupp{}}
-\def\squelchstyle{%
-    \BeginAccSupp{method=plain,ActualText={}}%
-    \aftergroup\aftersquelchstyle}
-\def\aftersquelchstyle{\EndAccSupp{}}
+
+%\DeclareRobustCommand\squelch[1]{%
+%    \BeginAccSupp{method=plain,ActualText={}}#1\EndAccSupp{}}
+%\def\squelchstyle{%
+%    \BeginAccSupp{method=plain,ActualText={}}%
+%    \aftergroup\aftersquelchstyle}
+%\def\aftersquelchstyle{\EndAccSupp{}}
+
 \usepackage{fancyhdr}
 \fancypagestyle{plain}{%
     \fancyhf{}%
-    \fancyfoot[C]{\squelch{\thepage}}%
+%    \fancyfoot[C]{\squelch{\thepage}}%
+    \fancyfoot[C]{\thepage}%
     \renewcommand{\headrulewidth}{0pt}%
     \renewcommand{\footrulewidth}{0pt}%
 }
 \pagestyle{plain}
 \usepackage{listings}
-\lstset{numbers=left,basicstyle={\small\ttfamily},numberstyle={\squelchstyle\color{gray}}}
+%\lstset{numbers=left,basicstyle={\small\ttfamily},numberstyle={\squelchstyle\color{gray}}}
+\lstset{numbers=left,basicstyle={\scriptsize\ttfamily},numberstyle={\color{gray}}}
 \usepackage{booktabs}
 \usepackage{microtype}
 
-\title{The \textsf{parnotes} package\parnote{This is rev.~3, last modified 8/15/2016.}}
-\author{Chelsea Hughes\parnote{See \texttt{parnotes.sty} for copyright and contact details.}}
-\date{August 15, 2016}
+\title{The \textsf{parnotes} package\parnote{This is rev.~3b, last modified 2019/07/23.}}
+\author{Chelsea Hughes\parnote{See \texttt{parnotes.sty} for copyright details. The package has currently no maintainer.}}
+\date{July 23, 2019}
 
 \renewcommand{\parnotefmt}[1]{\centerline{\colorbox{black!10}{\parbox{0.82\textwidth}{\footnotesize\sffamily\noindent #1}}}}
 
@@ -104,8 +117,11 @@
 
 \noindent\begin{tabbing}
 \texttt{restart}\hspace{0.75in}\=Reset the parnote number each time parnotes are placed.\\
+\texttt{reset}\>Alias name for \texttt{restart} to match what other packages use.\\
 \texttt{roman}\>Use lowercase Roman numerals instead of Arabic numerals for\\
 \>parnote marks. Specify this if you mix parnotes with footnotes.\\
+\texttt{alph}\>Use lowercase alphabet characters instead.\\
+\texttt{symbol}\>Use footnote symbols instead instead.\\
 \texttt{breakwithin}\>Place a line break after every parnote.\\
 \texttt{indentafter}\>Allow indentation in the paragraph following a parnote.\\
 \texttt{narrower}\>Give parnotes an increased margin, like block quotes.\\
@@ -189,6 +205,11 @@
 
 \section{Changelog}
 {\raggedright
+\noindent\textbf{Revision 3b, released on July 23, 2019 (Frank Mittelbach)}
+\begin{itemize}
+\item Added options \texttt{reset}, \texttt{alph} and \texttt{symbol}.
+\item Changed documentation to use feely available fonts only.
+\end{itemize}
 \noindent\textbf{Revision 3, released on Aug 15, 2016}
 \begin{itemize}
 \item Bug fix: Use \verb+\protected at edef+ to expand the parnote counter (fixes incompatibility with \textsf{BiocStyle})

Modified: trunk/Master/texmf-dist/tex/latex/parnotes/parnotes.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/parnotes/parnotes.sty	2019-07-24 21:30:43 UTC (rev 51719)
+++ trunk/Master/texmf-dist/tex/latex/parnotes/parnotes.sty	2019-07-24 21:30:54 UTC (rev 51720)
@@ -13,9 +13,19 @@
 %     http://tex.stackexchange.com/questions/34746/
 %
 % Thanks to Stack Exchange users Ahmed Musa, Bruno Le Floch, and David Carlisle.
+%
+% -----------------------------
+%
+% The package is currently unmainted, i.e. the above address exists but is not monitored
+%
+% Small extensions in 2019 by Frank Mittelbach:
+%
+% option reset (alias for restart to match other packages)
+% option alph  (for alph style notes instead of arabic)
+% option symbol (for fnsymbol style notes)
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{parnotes}[2016/08/15 rev. 3 Notes after every paragraph, or elsewhere]
+\ProvidesPackage{parnotes}[2019/07/23 rev. 3b Notes after every paragraph, or elsewhere]
 
 %
 % These are the user-modifiable format commands
@@ -54,10 +64,15 @@
 %
 \let\PN at reset@optional\relax
 \DeclareOption{restart}{\def\PN at reset@optional{\parnotereset}}
+\DeclareOption{reset}{\def\PN at reset@optional{\parnotereset}}      %FMi alternative name
 %
 % Parnote marks are arabic by default, but an option changes them to roman
 %
 \DeclareOption{roman}{\renewcommand\theparnotemark{\roman{parnotemark}}}
+%%FMi
+\DeclareOption{alph}{\renewcommand\theparnotemark{\alph{parnotemark}}}
+\DeclareOption{symbol}{\renewcommand\theparnotemark{\fnsymbol{parnotemark}}}
+%%FMi -- end
 % breakwithin just changes \parnoteintercmd
 \DeclareOption{breakwithin}{\renewcommand{\parnoteintercmd}{\\}}
 % And indentafter just clears \PN at disable@indent



More information about the tex-live-commits mailing list