From 9768a4c52a280dad3551f01aeca8bfacb7207e60 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 24 Jul 2019 21:30:54 +0000 Subject: parnotes (24jul19) git-svn-id: svn://tug.org/texlive/trunk@51720 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/parnotes/README.md | 21 ++++++- Master/texmf-dist/doc/latex/parnotes/parnotes.pdf | Bin 130245 -> 57719 bytes Master/texmf-dist/doc/latex/parnotes/parnotes.tex | 73 ++++++++++++++-------- Master/texmf-dist/tex/latex/parnotes/parnotes.sty | 17 ++++- 4 files changed, 82 insertions(+), 29 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/parnotes/README.md b/Master/texmf-dist/doc/latex/parnotes/README.md index a5680c236d2..6041f64a23f 100644 --- a/Master/texmf-dist/doc/latex/parnotes/README.md +++ b/Master/texmf-dist/doc/latex/parnotes/README.md @@ -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 @@ For more details, read the project documentation in `parnotes.pdf`. 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 @@ I currently maintain this project (comprising `parnotes.sty`, `parnotes.tex`, `R 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). + diff --git a/Master/texmf-dist/doc/latex/parnotes/parnotes.pdf b/Master/texmf-dist/doc/latex/parnotes/parnotes.pdf index 5f48460e215..6a017d29640 100644 Binary files a/Master/texmf-dist/doc/latex/parnotes/parnotes.pdf and b/Master/texmf-dist/doc/latex/parnotes/parnotes.pdf differ diff --git a/Master/texmf-dist/doc/latex/parnotes/parnotes.tex b/Master/texmf-dist/doc/latex/parnotes/parnotes.tex index 4d7964ac759..662dc1aa628 100644 --- a/Master/texmf-dist/doc/latex/parnotes/parnotes.tex +++ b/Master/texmf-dist/doc/latex/parnotes/parnotes.tex @@ -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 @@ The following options are provided: \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 @@ instead, \verb+\narrower+ must be placed manually within the new definition for \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@edef+ to expand the parnote counter (fixes incompatibility with \textsf{BiocStyle}) diff --git a/Master/texmf-dist/tex/latex/parnotes/parnotes.sty b/Master/texmf-dist/tex/latex/parnotes/parnotes.sty index e5c3f68f5b6..65ed4704610 100644 --- a/Master/texmf-dist/tex/latex/parnotes/parnotes.sty +++ b/Master/texmf-dist/tex/latex/parnotes/parnotes.sty @@ -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@reset@optional\relax \DeclareOption{restart}{\def\PN@reset@optional{\parnotereset}} +\DeclareOption{reset}{\def\PN@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@disable@indent -- cgit v1.2.3