texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Fix @multitable inside @raggedright


From: Gavin D. Smith
Subject: branch master updated: Fix @multitable inside @raggedright
Date: Mon, 04 Apr 2022 11:10:17 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new beb67a5f97 Fix @multitable inside @raggedright
beb67a5f97 is described below

commit beb67a5f972190315cbf035779a70f47253ea733
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Apr 4 16:09:27 2022 +0100

    Fix @multitable inside @raggedright
    
    * doc/texinfo.tex (\domultitable): Do not set \rightskip to 0pt
    as this interferes with the \rightskip setting in @raggedright.
    * doc/texinfo-tex-test.texi (@multitable): Add test case.
    
    Werner Lemberg reported that @multitable inside @raggedright led
    to 'Underful \hbox' warnings.
---
 ChangeLog                 | 13 ++++++++++++-
 doc/texinfo-tex-test.texi | 11 +++++++++++
 doc/texinfo.tex           |  1 -
 3 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b44ed67d25..5d05c04723 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2022-04-04  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       Fix @multitable inside @raggedright
+
+       * doc/texinfo.tex (\domultitable): Do not set \rightskip to 0pt
+       as this interferes with the \rightskip setting in @raggedright.
+       * doc/texinfo-tex-test.texi (@multitable): Add test case.
+
+       Werner Lemberg reported that @multitable inside @raggedright led
+       to 'Underful \hbox' warnings.
+
 2022-04-04  Patrice Dumas  <pertusus@free.fr>
 
        Update po files
@@ -7,7 +18,7 @@
 
        * tp/init/epub3.pm: remove an encoded character in a comment.
 
-2022-03-20  Gavin Smith  <gavinsmith0123@gmail.com>
+2022-04-04  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * po/POTFILES.in: Update.
 
diff --git a/doc/texinfo-tex-test.texi b/doc/texinfo-tex-test.texi
index d23c228a60..3f939fc05c 100644
--- a/doc/texinfo-tex-test.texi
+++ b/doc/texinfo-tex-test.texi
@@ -1703,6 +1703,17 @@ after after after after after after after after
 after after after after after after after after
 after after after after after after after after
 
+in @t{@@raggedright} (check warnings re @samp{Underful \hbox} etc.):
+
+@raggedright
+@multitable @columnfractions 0.2 0.2 0.2
+@item foofoo foofoo foofoo foofoo
+  @tab barbar barbar barbar barbar
+  @tab bazbaz bazbaz bazbaz bazbaz
+@end multitable
+@end raggedright
+
+
 
 @section Definitions
 
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 8ab3974b80..ab837e82eb 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -4409,7 +4409,6 @@ $$%
       % Find the correct column width
       \hsize=\expandafter\csname col\the\colcount\endcsname
       %
-      \rightskip=0pt
       \ifnum\colcount=1
         \advance\hsize by\leftskip % Add indent of surrounding text
       \else



reply via email to

[Prev in Thread] Current Thread [Next in Thread]