Your message dated Thu, 22 Jun 2017 18:39:25 +0200
with message-id <9149.1498149565@tremalking>
has caused the report #863527,
regarding dblatex fails to build PDF for í in <book><chapter><table><title>
to be marked as having been forwarded to the upstream software
author(s) "Benoit Guillon" <ben.guil...@gmail.com>
(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 ow...@bugs.debian.org
immediately.)
--
863527: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863527
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Osamu Aoki <os...@debian.org> wrote:
Hi Benoît,
I want to inform you of Debian dblatex bug report #863527 [1]:
> Recently, dblatex has improved a lot and building Asian locale PDF are
> going well. Thank you for your (and your upstream's) good work on
> dblatex.
Upstream means you :-)
> This prompted me to build PDF for debian-reference. Then I couldn't
> build PDF for PT local.
>
> This build problem happens only if source is treated as pt or pt-br.
>
> Also offending line was in <book><chapter><table><title>. When both í
> and <literal>...</literal> is in such place, build fails under pt or
> pt-br.
You can find the whole report with details and attachments at [1],
however I think that the underlying problem actually is the quote
character as last non whitespace character in table titles for
Portuguese and Brazilian documents, as demonstrated with two minimal
expamples [2] [3].
What do you think of my hotfix candidate [4]? It seems to resolve the
problem, at least the example documents succeed with it.
[1] https://bugs.debian.org/863527
[2]
<?xml version="1.0"?>
<!DOCTYPE article
PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article lang="pt">
<title>Article title</title>
<para>
The problem seems to be a quote character as the last non whitespace
character in a table title:
</para>
<table>
<title>Table title" </title>
<tgroup cols="1">
<tbody>
<row>
<entry>Table cell</entry>
</row>
</tbody>
</tgroup>
</table>
</article>
[3]
<?xml version="1.0"?>
<!DOCTYPE article
PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article lang="pt_br">
<title>Article title</title>
<para>
The problem seems to be a quote character as the last non whitespace
character in a table title:
</para>
<table>
<title>Table title" </title>
<tgroup cols="1">
<tbody>
<row>
<entry>Table cell</entry>
</row>
</tbody>
</tgroup>
</table>
</article>
[4]
Author: Andreas Hoenen <andr...@hoenen-terstappen.de>
Description: Hotfix for BTS report #863527:
In Portuguese and Brazilian documents don't break on a " as last character
in a table title.
--- a/latex/style/dbk_locale.sty
+++ b/latex/style/dbk_locale.sty
@@ -286,6 +286,9 @@
\babelsetup{nn}{\AtBeginDocument{\shorthandoff{"}}}
\babelsetup{nb}{\AtBeginDocument{\shorthandoff{"}}}
+\babelsetup{pt}{\AtBeginDocument{\shorthandoff{"}}}
+\babelsetup{pt_br}{\AtBeginDocument{\shorthandoff{"}}}
+
%% Apply default locale setup
\setuplocale{en}
Regards, Andreas
--
Andreas Hoenen <andr...@hoenen-terstappen.de>
GPG: 1024D/B888D2CE
A4A6 E8B5 593A E89B 496B
82F0 728D 8B7E B888 D2CE
signature.asc
Description: PGP signature
--- End Message ---