From c3c151ce728c19d95e607aa0e223950ce3c5be14 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 2 Dec 2022 22:50:14 +0000 Subject: \nobreak as needed, tex4ht r1259 git-svn-id: svn://tug.org/texlive/trunk@65171 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 ++++++ Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 6 ++++-- Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht | 10 ++++++---- 3 files changed, 16 insertions(+), 6 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 350373e8552..63c02b8e91a 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,9 @@ +2022-12-02 Michal Hoftich + + * 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 * tex4ht-html4.tex (html4.4ht): fixed cross-reference links to diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index e55a7e212e9..e0157a22637 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1253 2022-11-28 09:54:31Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1259 2022-12-02 22:40:01Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -25183,7 +25183,9 @@ as they resulted in unwanted blank lines. \setbox\@tempboxa=\FV@ListProcessLine{#1}% \let\FV@ProcessLine\FV@ListProcessLine@iv} \def\FV@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@ListProcessLine{#1}}% \def\FV@ListProcessLastLine{% \ifx\FV@ProcessLine\FV@ListProcessLine@iv diff --git a/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht b/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht index c8108df7118..9f05ba41b78 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/fancyvrb.4ht @@ -1,6 +1,6 @@ -% fancyvrb.4ht (2021-06-06-09:18), generated from tex4ht-4ht.tex +% fancyvrb.4ht (2022-12-02-14:48), generated from tex4ht-4ht.tex % Copyright 1997-2009 Eitan M. Gurari -% Copyright 2009-2021 TeX Users Group +% Copyright 2009-2022 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-06-06-09:18} +\immediate\write-1{version 2022-12-02-14:48} \pend:def\FV@FormattingPrep{\let\fv:color\empty @@ -68,7 +68,9 @@ \setbox\@tempboxa=\FV@ListProcessLine{#1}% \let\FV@ProcessLine\FV@ListProcessLine@iv} \def\FV@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@ListProcessLine{#1}}% \def\FV@ListProcessLastLine{% \ifx\FV@ProcessLine\FV@ListProcessLine@iv -- cgit v1.2.3