Bug#1036826: Please start handling \c

2024-06-23 Thread Helge Kreutzmann
Hello Martin,
gawk(1) is also affected by this bug (only the Debian version,
though).

Greetings

Helge
-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   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
Description: PGP signature


Bug#1036826: Please start handling \c

2024-05-31 Thread Helge Kreutzmann
Hello Martin,
Am Fri, May 31, 2024 at 10:33:08AM +0200 schrieb Martin Quinson:
> Le jeudi 30 mai 2024 à 19:05 +, Helge Kreutzmann a écrit :
> > > I checked with the documentation base from manpages-l10n. The
> > > following pages are failing (with the current po4a):
> > > 
> > > * groff (as reported)
> > > * credentials.7 (as of Debian unstable)
> > > * mkosi.1 (only from OpenSUSE tumbleweed, page attached (compressed))
> > > * afmtodit.1 (as of Debian unstable)
> > > 
> > > * And it also fail(ed) in mkpasswd.1 (as of Debian unstable), see
> > >   Debian #1036908
> > 
> > Groff.1 works now, but all others listed here still fail. Is this
> > expected?
> 
> No it's not. I'll look into it.

Thank you very much!

Greetings

   Helge


-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   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
Description: PGP signature


Bug#1036826: Please start handling \c

2024-05-31 Thread Martin Quinson
reopen 1036826
thanks

Hello,

Le jeudi 30 mai 2024 à 19:05 +, Helge Kreutzmann a écrit :
> > I checked with the documentation base from manpages-l10n. The
> > following pages are failing (with the current po4a):
> > 
> > * groff (as reported)
> > * credentials.7 (as of Debian unstable)
> > * mkosi.1 (only from OpenSUSE tumbleweed, page attached (compressed))
> > * afmtodit.1 (as of Debian unstable)
> > 
> > * And it also fail(ed) in mkpasswd.1 (as of Debian unstable), see
> >   Debian #1036908
> 
> Groff.1 works now, but all others listed here still fail. Is this
> expected?

No it's not. I'll look into it.

Sorry,
Mt


signature.asc
Description: This is a digitally signed message part


Bug#1036826: Please start handling \c

2024-05-30 Thread Helge Kreutzmann
Hello Martin,
Am Sun, May 12, 2024 at 08:36:36AM + schrieb Helge Kreutzmann:
> Am Fri, May 10, 2024 at 06:58:17PM +0200 schrieb Martin Quinson:
> > tag 1036826 fixed-upstream
> > thanks
> > 
> > Hello Helge,
> > 
> > I think I fixed this bug upstream, and it will be part of the next release,
> > later this month. I did not implement a full support for \c since it's
> > difficult in the current code base, but at least the groff.1 page proceeds. 
> 
> Thank you very much, I'm looking forward to the release.
> 
> > If you have other failures from other pages, please tell me so that I can 
> > check
> > whether my fix is enough even before the release.
> 
> I checked with the documentation base from manpages-l10n. The
> following pages are failing (with the current po4a):
> 
> * groff (as reported)
> * credentials.7 (as of Debian unstable)
> * mkosi.1 (only from OpenSUSE tumbleweed, page attached (compressed))
> * afmtodit.1 (as of Debian unstable)
> 
> * And it also fail(ed) in mkpasswd.1 (as of Debian unstable), see
>   Debian #1036908

Groff.1 works now, but all others listed here still fail. Is this
expected?

(Po4a 0.72 just hit unstable, so I tried them out).

Greetings

 Helge

-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   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
Description: PGP signature


Bug#1036826: Please start handling \c

2024-05-12 Thread Martin Quinson
Le dimanche 12 mai 2024 à 17:26 +, Helge Kreutzmann a écrit :
> 
> Did you receive my e-mail from this morning, where I compiled the
> remaining examples I'm aware of?

Yes I did (sorry for answering earlier before reading all mails in inbox), but
I did not dig into it yet.

Thanks,
Mt


signature.asc
Description: This is a digitally signed message part


Bug#1036826: Please start handling \c

2024-05-12 Thread Helge Kreutzmann
Hello Martin,
Am Sun, May 12, 2024 at 07:05:32PM +0200 schrieb Martin Quinson:
> Le samedi 11 mai 2024 à 03:31 +, Helge Kreutzmann a écrit :
> > Hello Martin,
> > Am Fri, May 10, 2024 at 06:55:38PM +0200 schrieb Martin Quinson:
> > 
> > 
> > > If you have other failures from other pages, please tell me so that I can
> > > check
> > > whether my fix is enough even before the release.
> > 
> > I can do so tomorrow afternoon, if this has time until then (I have
> > limited access atm). 
> 
> No rush. If some problems presist, I'll try to fix it afterward.

