Bug#863527: marked as forwarded (dblatex fails to build PDF for í in )</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=debian-bugs-forwarded@lists.debian.org&q=from:%22Debian+Bug+Tracking+System%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Debian Bug Tracking System</span></span></a></span> <span class="date"><a href="/search?l=debian-bugs-forwarded@lists.debian.org&q=date:20170622" rel="nofollow">Thu, 22 Jun 2017 09:42:28 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>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></pre><pre> (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: <a rel="nofollow" href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863527">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863527</a> Debian Bug Tracking System Contact ow...@bugs.debian.org with problems </pre><blockquote><small>--- <i>Begin Message</i> ---</small> <pre>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] <a rel="nofollow" href="https://bugs.debian.org/863527">https://bugs.debian.org/863527</a> [2] </pre><pre><?xml version="1.0"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "<a rel="nofollow" href="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"">http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"</a>;> <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> </pre><pre>[3] </pre><pre><?xml version="1.0"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "<a rel="nofollow" href="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"">http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"</a>;> <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> </pre><pre>[4] </pre><pre>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} </pre><pre> Regards, Andreas -- Andreas Hoenen <andr...@hoenen-terstappen.de> GPG: 1024D/B888D2CE A4A6 E8B5 593A E89B 496B 82F0 728D 8B7E B888 D2CE </pre> <p><strong><a href="msg35970/signature.asc" ><img src="../attachment.png" alt="Attachment:" width=27 height=28></a> <a href="msg35970/signature.asc" >signature.asc</a></strong><br> <em>Description:</em> PGP signature</p> <br><small>--- <i>End Message</i> ---</small></blockquote> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg35969.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#35970">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#35970">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg35973.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Bug#863527: marked as forwarded (dblatex fails to build PDF for í in <book><chapter><table><title>)"> <input type="hidden" name="msgid" value="header.863527.F863527.149814957918231.ackfwdd@bugs.debian.org"> <input type="hidden" name="relpath" value="debian-bugs-forwarded@lists.debian.org/msg35970.html"> <input type="submit" value=" Debian Bug Tracking System "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="debian-bugs-forwarded@lists.debian.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search debian-bugs-forwarded"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/debian-bugs-forwarded@lists.debian.org/">debian-bugs-forwarded - all messages</a></li> <li class="icons-about"><a href="/debian-bugs-forwarded@lists.debian.org/info.html">debian-bugs-forwarded - about the list</a></li> <li class="icons-expand"><a href="/search?l=debian-bugs-forwarded@lists.debian.org&q=subject:%22Bug%23863527%5C%3A+marked+as+forwarded+%5C%28dblatex+fails+to+build+PDF+for+%C3%AD+in+%3Cbook%3E%3Cchapter%3E%3Ctable%3E%3Ctitle%3E%5C%29%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg35969.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg35973.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> <a href="#"><img src="/debian-bugs-forwarded@lists.debian.org/logo.png" alt="debian-bugs-forwarded"></a> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">header.863527.F863527.149814957918231.ackfwdd@bugs.debian.org</li> </ul> </div> </body> </html>