[tex4ht-commits] [SCM] tex4ht updated: r1259 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Dec 2 23:40:02 CET 2022


Author: michal_h21
Date: 2022-12-02 22:40:01 +0000 (Fri, 02 Dec 2022)
New Revision: 1259

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
use \nobreak in fancyvrb.4ht to preven line breaks

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-12-01 16:04:36 UTC (rev 1258)
+++ trunk/lit/ChangeLog	2022-12-02 22:40:01 UTC (rev 1259)
@@ -1,3 +1,9 @@
+2022-12-02  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (fancyvrb.4ht): use \nobreak to prevent unwanted
+	line breaks.
+	https://github.com/michal-h21/make4ht/issues/104
+
 2022-12-01  Michal Hoftich  <michal.h21 at gmail.com>
 	
 	* tex4ht-html4.tex (html4.4ht): fixed cross-reference links to

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-12-01 16:04:36 UTC (rev 1258)
+++ trunk/lit/tex4ht-4ht.tex	2022-12-02 22:40:01 UTC (rev 1259)
@@ -25183,7 +25183,9 @@
   \setbox\@tempboxa=\FV at ListProcessLine{#1}%
   \let\FV at ProcessLine\FV at ListProcessLine@iv}
 \def\FV at ListProcessLine@iv#1{%
-  \box\@tempboxa
+  % we use \nobreak to really prevent unwanted line breaks
+  % see https://github.com/michal-h21/make4ht/issues/104
+  \box\@tempboxa\nobreak% 
   \setbox\@tempboxa=\FV at ListProcessLine{#1}}%
 \def\FV at ListProcessLastLine{%
   \ifx\FV at ProcessLine\FV at ListProcessLine@iv



More information about the tex4ht-commits mailing list.