[Debian-handbook-translators] Error when build pt-BR pdf book

Daniel Leidert dleidert at debian.org
Thu Aug 26 01:39:27 BST 2021


Please don't CC me in answers, I'm on the list

Am Mittwoch, dem 25.08.2021 um 21:02 -0300 schrieb Claudio Ferreira:
> 
> Daniel, I already found the dependency of texlive-lang-portuguese, but never
> mind to see inside debian/control to see other dependencies! I installed all
> packages and tried again. Thank you for your help, but I got the same error.
> Take a look in line starting with 'No "pt_br"...'. I used "pt-BR" (with case
> sensitive and less signal).
> 
> Other suggestions?

The problem might be in bin/dblatex/config.xsl. If I compare the content, there
is this:

  <l:l10n language="pt-BR">
    <l:gentext key="minitoc" text="Conteúdo"/>
    <l:gentext key="keywordset" text="Palavras chave"/>
    <l:context name="xref">
      <l:template name="page.citation" text="página %p"/>
      <l:template name="sidebar" text="“%t”"/>
    </l:context>
    <l:context name="xref-number-and-title">
      <!-- Don't start with capital letters -->
      <l:template name="chapter" text="capítulo %n, “%t”"/>
      <l:template name="section" text="seção %n, “%t”"/>
      <l:template name="appendix" text="apêndice %n, “%t”"/>
    </l:context>
  </l:l10n>

However, all other languages use all-lowercase language codes and underscores
instead of dashes in this file. Change "pt-BR" to "pt_br" (as requested by the
messages you posted) and try again.

I suspect that you will not get past the FancyVerb error at the moment though.


-- 
Regards,
Daniel Leidert <dleidert at debian.org> | https://www.wgdd.de/
GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D
GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78

https://www.fiverr.com/dleidert
https://www.patreon.com/join/dleidert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-handbook-translators/attachments/20210826/c158de07/attachment.sig>


More information about the Debian-handbook-translators mailing list