From a497d296349a83b2fb50513d539c6c6dcd1ed0ee Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Wed, 12 Jun 2024 08:40:11 +0000 Subject: [HiTeX] Fix section count from classic TeX. git-svn-id: svn://tug.org/texlive/trunk@71491 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/hitexdir/hitex.w | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'Build/source/texk/web2c') diff --git a/Build/source/texk/web2c/hitexdir/hitex.w b/Build/source/texk/web2c/hitexdir/hitex.w index 20e75e5b69a..b419f9fb8fa 100644 --- a/Build/source/texk/web2c/hitexdir/hitex.w +++ b/Build/source/texk/web2c/hitexdir/hitex.w @@ -1421,6 +1421,8 @@ declaration. @= static int s_no(const char *str); +@ (Empty section to keep numbering intact.) + @* On-line and off-line printing. Messages that are sent to a user's terminal and to the transcript-log file are produced by several `|print|' procedures. These procedures will @@ -16398,19 +16400,7 @@ if (nest[nest_ptr-1].mode_field==mmode) o=display_indent; @; if (x) -{ @@; - pop_alignment(); -} -else -{ @; - @; - flush_node_list(p);pop_alignment(); -} -@; -} @/ -@t\4@>@@; -@ @= +{ /*Handle an alignment that depends on |hsize| or |vsize|*/ pointer r=get_node(align_node_size); save_ptr=save_ptr-2;pack_begin_line=-mode_line; @@ -16422,6 +16412,17 @@ else align_v(r)= (mode!=-vmode); link(head)=r; tail=r; pack_begin_line=0; + pop_alignment(); +} +else +{ @; + @; + flush_node_list(p);pop_alignment(); +} +@; +} @/ +@t\4@>@@; @ It's time now to dismantle the preamble list and to compute the column widths. Let $w_{ij}$ be the maximum of the natural widths of all entries -- cgit v1.2.3