groff
[Top][All Lists]
Advanced

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

Re: [Groff] Question about .trunc


From: Peter Schaffter
Subject: Re: [Groff] Question about .trunc
Date: Fri, 4 Nov 2016 10:48:28 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Nov 04, 2016, Tadziu Hoffmann wrote:
> 
> > Should it say, instead:
> > 
> > "...the amount of vertical space truncated from a .sp request
> >                                            ^^^^^^^^^^^^^^^^^^
> > by the most recently sprung vertical position trap..."
> 
> I believe that's how it was meant.
> 
> The info file has this to say:
> 
>   [...] at the point a trap is sprung, [.trunc] represents
>   the difference of what the vertical position would have been
>   but for the trap, and what the vertical position actually is.
> 
> If a position trap is sprung from a .sp request, the excess
> space is truncated, and the current vertical position is now
> the position of the trap -- if the trap were not there, the
> vertical position would be different.  If normal text is output
> that springs the trap, *nothing is actually truncated* -- the
> vertical position is still the bottom of the text that was
> output, and would be the same if the trap were not there.

Thanks, Tadziu.  Great explanation.  I was conceptualizing things
wrong.  I wonder, though, if the small emendation to the docs,
above, might be a good idea anyway, for clarity.

-- 
Peter Schaffter
http://www.schaffter.ca



reply via email to

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