Debian Bug report logs - #1036826
po4a: Escape sequence \c encountered. This is not completely handled yet.

version graph

Package: po4a; Maintainer for po4a is Martin Quinson <[email protected]>; Source for po4a is src:po4a (PTS, buildd, popcon).

Reported by: Helge Kreutzmann <[email protected]>

Date: Sat, 27 May 2023 12:03:01 UTC

Severity: normal

Tags: fixed-upstream

Found in version po4a/0.69-1

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1036826: po4a: Escape sequence \c encountered. This is not completely handled yet.
Reply-To: Helge Kreutzmann <[email protected]>, [email protected]
Resent-From: Helge Kreutzmann <[email protected]>
Resent-To: [email protected]
Resent-CC: Martin Quinson <[email protected]>
X-Loop: [email protected]
Resent-Date: Mon, 29 May 2023 05:12:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 1036826
X-Debian-PR-Package: po4a
X-Debian-PR-Keywords: 
References: <20230527115940.GA8302@Debian-50-lenny-64-minimal> <ZHIr11taob+wCF3/@localhost> <20230528050327.GA5840@Debian-50-lenny-64-minimal> <ZHPJqhW00nSr7ETv@localhost> <20230527115940.GA8302@Debian-50-lenny-64-minimal>
X-Debian-PR-Source: po4a
Received: via spool by [email protected] id=B1036826.16853369432542991
          (code B ref 1036826); Mon, 29 May 2023 05:12:02 +0000
Received: (at 1036826) by bugs.debian.org; 29 May 2023 05:09:03 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.8 required=4.0 tests=BAYES_00,CK_HELO_GENERIC,
	HAS_BUG_NUMBER,HELO_DYNAMIC_IPADDR,PGPSIGNATURE,REMOVEDOT,SHIP_ID_INT,
	SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham
	autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 149; neutral, 103; spammy,
	1. spammytokens:0.975-+--her hammytokens:0.000-+--H*ct:pgp-sha256,
	0.000-+--H*UA:1.10.1, 0.000-+--H*u:1.10.1, 0.000-+--H*UA:2018-07-13,
	0.000-+--H*u:2018-07-13
Received: from luckmann.name ([213.239.213.133]:58265 helo=static.213-239-213-133.clients.your-server.de)
	by buxtehude.debian.org with utf8esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1q3V7t-00AfUC-Fd
	for [email protected]; Mon, 29 May 2023 05:09:02 +0000
Received: from localhost (localhost [127.0.0.1])
  (uid 502)
  by static.213-239-213-133.clients.your-server.de with local
  id 0000000000E56032.0000000064743369.000076C0; Mon, 29 May 2023 07:08:57 +0200
Date: Mon, 29 May 2023 07:08:57 +0200
From: Helge Kreutzmann <[email protected]>
To: Bjarni Ingi Gislason <[email protected]>
Cc: [email protected]
Message-ID: <20230529050857.GA18730@Debian-50-lenny-64-minimal>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=_luckmann.name-30400-1685336937-0001-2"
Content-Disposition: inline
In-Reply-To: <ZHPJqhW00nSr7ETv@localhost>
X-Public-Key-URL: http://www.helgefjell.de/data/debian_neu.asc
X-homepage: http://www.helgefjell.de/debian
User-Agent: Mutt/1.10.1 (2018-07-13)
[Message part 1 (text/plain, inline)]
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/
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:46:17 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.