Did you receive my e-mail from this morning, where I compiled the
remaining examples I'm aware of?

Greetings

 Helge


-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   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
Description: PGP signature


Bug#1036826: Please start handling \c

2024-05-12 Thread Martin Quinson
Hello Helge,

Le samedi 11 mai 2024 à 03:31 +, Helge Kreutzmann a écrit :
> Hello Martin,
> Am Fri, May 10, 2024 at 06:55:38PM +0200 schrieb Martin Quinson:
> 
> 
> > If you have other failures from other pages, please tell me so that I can
> > check
> > whether my fix is enough even before the release.
> 
> I can do so tomorrow afternoon, if this has time until then (I have
> limited access atm). 

No rush. If some problems presist, I'll try to fix it afterward.

Enjoy your stay,
Mt


signature.asc
Description: This is a digitally signed message part


Bug#1036826: Please start handling \c

2024-05-12 Thread Helge Kreutzmann
Hello Martin,
now with the attachement.

Am Sun, May 12, 2024 at 08:36:36AM + schrieb Helge Kreutzmann:
> Hello Martin,
> Am Fri, May 10, 2024 at 06:58:17PM +0200 schrieb Martin Quinson:
> > tag 1036826 fixed-upstream
> > thanks
> > 
> > Hello Helge,
> > 
> > I think I fixed this bug upstream, and it will be part of the next release,
> > later this month. I did not implement a full support for \c since it's
> > difficult in the current code base, but at least the groff.1 page proceeds. 
> 
> Thank you very much, I'm looking forward to the release.
> 
> > If you have other failures from other pages, please tell me so that I can 
> > check
> > whether my fix is enough even before the release.
> 
> I checked with the documentation base from manpages-l10n. The
> following pages are failing (with the current po4a):
> 
> * groff (as reported)
> * credentials.7 (as of Debian unstable)
> * mkosi.1 (only from OpenSUSE tumbleweed, page attached (compressed))
> * afmtodit.1 (as of Debian unstable)
> 
> * And it also fail(ed) in mkpasswd.1 (as of Debian unstable), see
>   Debian #1036908
> 
> > Thanks for your help and patience,
> 
> Again, thanks from my side.
> 
> Greetings
> 
>   Helge
> 
> 
> -- 
>   Dr. Helge Kreutzmann deb...@helgefjell.de
>Dipl.-Phys.   http://www.helgefjell.de/debian.php
> 64bit GNU powered gpg signed mail preferred
>Help keep free software "libre": http://www.ffii.de/



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


mkosi.1.xz
Description: application/xz


signature.asc
Description: PGP signature


Bug#1036826: Please start handling \c

2024-05-12 Thread Helge Kreutzmann
Hello Martin,
Am Fri, May 10, 2024 at 06:58:17PM +0200 schrieb Martin Quinson:
> tag 1036826 fixed-upstream
> thanks
> 
> Hello Helge,
> 
> I think I fixed this bug upstream, and it will be part of the next release,
> later this month. I did not implement a full support for \c since it's
> difficult in the current code base, but at least the groff.1 page proceeds. 

Thank you very much, I'm looking forward to the release.

> If you have other failures from other pages, please tell me so that I can 
> check
> whether my fix is enough even before the release.

I checked with the documentation base from manpages-l10n. The
following pages are failing (with the current po4a):

* groff (as reported)
* credentials.7 (as of Debian unstable)
* mkosi.1 (only from OpenSUSE tumbleweed, page attached (compressed))
* afmtodit.1 (as of Debian unstable)

* And it also fail(ed) in mkpasswd.1 (as of Debian unstable), see
  Debian #1036908

> Thanks for your help and patience,

Again, thanks from my side.

Greetings

  Helge


-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   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
Description: PGP signature


Bug#1036826: Please start handling \c

2024-05-11 Thread Martin Quinson
tag 1036826 fixed-upstream
thanks

Hello Helge,

I think I fixed this bug upstream, and it will be part of the next release,
later this month. I did not implement a full support for \c since it's
difficult in the current code base, but at least the groff.1 page proceeds. 

If you have other failures from other pages, please tell me so that I can check
whether my fix is enough even before the release.

Thanks for your help and patience,
Mt

