texlive[69383] Master/texmf-dist: ffcode (11jan24)
commits+karl at tug.org
commits+karl at tug.org
Thu Jan 11 22:27:58 CET 2024
Revision: 69383
https://tug.org/svn/texlive?view=revision&revision=69383
Author: karl
Date: 2024-01-11 22:27:58 +0100 (Thu, 11 Jan 2024)
Log Message:
-----------
ffcode (11jan24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf
trunk/Master/texmf-dist/source/latex/ffcode/ffcode.dtx
trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty
Modified: trunk/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/ffcode/ffcode.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/ffcode/ffcode.dtx 2024-01-11 21:27:27 UTC (rev 69382)
+++ trunk/Master/texmf-dist/source/latex/ffcode/ffcode.dtx 2024-01-11 21:27:58 UTC (rev 69383)
@@ -50,7 +50,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{ffcode}
%<*package>
-[2024-01-10 0.9.0 Fixed Font Code]
+[2024-01-11 0.9.1 Fixed Font Code]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -245,6 +245,10 @@
% \begin{macrocode}
\RequirePackage{xcolor}
\RequirePackage{listings}
+\makeatletter
+% See \href{https://tex.stackexchange.com/questions/706858}{the explanation}:
+\lst at AddToHook{Init}{\setlength{\lineskip}{0pt}}
+\makeatother
% \end{macrocode}
% \begin{macro}{ffcode}
@@ -261,8 +265,10 @@
\lstset{numbers=left,numbersep=5pt,numberstyle={\tiny\sffamily\color{gray}}}
\fi
\ifdefined\ff at nobars\else
- \lstset{frame=leftline,framerule=.3pt,rulecolor={\color{gray}}}
- \ifdefined\ff at nocn\else\fi
+ \lstset{frame=leftline,framerule=.4pt,rulecolor={\color{gray}}}
+ \ifdefined\ff at nocn\else
+ \lstset{firstnumber=last}
+ \fi
\lstset{#1}
}
{}
Modified: trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty 2024-01-11 21:27:27 UTC (rev 69382)
+++ trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty 2024-01-11 21:27:58 UTC (rev 69383)
@@ -31,7 +31,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ffcode}
-[2024-01-10 0.9.0 Fixed Font Code]
+[2024-01-11 0.9.1 Fixed Font Code]
@@ -65,6 +65,9 @@
\RequirePackage{xcolor}
\RequirePackage{listings}
+\makeatletter
+\lst at AddToHook{Init}{\setlength{\lineskip}{0pt}}
+\makeatother
\makeatletter
\lstnewenvironment{ffcode}[1][]
@@ -77,8 +80,10 @@
\lstset{numbers=left,numbersep=5pt,numberstyle={\tiny\sffamily\color{gray}}}
\fi
\ifdefined\ff at nobars\else
- \lstset{frame=leftline,framerule=.3pt,rulecolor={\color{gray}}}
- \ifdefined\ff at nocn\else\fi
+ \lstset{frame=leftline,framerule=.4pt,rulecolor={\color{gray}}}
+ \ifdefined\ff at nocn\else
+ \lstset{firstnumber=last}
+ \fi
\lstset{#1}
}
{}
More information about the tex-live-commits
mailing list.