summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fancyvrb
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-11-07 03:02:46 +0000
committerNorbert Preining <norbert@preining.info>2023-11-07 03:02:46 +0000
commit02646b6e89ef69971235e0c883e86fd746955e2b (patch)
tree203df1a9b40b37e9452e03d936e392da7d03c7af /macros/latex/contrib/fancyvrb
parent240fd5fe8af67337e240c10434af4834fc86278f (diff)
CTAN sync 202311070302
Diffstat (limited to 'macros/latex/contrib/fancyvrb')
-rw-r--r--macros/latex/contrib/fancyvrb/Changes2
-rw-r--r--macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdfbin171060 -> 170570 bytes
-rw-r--r--macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex42
-rw-r--r--macros/latex/contrib/fancyvrb/latex/fancyvrb.sty4
4 files changed, 40 insertions, 8 deletions
diff --git a/macros/latex/contrib/fancyvrb/Changes b/macros/latex/contrib/fancyvrb/Changes
index 542d7326d0..123927ae33 100644
--- a/macros/latex/contrib/fancyvrb/Changes
+++ b/macros/latex/contrib/fancyvrb/Changes
@@ -1,4 +1,6 @@
--- fancyvrb.sty
+4.5b 2023/11/06 - added info to the documentation for
+ the different behaviour in the \LaTeX kernel (hv)
4.5a 2023/01/19 - modified documentation (hv)
4.5 2022/06/06 - added \noniterlineskip for frame=lines (hv)
4.4 2022/06/03 - fix for deleted \@penalty command _before_ top rule(hv)
diff --git a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf
index 76efb4e4f1..321082c642 100644
--- a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf
+++ b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex
index ec6dbcdfed..7f7985d8ac 100644
--- a/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex
+++ b/macros/latex/contrib/fancyvrb/doc/fancyvrb-doc.tex
@@ -103,8 +103,10 @@ Will Robertson,
Ulrich M. Schwarz,
Thomas Siegel, % \url{siegel@aix520.informatik.uni-leipzig.de},
Clemens Steinke,
+Vladimir Volovich,
and
-Vladimir Volovich. %\url{vvv@vvv.vsu.ru}.
+Yukai Chou
+ %\url{vvv@vvv.vsu.ru}.
\clearpage
\tableofcontents
\clearpage
@@ -770,8 +772,8 @@ With the setting \texttt{lastline=} or \texttt{lastline=0} nothing will be print
\end{optlist}
\begin{SideBySideExample}[gobble=0]
-\begin{Verbatim}[showspaces=true]
- Verbatim line.
+\begin{Verbatim}[showspaces,showtabs]
+Verbatim line .
\end{Verbatim}
\end{SideBySideExample}
@@ -779,9 +781,9 @@ With the setting \texttt{lastline=} or \texttt{lastline=0} nothing will be print
sets \texttt{showspaces=true}:
\begin{SideBySideExample}[gobble=0]
- \begin{Verbatim*}
- Verbatim line.
- \end{Verbatim*}
+\begin{Verbatim*}
+Verbatim line .
+\end{Verbatim*}
\end{SideBySideExample}
There are also some parameters to determine the way tab characters are
@@ -803,6 +805,34 @@ interpreted (using tabs is in fact a rather old-fashioned style of coding):
(\emph{Default:~8}).
\end{optlist}
+\noindent
+\colorbox{black!15}{\parbox{\linewidth}{%
+Pay attention that the behaviour of the environment/command from
+the \LaTeX\ kernel is different. In \LaTeX\ Tabs are printed as visible
+space, but with \texttt{fancyvrb} as spaces or with \texttt{showtabs}
+as visible Tab.}}
+
+\iffalse
+\begin{SideBySideExample}[gobble=0]
+\begin{Verbatim*}
+Verbatim line foo
+\end{Verbatim*}
+\end{SideBySideExample}
+
+
+\begin{SideBySideExample}[gobble=0]
+\begin{verbatim*}
+verbatim line foo
+\end{verbatim*}
+\end{SideBySideExample}
+
+
+\begin{SideBySideExample}[gobble=0]
+\Verb*|Verb line foo|\par
+\verb*|verb line foo|
+\end{SideBySideExample}
+\fi
+
\subsubsection{Space between lines}
\begin{optlist}
diff --git a/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty b/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
index ad9c0b7bc8..b8b1d8514d 100644
--- a/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
+++ b/macros/latex/contrib/fancyvrb/latex/fancyvrb.sty
@@ -13,8 +13,8 @@
%% verbatim environments and commands and extensive documentation.
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{4.5a}
-\def\filedate{2023/01/19}
+\def\fileversion{4.5b}
+\def\filedate{2023/11/06}
\ProvidesPackage{fancyvrb}[\filedate\space \fileversion\space verbatim text (tvz,hv)]
%\message{Style option: `fancyvrb' v\fileversion \space <\filedate> (tvz)}
\csname fancyvrb@loaded\endcsname