Le jeudi 14 mars 2024 à 19:56 +, Helge Kreutzmann a écrit :
> Hello Martin,
> Am Sun, Mar 10, 2024 at 10:14:20PM +0100 schrieb Martin Quinson:
> > Instead, I'd appreciate if you could do a merge request with a test file,
> > along
> > with the expected output. It'd save me the time to dig into the discussion
> > of
> > this bug. 
> > 
> > I'm not saying that I won't fix it w/o this test case. I'm just saying that
> > providing a test case is a better approach to speedup the fix than severity
> > abuse.
> 
> I hope explaining the test file in this bug is fine as well, because
> I'm not sure what to do exactly merge and how.
> 
> The test case is groff(1) as it is in Debian unstable:
> 
> $ LC_ALL=C po4a-updatepo -f man --no-deprecation --option groff_code=verbatim
> --option generated --option
> untranslated="}1,Ds,zY,zZ,Ee,ES,dT,FN,NE,NS,EX,EE,Id,rstReportMargin,INDENT,U
> NINDENT,UN,a.RE,\|" --option unknown_macros=untranslated --master groff.1 -M
> utf-8 -p test.pot
> groff.1:2279: (po4a::man)
>   Escape sequence \c encountered. This is not completely
>     handled yet.
> 
> And there is no output.
> 
> If I do a crude preprocessing, it kind of works:
> 
> $ cat groff.1 | perl -p -e 's/\\c\n//' > groff.test.1
> $ LC_ALL=C po4a-updatepo -f man --no-deprecation --option groff_code=verbatim
> --option generated --option
> untranslated="}1,Ds,zY,zZ,Ee,ES,dT,FN,NE,NS,EX,EE,Id,rstReportMargin,INDENT,U
> NINDENT,UN,a.RE,\|" --option unknown_macros=untranslated --master
> groff.test.1 -M utf-8 -p test.pot
> $ wc -l test.pot
> 3157 test.pot
> 
> I hope this helps you working on this, together with the discussion in
> this bug.
> 
> Thanks for your support!
> 
> Greetings
> 
>   Helge



signature.asc
Description: This is a digitally signed message part


Bug#1036826: Please start handling \c

2024-05-10 Thread Helge Kreutzmann
Hello Martin,
Am Fri, May 10, 2024 at 06:55:38PM +0200 schrieb Martin Quinson:
> tag 1036826 fixed-upstream
> thanks
> 
> Hello Helge,
> 
> I think I fixed this bug upstream, and it will be part of the next release,
> later this month. I did not implement a full support for \c since it's
> difficult in the current code base, but at least the groff.1 page proceeds. 

This is very good news. Thank you very much!

> If you have other failures from other pages, please tell me so that I can 
> check
> whether my fix is enough even before the release.

I can do so tomorrow afternoon, if this has time until then (I have
limited access atm). 

> Thanks for your help and patience,

The thanks is on my side!

Greetings

 Helge


-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   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
Description: PGP signature


Bug#1036826: Please start handling \c

2024-05-10 Thread Martin Quinson
tag 1036826 fixed-upstream
thanks

Hello Helge,

I think I fixed this bug upstream, and it will be part of the next release,
later this month. I did not implement a full support for \c since it's
difficult in the current code base, but at least the groff.1 page proceeds. 

If you have other failures from other pages, please tell me so that I can check
whether my fix is enough even before the release.

Thanks for your help and patience,
Mt

Le jeudi 14 mars 2024 à 19:56 +, Helge Kreutzmann a écrit :
> Hello Martin,
> Am Sun, Mar 10, 2024 at 10:14:20PM +0100 schrieb Martin Quinson:
> > Instead, I'd appreciate if you could do a merge request with a test file,
> > along
> > with the expected output. It'd save me the time to dig into the discussion
> > of
> > this bug. 
> > 
> > I'm not saying that I won't fix it w/o this test case. I'm just saying that
> > providing a test case is a better approach to speedup the fix than severity
> > abuse.
> 
> I hope explaining the test file in this bug is fine as well, because
> I'm not sure what to do exactly merge and how.
> 
> The test case is groff(1) as it is in Debian unstable:
> 
> $ LC_ALL=C po4a-updatepo -f man --no-deprecation --option groff_code=verbatim
> --option generated --option
> untranslated="}1,Ds,zY,zZ,Ee,ES,dT,FN,NE,NS,EX,EE,Id,rstReportMargin,INDENT,U
> NINDENT,UN,a.RE,\|" --option unknown_macros=untranslated --master groff.1 -M
> utf-8 -p test.pot
> groff.1:2279: (po4a::man)
>   Escape sequence \c encountered. This is not completely
>     handled yet.
> 
> And there is no output.
> 
> If I do a crude preprocessing, it kind of works:
> 
> $ cat groff.1 | perl -p -e 's/\\c\n//' > groff.test.1
> $ LC_ALL=C po4a-updatepo -f man --no-deprecation --option groff_code=verbatim
> --option generated --option
> untranslated="}1,Ds,zY,zZ,Ee,ES,dT,FN,NE,NS,EX,EE,Id,rstReportMargin,INDENT,U
> NINDENT,UN,a.RE,\|" --option unknown_macros=untranslated --master
> groff.test.1 -M utf-8 -p test.pot
> $ wc -l test.pot
> 3157 test.pot
> 
> I hope this helps you working on this, together with the discussion in
> this bug.
> 
> Thanks for your support!
> 
> Greetings
> 
>   Helge



