texlive[55018] Master/texmf-dist: fancyvrb (3may20)
commits+karl at tug.org
commits+karl at tug.org
Mon May 4 23:24:44 CEST 2020
Revision: 55018
http://tug.org/svn/texlive?view=revision&revision=55018
Author: karl
Date: 2020-05-04 23:24:44 +0200 (Mon, 04 May 2020)
Log Message:
-----------
fancyvrb (3may20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/fancyvrb/Changes
trunk/Master/texmf-dist/doc/latex/fancyvrb/README
trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf
trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex
trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Modified: trunk/Master/texmf-dist/doc/latex/fancyvrb/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fancyvrb/Changes 2020-05-04 21:24:29 UTC (rev 55017)
+++ trunk/Master/texmf-dist/doc/latex/fancyvrb/Changes 2020-05-04 21:24:44 UTC (rev 55018)
@@ -1,4 +1,6 @@
--- fancyvrb.sty
+3.6 2020/05/03 - added optional argument reflabel for page references
+ to verbatim environments (hv)
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)
Modified: trunk/Master/texmf-dist/doc/latex/fancyvrb/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fancyvrb/README 2020-05-04 21:24:29 UTC (rev 55017)
+++ trunk/Master/texmf-dist/doc/latex/fancyvrb/README 2020-05-04 21:24:44 UTC (rev 55018)
@@ -20,8 +20,8 @@
and conditionally processing text.
`fancyvrb' was heavily used in the typesetting of the "LaTeX Graphics
-Companion", by Michel Goossens, Sebastian Rahtz and Frank Mittelbach, Addison
-Wesley, 1997.
+Companion", by Michel Goossens, Frank Mittelbach, Sebastian Rahtz,
+Denis Roegel, and Herbert Voß, Addison Wesley, 2007.
It was presented March 31, 1998 for EuroTeX'98. The original paper is
available on "Cahiers GUTenberg"
Modified: trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex 2020-05-04 21:24:29 UTC (rev 55017)
+++ trunk/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex 2020-05-04 21:24:44 UTC (rev 55018)
@@ -1,13 +1,12 @@
\documentclass{article}
%\usepackage[T1]{fontenc}
%\usepackage[charter]{mathdesign}
-\usepackage{libertinus-otf}
-%\usepackage[scaled=0.84]{beramono}
+\usepackage{libertinus}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.9]{AnonymousPro-Regular.ttf}
-
+%\usepackage[scaled=0.88]{beramono}
\newif\ifChangeBar \ChangeBarfalse
\usepackage{fancyvrb}
-\usepackage[pstricks]{fancyvrb-ex}
+\usepackage{fancyvrb-ex}
\usepackage{xurl}
\usepackage[colorlinks,linktocpage]{hyperref}
\parskip=3pt plus 1pt minus 1pt
@@ -63,7 +62,7 @@
{\footnotesize and}\\[-2mm]
{\footnotesize Herbert Voß\ (FU Berlin -- DE)}
}
-\date{Version 3.5\\ \today}
+\date{Version 3.6\\ \today}
\fvset{frame=single,xrightmargin=0cm,numbers=left,numbersep=3pt,commentchar=Z}
@@ -83,6 +82,7 @@
\vfill
Thanks to
+Claudio Beccari,
Philippe Esperet, %\url{esperet at marie.polytechnique.fr},
Michael Friendly, %\url{friendly at hotspur.psych.yorku.ca},
Mario Hassler, %\url{HASSLER at ippnv2.ipp.kfa-juelich.de},
@@ -919,6 +919,25 @@
This allows us to do some devious tricks: see the example in Section
\ref{sec:VerbatimInclude} on page~\pageref{sec:VerbatimInclude}.
+
+\subsubsection{Reference label}
+
+\begin{optlist}
+ \item[reflabel (<label>)]: A label for use of \verb|\pageref|.
+\end{optlist}
+
+\begin{SideBySideExample}
+ \begin{Verbatim}[reflabel=verb0]
+ First verbatim line.
+ Second verbatim line.
+ \end{Verbatim}
+ See the verbatim on
+ page~\pageref{verb0}.
+\end{SideBySideExample}
+
+
+
+
\subsection{Different kinds of verbatim environments}
\subsubsection{Verbatim environment}
@@ -1291,6 +1310,12 @@
Third verbatim line.
\end{SideBySideExample}
+
+
+\iffalse
+
+
+
\section{\texttt{PCenterExample} environment}
\begin{Verbatim}
@@ -1320,6 +1345,7 @@
\end{PCenterExample}
}
+
\section{\texttt{PSideBySideExample} environment}
\begin{Verbatim}[gobble=2]
@@ -1365,11 +1391,11 @@
}
+\fi
-
\begin{thebibliography}{1}
\bibitem{FancyBox} Timothy \textsc{van Zandt},
\textit{Documentation for `fancybox': Box tips and tricks for \LaTeX}.
Modified: trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty 2020-05-04 21:24:29 UTC (rev 55017)
+++ trunk/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty 2020-05-04 21:24:44 UTC (rev 55018)
@@ -2,7 +2,7 @@
%% This is file `fancyvrb.sty',
%%
%% COPYRIGHT 1992-1999, by Timothy Van Zandt <tvz at zandtwerk.kellogg.nwu.edu>
-%% 2010-2019, by Herbert Voss <hvoss at tug.org>
+%% -2020, by Herbert Voss <hvoss at tug.org>
%%
%% This package may be distributed under the terms of the LaTeX Project Public
%% License, as described in lppl.txt in the base LaTeX distribution.
@@ -13,9 +13,9 @@
%% verbatim environments and commands and extensive documentation.
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{3.5}
-\def\filedate{2020/01/13}
-\ProvidesPackage{fancyvrb}[2020/01/13 v3.5 verbatim text (tvz,hv)]
+\def\fileversion{3.6}
+\def\filedate{2020/05/03}
+\ProvidesPackage{fancyvrb}[2020/05/03 v3.6 verbatim text (tvz,hv)]
%\message{Style option: `fancyvrb' v\fileversion \space <\filedate> (tvz)}
\csname fancyvrb at loaded\endcsname
\let\fancyvrb at loaded\endinput
@@ -1209,6 +1209,9 @@
Hit <return> to procede.}}
\define at key{FV}{aftersave}{\def\FancyVerbAfterSave{#1}}
\fvset{aftersave=}
+\define at key{FV}{reflabel}{\if$#1$\else\label{#1}\fi}
+%\fvset{reflabel=}
+
\def\FV at UseVerb#1{\mbox{\FV at UseKeyValues\FV at FormattingPrep#1}}
\DeclareRobustCommand\UseVerb{\FV at Command{}{UseVerb}}
\def\FVC at UseVerb#1{%
More information about the tex-live-commits
mailing list.