• Bug#1036826: Please start handling \c

    From Helge Kreutzmann@21:1/5 to All on Sat Mar 9 13:50:02 2024
    This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages.

    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 debian@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/

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEbZZfteMW0gNUynuwQbqlJmgq5nAFAmXsWI8ACgkQQbqlJmgq 5nB9LRAAkRDWgiNYR0ZdEzK3KImZ14fORjQBT4bxhBX6VeViTcbUUKwsr+VnEUv9 pw5NZepHtbG7GuduMdftF8ts6YchltjEUK6gHZhECY38Z8sAHWqc+dGA3uyClO31 bg8XDVYnSZbYXr62klhDr17uQhJwKqRQpD93+7yuWXaK7JIXYO4tfJKLopdssxZJ zbShNE0NeuoeU/h/SI6cRQOeJNfkOVRKN9XsTUIEc9vW4Z2TGQpLf/1+u6KcwVoq KxOhNc2RMBoBDwB3eXBhao6Hspg0vpQpy9EHvUeOQVcQaUVImGCCZUEW2IKOiGGw OzyaOuIrLo8JKjhf/ioLDb1dFhhkpab++GZsu4fC/7x9gNch8LTG6fVCxjV2fdSQ ygUmZ5aJVL5i1WnbDvC7ggWGlcLvJFHL11LkiEYchwc7hQfrNQ44AvnXHsd43kle fVGMAc6AhDlTr0FZL9Gy5kRSNQsFa78EtIvdXjVpsrwGouKycB5kOOwdjpmvYwsN sXZ+GtaaGWUnkmOl4USr8fgu2f8ZidcDj4xDBufVVw3Ybf+wg2sDOFKDZiwvzP3K Q8cEjisTW5jz6DNYKIOPvYIuxFzLZFC58YhI1pa
  • From Helge Kreutzmann@21:1/5 to All on Thu Mar 14 21:10:01 2024
    This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages.

    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 debian@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/

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEbZZfteMW0gNUynuwQbqlJmgq5nAFAmXzVn0ACgkQQbqlJmgq 5nC34g//UoKv6utXdTy6PqS/QSXJHeY+G30v3NZC3r3ArjdI9FbeZSAnkVQ2HXJ1 +iFkH7mrZKDvwB9qQsWJDyXZ249bFWyyLTTbKSwwhiXBKwYUqrHGWg/ZkbVcTKrc rbIcK3PqHEOnN4IWukugTR8Qof2R8id23yKnvqAN29WZE097BfM21RQ4yrD7f6Zs ubGbnDJGLu3cnOIoCBrP1++0KuI6V/BPw0tQ2k2jb+5oOQ8eZCSjV1yf29aXWNJp qjmdO9JZPN53pnmgjYIvpHe5B7fg2lX7tltfxIKkihHLblQZN8RRzJgQE/jhufs/ z0fZl5ikWn7dfHPf+zn5P9x9gHlQ86//Oio4BUDK24EuIr8Zh3nhto1Zf0uKZZy4 w2Hl9mnFVuC/zCbwzWGKMYqGmphnsyoC0xSqtrOrpZO5B95L+BGHiBsVVs5uZvjy 8sbs0N/yVmjq8V2OBmUHVB5ciRWwWv1WEV3fZCELaAtDgE2XnE1tPy7VcnIKIBZk 1QJNK32A30CARMZoUP/LZiPrwUtP++ytBuiGpUJA147adc6W9vL3RpAiOTJXQPp4 +bIJKVc++Ou+L0G/1b6RbFxVLOXTVp5QIsgyyHD