signature.asc
Description: This is a digitally signed message part


Bug#1036826: Please start handling \c

2024-03-14 Thread Helge Kreutzmann
Hello Martin,
Am Sun, Mar 10, 2024 at 10:14:20PM +0100 schrieb Martin Quinson:
> Instead, I'd appreciate if you could do a merge request with a test file, 
> along
> with the expected output. It'd save me the time to dig into the discussion of
> this bug. 
> 
> I'm not saying that I won't fix it w/o this test case. I'm just saying that
> providing a test case is a better approach to speedup the fix than severity
> abuse.

I hope explaining the test file in this bug is fine as well, because
I'm not sure what to do exactly merge and how.

The test case is groff(1) as it is in Debian unstable:

$ LC_ALL=C po4a-updatepo -f man --no-deprecation --option groff_code=verbatim 
--option generated --option 
untranslated="}1,Ds,zY,zZ,Ee,ES,dT,FN,NE,NS,EX,EE,Id,rstReportMargin,INDENT,UNINDENT,UN,a.RE,\|"
 --option unknown_macros=untranslated --master groff.1 -M utf-8 -p test.pot
groff.1:2279: (po4a::man)
  Escape sequence \c encountered. This is not completely
  handled yet.

And there is no output.

If I do a crude preprocessing, it kind of works:

$ cat groff.1 | perl -p -e 's/\\c\n//' > groff.test.1
$ LC_ALL=C po4a-updatepo -f man --no-deprecation --option groff_code=verbatim 
--option generated --option 
untranslated="}1,Ds,zY,zZ,Ee,ES,dT,FN,NE,NS,EX,EE,Id,rstReportMargin,INDENT,UNINDENT,UN,a.RE,\|"
 --option unknown_macros=untranslated --master groff.test.1 -M utf-8 -p test.pot
$ wc -l test.pot
3157 test.pot

I hope this helps you working on this, together with the discussion in
this bug.

Thanks for your support!

Greetings

  Helge
-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   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
Description: PGP signature


Bug#1036826: Please start handling \c

2024-03-10 Thread Martin Quinson
severity 1036826 normal
thanks

please don't abuse the severity. po4a is not only for groff, and many groff
pages do work without it. 

Instead, I'd appreciate if you could do a merge request with a test file, along
with the expected output. It'd save me the time to dig into the discussion of
this bug. 

I'm not saying that I won't fix it w/o this test case. I'm just saying that
providing a test case is a better approach to speedup the fix than severity
abuse.

Thanks for your help,
Mt

Le samedi 09 mars 2024 à 12:39 +, Helge Kreutzmann a écrit :
> severity 1036826 important
> thanks
> 
> Hello Martin,
> you have been quite in this discussion. \c occurs in more and more man
> pages, and currently the build fails for them. In turn, they are no
> longer translated.
> 
> Could you kindly check if you could add support for "\c" or is there
> another workaround?
> 
> Thanks for your support!
> 
> Greetings
> 
>   Helge



signature.asc
Description: This is a digitally signed message part


Bug#1036826: Please start handling \c

2024-03-09 Thread Helge Kreutzmann
severity 1036826 important
thanks

Hello Martin,
you have been quite in this discussion. \c occurs in more and more man
pages, and currently the build fails for them. In turn, they are no
longer translated.

Could you kindly check if you could add support for "\c" or is there
another workaround?

Thanks for your support!

Greetings

  Helge
-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   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
Description: PGP signature