From b3225c4301e7724de481f410444fef5463799b9d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 14 Jan 2020 03:00:43 +0000 Subject: CTAN sync 202001140300 --- macros/latex/contrib/fancyvrb/Changes | 1 + macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf | Bin 142045 -> 133221 bytes macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex | 15 +++++++------- macros/latex/contrib/fancyvrb/latex/fancyvrb.sty | 22 +++++++++++++++------ 4 files changed, 25 insertions(+), 13 deletions(-) (limited to 'macros/latex/contrib/fancyvrb') diff --git a/macros/latex/contrib/fancyvrb/Changes b/macros/latex/contrib/fancyvrb/Changes index 53b4516552..c59dc316ec 100644 --- a/macros/latex/contrib/fancyvrb/Changes +++ b/macros/latex/contrib/fancyvrb/Changes @@ -1,4 +1,5 @@ --- fancyvrb.sty +3.5 2020/01/13 - use \verbvisiblespace instead of \textvisiblespace (hv) 3.4 2019/11/09 - use catcode change for space if \textvisiblespace doesn't exist (hv) 3.3 2019/10/22 - use \textvisiblespace for showspaces (hv) 3.2a 2019/01/15 - added missing style files (hv) diff --git a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf index b0ef26beab..7a929f1147 100644 Binary files a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf and b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf differ diff --git a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex index 6d2d5e71ce..e28dc41408 100644 --- a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex +++ b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex @@ -1,9 +1,9 @@ \documentclass{article} %\usepackage[T1]{fontenc} %\usepackage[charter]{mathdesign} -\usepackage{libertinus} +\usepackage{libertinus-otf} %\usepackage[scaled=0.84]{beramono} -\setmonofont[Scale=MatchLowercase,FakeStretch=0.9]{AnonymousPro} +\setmonofont[Scale=MatchLowercase,FakeStretch=0.9]{AnonymousPro-Regular.ttf} \newif\ifChangeBar \ChangeBarfalse \usepackage{fancyvrb} @@ -63,7 +63,7 @@ {\footnotesize and}\\[-2mm] {\footnotesize Herbert Voß\ (FU Berlin -- DE)} } -\date{Version 3.3\\ \today} +\date{Version 3.5\\ \today} \fvset{frame=single,xrightmargin=0cm,numbers=left,numbersep=3pt,commentchar=Z} @@ -90,6 +90,7 @@ Mikhail Kolodin, %\url{myke@morrigan.spb.su}, Andreas Matthias, Frank Mittelbach, Rolf Niepraschk, %\url{Rolf.Niepraschk@gmx.de}, +Will Robertson, Ulrich M. Schwarz, Thomas Siegel, % \url{siegel@aix520.informatik.uni-leipzig.de}, Clemens Steinke, @@ -728,16 +729,16 @@ bit klunky. Initially you must define the strings with (\emph{Default: false} \Dash spaces not shown). \end{optlist} -\begin{SideBySideExample} - \begin{Verbatim}[showspaces=true] +\begin{SideBySideExample}[gobble=0] +\begin{Verbatim}[showspaces=true] Verbatim line. - \end{Verbatim} +\end{Verbatim} \end{SideBySideExample} In practice, all verbatim environments have a~\texttt{*} variant, which sets \texttt{showspaces=true}: -\begin{SideBySideExample} +\begin{SideBySideExample}[gobble=0] \begin{Verbatim*} Verbatim line. \end{Verbatim*} diff --git a/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty b/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty index 5026b819e7..8eb3564af7 100644 --- a/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty +++ b/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty @@ -13,10 +13,10 @@ %% verbatim environments and commands and extensive documentation. %% \NeedsTeXFormat{LaTeX2e} -\def\fileversion{3.4} -\def\filedate{2019/11/09} -\ProvidesPackage{fancyvrb}[\filedate] -\message{Style option: `fancyvrb' v\fileversion \space <\filedate> (tvz)} +\def\fileversion{3.5} +\def\filedate{2020/01/13} +\ProvidesPackage{fancyvrb}[2020/01/13 v3.5 verbatim text (tvz,hv)] +%\message{Style option: `fancyvrb' v\fileversion \space <\filedate> (tvz)} \csname fancyvrb@loaded\endcsname \let\fancyvrb@loaded\endinput %\ProcessOptions @@ -530,9 +530,19 @@ \define@booleankey{FV}{showspaces}% {\def\FV@Space{{\FancyVerbSpace}}}% {\def\FV@Space{\ }} -\@ifundefined{textvisiblespace}% +% +% new definition for \verbvisiblespace 2020-01-13 +\@ifundefined{verbvisiblespace}% + {% + \@ifundefined{textvisiblespace}% {\begingroup\catcode`\ =12 \gdef\FancyVerbSpace{\tt }\endgroup} - {\let\FancyVerbSpace\textvisiblespace} + {\def\FancyVerbSpace{\textvisiblespace}} + }% + {\def\FancyVerbSpace{\verbvisiblespace}} +%\@ifundefined{textvisiblespace}% +% {\begingroup\catcode`\ =12 \gdef\FancyVerbSpace{\tt }\endgroup} +% {\let\FancyVerbSpace\textvisiblespace} +% \fvset{showspaces=false} \def\FV@Tab{\hbox to\FancyVerbTabSize\fontdimen2\font{\hss\FV@TabChar}} \define@key{FV}{tabsize}{% -- cgit v1.2.3