[texhax] fancyvrb UseVerbatim numbered lines bug
José Romildo Malaquias
j.romildo at gmail.com
Mon Apr 26 21:38:46 CEST 2010
Hi.
I want to typeset some text verbatim with numbered lines using the
fancyvrb package. In the situation the issue has arisen I need to use
SaveVerbatim and UseVerbatim. Here is a test program:
\documentclass[a4paper]{article}
\usepackage{fancyvrb}
\begin{document}
\begin{SaveVerbatim}{TestVerb}
\textcolor{blue}{this} is verbatim
input using the \emph{Verbatim} environment
from the fancyvrb package
ok
\end{SaveVerbatim}
\UseVerbatim[frame=single,numbers=left]{TestVerb}
\end{document}
In the typeset document all lines in the verbatim are labeled with the
number 4, instead of 1, 2, 3 and 4.
Is this a known issue with the fancyvrb package? Any hints on how to get
verbatim numbered lines with UseVerbatim?
Regards,
Romildo
More information about the texhax
mailing list