Hello Bjarni,
On Sun, May 28, 2023 at 09:37:46PM +0000, Bjarni Ingi Gislason wrote:
> On Sun, May 28, 2023 at 07:03:28AM +0200, Helge Kreutzmann wrote:
> > Hello Bjarni,
> > On Sat, May 27, 2023 at 04:12:07PM +0000, Bjarni Ingi Gislason wrote:
> > > On Sat, May 27, 2023 at 01:59:40PM +0200, Helge Kreutzmann wrote:
> > > >[...]
> > > > .BI \-f " program-file\fR,\fP "\c
> > > > .BI \-\^\-file " program-file"
> > >   This is a wrong use of '\c', as its purpose is to join the output of
> > > two macros _without_ an intervening space character.
> > > 
> > >   So remove ' ' and '\c', changing
> > > 
> > > .BI \-f " program-file\fR,\fP "\c
> > > 
> > >   to
> > > 
> > > .BI \-f " program-file\fR,\fP"
> > 
>   My change is wrong as I ignored the 'TP' macro, which uses only one
> (logical) line, but I made two physical lines.

>   The simples change is to join the two lines with an '\', and put the
> space after the comma (punctuation), so

.TP
.BI something\c
.BI somethingelse

needs to become
.TP
.BI something\
somethingelse

The problem is, that I use sed to fix this (until either upstream
fixes its man page or po4a has a workaround). (And I don't care about
space etc, the translator will need to make her own anyway.)

From trial and error I noticed the the second ".BI" does not cunfuse
po4a.

So I check if

.BI something\c → .BI something\

I unique enough to only apply to the two man pages using it and does
th trick.

Thanks for your efforts!

Greetings

          Helge
-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: PGP signature

Reply via email to