Your message dated Sat, 30 Jun 2018 10:05:33 +0000
with message-id <[email protected]>
and subject line Bug#894977: fixed in po4a 0.54-1
has caused the Debian Bug report #894977,
regarding po4a: Improve handling of markdown titles
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
894977: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894977
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: po4a
Version: 0.47-2

There are some bugs/misfeatures in the handling of markdown with po4a.
The percent prefixed document title and authors (understood by pandoc)
are not properly handled, and a title get a spurious newline.  Here is a
demonstration:

cat > test.md  <<EOF
% The document title
% The document first author; The document second author

A nice title
============

The first paragraph.

The second paragraph.

 * Some bullet point
 * Another bullet point
EOF
% po4a-gettextize -f text -o markdown -m test.md 
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2018-04-05 20:57+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#. type: Plain text
#: test.md:3
msgid "% The document title % The document first author; The document second 
author"
msgstr ""

#. type: Title =
#: test.md:5
#, no-wrap
msgid "A nice title\n"
msgstr ""

#. type: Plain text
#: test.md:8
msgid "The first paragraph."
msgstr ""

#. type: Plain text
#: test.md:10
msgid "The second paragraph."
msgstr ""

#. type: Bullet: ' * '
#: test.md:12
msgid "Some bullet point"
msgstr ""

#. type: Bullet: ' * '
#: test.md:12
msgid "Another bullet point"
msgstr ""
%

Note how the title and author (first and second line starting with '%')
are joined togheter as one string.  Also note how '\n' is included at
the end of 'A nice title'.  It should not be there.

If you create a PDF from the markdown file using 'pandoc -t latex
test.md -o test.pdf', you can see how it was intended to be interpreted.
-- 
Happy hacking
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
Source: po4a
Source-Version: 0.54-1

We believe that the bug you reported is fixed in the latest version of
po4a, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dr. Tobias Quathamer <[email protected]> (supplier of updated po4a package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 30 Jun 2018 11:42:00 +0200
Source: po4a
Binary: po4a
Architecture: source
Version: 0.54-1
Distribution: unstable
Urgency: medium
Maintainer: Martin Quinson <[email protected]>
Changed-By: Dr. Tobias Quathamer <[email protected]>
Description:
 po4a       - tools to ease the translation of documentation
Closes: 758851 894977 900965
Changes:
 po4a (0.54-1) unstable; urgency=medium
 .
   * New upstream version 0.54
     - Remove patches, all have been applied upstream
     - Remove workaround in d/rules to create empty files
     - Texinfo: Fix handling of spaces in menu descriptions
       (Closes: #758851).
     - Text: Support pandoc's bibliographic information (title, author, date)
       at the beginning of a markdown file. Also fix a trailing newline
       in some markdown titles (Closes: #894977).
     - Man: Support .MT and .ME macros for e-mail address
       markup (Closes: #900965).
     - Text: Fix the parsing of fortunes files, which had been broken since
       v0.43. The handling has changed a bit, all msgids are now marked as
       "no-wrap", because the word wrap in fortunes files usually matters.
       This upstream fix has already been cherry-picked for the
       Debian upload of 0.53-2.
   * Use wrap-and-sort
   * Do not run failing HTML module test
   * Remove some example files, no longer distributed
Checksums-Sha1:
 15438ad91b1df5028f0050fc07869cf2ae559285 2086 po4a_0.54-1.dsc
 922e160eb18e1d25ef3bbf63a4e1eff3b43dc68b 2686485 po4a_0.54.orig.tar.gz
 72bd204b1917613300d1631042fa04c72c058ce4 11720 po4a_0.54-1.debian.tar.xz
 2eab79710366d16da33f5f60045d3b3344319a30 8051 po4a_0.54-1_amd64.buildinfo
Checksums-Sha256:
 80c0f473d2929e3ed9e456c84e86ec65a2e7b7cc6859c0e5b3765cce7085aac3 2086 
po4a_0.54-1.dsc
 596f7621697f9dd12709958c229e256b56683d25997ac73c9625a2cc0c603d51 2686485 
po4a_0.54.orig.tar.gz
 966b2d582bbfbbca5cb385e4900d23092c10277a7482d1fc1f9f9fa7edc58ee6 11720 
po4a_0.54-1.debian.tar.xz
 66e892fe964c2616c8909ca1ae9571cd5f09ed67af051c4ec6068cde5331f1f4 8051 
po4a_0.54-1_amd64.buildinfo
Files:
 df67461dcb455c65534f69b780f145f6 2086 text optional po4a_0.54-1.dsc
 9418250cee79a7fa99d41823a020ac40 2686485 text optional po4a_0.54.orig.tar.gz
 adf8e3f823681c8f3c2ace08de149a77 11720 text optional po4a_0.54-1.debian.tar.xz
 252902a67cda58250888ae66123a4c71 8051 text optional po4a_0.54-1_amd64.buildinfo

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

iQIzBAEBCAAdFiEE0cuPObxd7STF0seMEwLx8Dbr6xkFAls3UPQACgkQEwLx8Dbr
6xnG5hAAi7f0YPIMRElyVFmwqSQxjB4ITE5LgKhz1J2VDUos2mI4PfeehprSzOJp
y1PE/V/ctRYb9E6ReEeHo4RZohKT8roph6jlL14FIBdZOrICGJD1gRZ07MAIb4oI
NbPTqZthW+x3GFyAdpBOSc3JX0S8+LGqHOmVvZ/uAN8gvnmjAXLenGGw2pzqXk/Z
wqFTDFHZF/thHczRn6GwyrNcRU/ieQYLIsv6mEaEZ1YAA9IgPQNFiNtqM1hYsnTm
PvmCHQHTf/Mx5qoZD2FJnwk1uPCy8U4j+Hl/tx7/WlgpRTS58TrKfrUQuttkrbHk
lAN9dVj8uyZb0NpJSVs6lMLUg6wjUIE/27DevBPz/HhOijI9tVsQ+skMPjuMZAHS
bLGZz/qjQFGCkh0LD3t3yza+33klUb92CajqXA7zFkhyNDJ1rTJP+GhfzOvvp7v2
IugqeSBgNMOCfQH5+A9OfE0KvqY6kcIw1hFkEHYz/8ReHAQUxgUFRCI6ug3fBKQ2
QI/6FBZsjmBd3ALI4BqvNr4NwBiBXDoXI1OjCn2pA++jcQzcl8pDDTzvBedWzD5k
LGwDg95R2gSxs7UNKeV88uuyAl4xWl/MOdVvnrirm4b/5pfZKpI8tle24oEsvfFL
lOQp1XtsTyvv1pNSrZF9OAp7H60DW/i4RUUCfrkrU1mg7rqBieY=
=kAM0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to