diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/fancyvrb/Changes | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fancyvrb/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf | bin | 133221 -> 125081 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex | 38 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty | 11 |
5 files changed, 43 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/fancyvrb/Changes b/Master/texmf-dist/doc/latex/fancyvrb/Changes index c59dc316ec7..83f18e56f93 100644 --- a/Master/texmf-dist/doc/latex/fancyvrb/Changes +++ b/Master/texmf-dist/doc/latex/fancyvrb/Changes @@ -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) diff --git a/Master/texmf-dist/doc/latex/fancyvrb/README b/Master/texmf-dist/doc/latex/fancyvrb/README index e78fec959f8..878c5798970 100644 --- a/Master/texmf-dist/doc/latex/fancyvrb/README +++ b/Master/texmf-dist/doc/latex/fancyvrb/README @@ -20,8 +20,8 @@ font family and size, numbering lines, framing code examples, colouring text 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" diff --git a/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf b/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf Binary files differindex 7a929f11471..33799f3b3d0 100644 --- a/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf +++ b/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.pdf diff --git a/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex b/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex index e28dc41408b..e64a86f3ba1 100644 --- a/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex +++ b/Master/texmf-dist/doc/latex/fancyvrb/fancyvrb-doc.tex @@ -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 @@ Report bugs to \url{hvoss@tug.org} \vfill Thanks to +Claudio Beccari, Philippe Esperet, %\url{esperet@marie.polytechnique.fr}, Michael Friendly, %\url{friendly@hotspur.psych.yorku.ca}, Mario Hassler, %\url{HASSLER@ippnv2.ipp.kfa-juelich.de}, @@ -919,6 +919,25 @@ text: 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 @@ and output side by side or on top of each other. They are all used for this docu Third verbatim line. \end{SideBySideExample} + + +\iffalse + + + \section{\texttt{PCenterExample} environment} \begin{Verbatim} @@ -1320,6 +1345,7 @@ and output side by side or on top of each other. They are all used for this docu \end{PCenterExample} } + \section{\texttt{PSideBySideExample} environment} \begin{Verbatim}[gobble=2] @@ -1365,7 +1391,7 @@ and output side by side or on top of each other. They are all used for this docu } - +\fi diff --git a/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty b/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty index 8eb3564af7b..5b64d153b66 100644 --- a/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty +++ b/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty @@ -2,7 +2,7 @@ %% This is file `fancyvrb.sty', %% %% COPYRIGHT 1992-1999, by Timothy Van Zandt <tvz@zandtwerk.kellogg.nwu.edu> -%% 2010-2019, by Herbert Voss <hvoss@tug.org> +%% -2020, by Herbert Voss <hvoss@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@loaded\endcsname \let\fancyvrb@loaded\endinput @@ -1209,6 +1209,9 @@ Hit <return> to procede.}} \define@key{FV}{aftersave}{\def\FancyVerbAfterSave{#1}} \fvset{aftersave=} +\define@key{FV}{reflabel}{\if$#1$\else\label{#1}\fi} +%\fvset{reflabel=} + \def\FV@UseVerb#1{\mbox{\FV@UseKeyValues\FV@FormattingPrep#1}} \DeclareRobustCommand\UseVerb{\FV@Command{}{UseVerb}} \def\FVC@UseVerb#1{% |