bug-texinfo
[Top][All Lists]
Advanced

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

Re: @multitable in @quotation problem


From: Gavin Smith
Subject: Re: @multitable in @quotation problem
Date: Thu, 18 Mar 2021 20:52:01 +0000
User-agent: Mutt/1.9.4 (2018-02-28)

On Sun, Mar 14, 2021 at 09:59:52PM +0100, Werner LEMBERG wrote:
> 
> [texinfo.tex version 2021-02-20.11]
> 
> 
> Please have a look at the attached example.  As you can see, the
> `@multitable` environment within a `@quotation` environment sticks out
> to the right, which I consider as undesirable.
> 
> The width of the table is specified as 0.5 + 0.5 = 1 times the line
> length.  However, it is not documented what exactly the 'line length'
> is if applied to the stuff within a `@quotation` environment.

It appears to be fixed with the following:

diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 391414187d..fd86961257 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -4486,6 +4486,7 @@ $$%
     \global\advance\colcount by 1
     \multistrut
     \vtop{%
+      \advance\hsize by -1\leftskip
       % Use the current \colcount to find the correct column width:
       \hsize=\expandafter\csname col\the\colcount\endcsname
       %

This means that when the fraction of the \hsize is calculated any
existing indent will not be included.  I'm going to commit this change
but have only tested it with the file you sent so it would be good
if you could test it with other input.



reply via email to

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