texlive[61714] Master/texmf-dist: ffcode (23jan22)
commits+karl at tug.org
commits+karl at tug.org
Sun Jan 23 22:11:30 CET 2022
Revision: 61714
http://tug.org/svn/texlive?view=revision&revision=61714
Author: karl
Date: 2022-01-23 22:11:30 +0100 (Sun, 23 Jan 2022)
Log Message:
-----------
ffcode (23jan22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt
trunk/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf
trunk/Master/texmf-dist/doc/latex/ffcode/ffcode.tex
trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty
Modified: trunk/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt 2022-01-23 21:11:13 UTC (rev 61713)
+++ trunk/Master/texmf-dist/doc/latex/ffcode/DEPENDS.txt 2022-01-23 21:11:30 UTC (rev 61714)
@@ -1,2 +1,3 @@
+hard xkeyval
hard minted
hard tcolorbox
Modified: trunk/Master/texmf-dist/doc/latex/ffcode/ffcode.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/ffcode/ffcode.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ffcode/ffcode.tex 2022-01-23 21:11:13 UTC (rev 61713)
+++ trunk/Master/texmf-dist/doc/latex/ffcode/ffcode.tex 2022-01-23 21:11:30 UTC (rev 61714)
@@ -30,7 +30,7 @@
\usepackage{microtype}
\title{\ff{ffcode}: \LaTeX{} Package \\ for Fixed-Font Code Blocks}
\author{Yegor Bugayenko}
-\date{0.4.0 2022/01/09}
+\date{0.4.1 2022/01/23}
\begin{document}
\pagenumbering{gobble}
\raggedbottom
Modified: trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty 2022-01-23 21:11:13 UTC (rev 61713)
+++ trunk/Master/texmf-dist/tex/latex/ffcode/ffcode.sty 2022-01-23 21:11:30 UTC (rev 61714)
@@ -21,8 +21,10 @@
% SOFTWARE.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ffcode}[2022/01/09 0.4.0 Fixed Font Code]
+\ProvidesPackage{ffcode}[2022/01/23 0.4.1 Fixed Font Code]
+\RequirePackage{xkeyval}
+
\makeatletter
\DeclareOptionX{nopygments}{\PassOptionsToPackage{draft=true}{minted}}
\newif\ifff at noframes
@@ -39,17 +41,16 @@
\RequirePackage{minted}
\setminted{breaklines}
+\setminted{escapeinside=||,mathescape}
+\setminted{highlightcolor=gray!30}
\usemintedstyle{bw}
\makeatletter\ifff at nonumbers
\ifff at nobars
- \newminted[ffcode]{text}{
- escapeinside=||,mathescape,highlightcolor=gray!30
- }
+ \newminted[ffcode]{text}{}
\else
\newminted[ffcode]{text}{
- framesep=6pt,framerule=1pt,rulecolor=gray,frame=leftline,
- escapeinside=||,mathescape,highlightcolor=gray!30
+ framesep=6pt,framerule=1pt,rulecolor=gray,frame=leftline
}
\fi
\else
@@ -57,23 +58,23 @@
\ifff at nocn
\ifff at nobars
\newminted[ffcode]{text}{
- linenos,numbersep=2pt,highlightcolor=gray!30,escapeinside=||,mathescape
+ linenos,numbersep=2pt
}
\else
\newminted[ffcode]{text}{
framesep=6pt,framerule=1pt,rulecolor=gray,frame=leftline,
- linenos,numbersep=2pt,highlightcolor=gray!30,escapeinside=||,mathescape
+ linenos,numbersep=2pt
}
\fi
\else
\ifff at nobars
\newminted[ffcode]{text}{
- firstnumber=last,linenos,numbersep=2pt,highlightcolor=gray!30,escapeinside=||,mathescape
+ firstnumber=last,linenos,numbersep=2pt
}
\else
\newminted[ffcode]{text}{
framesep=6pt,framerule=1pt,rulecolor=gray,frame=leftline,
- firstnumber=last,linenos,numbersep=2pt,highlightcolor=gray!30,escapeinside=||,mathescape
+ firstnumber=last,linenos,numbersep=2pt
}
\fi
\fi
More information about the tex-live-commits
mailing list.