groff
[Top][All Lists]
Advanced

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

Re: [BUG] gropdf: Hardcoded (spaces) indentation in .EX/.EE is ignored


From: Deri
Subject: Re: [BUG] gropdf: Hardcoded (spaces) indentation in .EX/.EE is ignored
Date: Sat, 17 Dec 2022 21:26:37 +0000

On Saturday, 17 December 2022 16:35:44 GMT G. Branden Robinson wrote:
> Hi Alex,
> 
> At 2022-12-17T14:37:59+0100, Alejandro Colomar wrote:
> > In the Linux man-pages, the exmaple programs are written almost as if
> > they were C programs; that is, we don't use .RS for indenting, or
> > stuff like that.  We just dump the programs from the .c file, and do
> > the minimal adaptations to make it work (e.g., transform - into \-).
> > That makes them very maintainable.
> > 
> > However, when the examples are transformed into PDF (and don't
> > remember about HTML, but chances are high it's also buggy) the
> > indentation is broken:
> > 
> > <http://chuzzlewit.co.uk/LinuxManBook.pdf#pdf%3Abm11943>
> > 
> > Please have a look at it.
> 
> At least part of this looks like the same issue as with the suffixes(7)
> page.  Lines with leading spaces, be they in table entries as there or
> not, as here, are not being handled correctly, and that could be
> throwing off subsequent arithmetic involving the drawing position.

Hi Alex,

Exactly the same issue, premature evisceration (of leading spaces)! Fixed 
version in the same place.

Cheers 

Deri






reply via email to

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