[tex4ht-commits] [SCM] tex4ht updated: r1431 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Thu Jan 4 16:53:41 CET 2024
Author: michal_h21
Date: 2024-01-04 15:53:40 +0000 (Thu, 04 Jan 2024)
New Revision: 1431
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
fixed fancyvrb's \FVC at Verb
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-01-03 22:27:23 UTC (rev 1430)
+++ trunk/lit/ChangeLog 2024-01-04 15:53:40 UTC (rev 1431)
@@ -1,3 +1,9 @@
+2024-01-04 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (fancyvrb.4ht): changed redefinition of \FVC at Verb
+ so it doesn't cause runtime errors with Minted's \mintinline.
+ https://github.com/michal-h21/make4ht/issues/141
+
2024-01-03 Karl Berry <karl at freefriends.org>
* tex4ht-fonts-libertinus.tex: Id.
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2024-01-03 22:27:23 UTC (rev 1430)
+++ trunk/lit/tex4ht-4ht.tex 2024-01-04 15:53:40 UTC (rev 1431)
@@ -25815,26 +25815,21 @@
\SubSection{Verb}
+We must prevent execution of the code in a:fancyvrb in \Verb+\FVC at Verb+, as it
+inserts special for ignoring of the output, so the rest of the document
+wouldn't be produced. This hook is inserted by \Verb+\FV at FormattingPrep+.
+See \Link[://github.com/michal-h21/make4ht/issues/141]{}{}this issue\EndLink.
+
\<fix fancyvrb\><<<
-\begingroup
-\catcode`\^^M=\active%
-\gdef\FVC at Verb#1{%
- \begingroup%
- \FV at UseKeyValues%
- \let\a:fancyvrb|=\empty\FV at FormattingPrep%
- \FV at CatCodes%
- \outer\def^^M{}%
- \catcode`#1=12%
- \def\@tempa{\def\FancyVerbGetVerb####1####2}%
- \expandafter\@tempa\string#1{\mbox{\a:verb##2\b:verb}\endgroup}%
- \FancyVerbGetVerb\FV at EOL}%
-\endgroup
+\pend:defI\FVC at Verb{\bgroup\let\a:fancyvrb\empty\a:verb}
+\append:defI\FVC at Verb{\b:verb\egroup}
>>>
\<fix fancyvrb\><<<
-\def\FV at UseVerb#1{\mbox{\FV at UseKeyValues%
+\def\:tempa#1{\mbox{\FV at UseKeyValues%
\let\a:fancyvrb|=\empty \FV at FormattingPrep%
\a:verb #1\b:verb}}
+\HLet\:tempa\FV at UseVerb
>>>
\SubSection{Colors}
More information about the tex4ht-commits
mailing list.