<div dir="ltr"><div dir="ltr">Em qua., 25 de ago. de 2021 às 21:39, Daniel Leidert <<a href="mailto:dleidert@debian.org">dleidert@debian.org</a>> escreveu:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Please don't CC me in answers, I'm on the list<br></blockquote><div><br></div><div>I'm sorry. Was an automatic action to push the "reply to all" button.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">However, all other languages use all-lowercase language codes and underscores<br>
instead of dashes in this file. Change "pt-BR" to "pt_br" (as requested by the<br>
messages you posted) and try again.<br></blockquote><div><br></div><div>What other languages use lowercase and underscore? Look at the repo.</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">$ ls
</span><br><span style="font-weight:bold;color:rgb(84,84,255)">ar-MA</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">da-DK</span><span style="color:rgb(0,0,0)">   </span><span style="font-weight:bold;color:rgb(84,84,255)">es-ES</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">it-IT</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">pl-PL</span><span style="color:rgb(0,0,0)">         publican-pdf.cfg    README.translators  TODO
</span><br><span style="font-weight:bold;color:rgb(84,84,255)">bin</span><span style="color:rgb(0,0,0)">    </span><span style="font-weight:bold;color:rgb(84,84,255)">debian</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">fa-IR</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">ja-JP</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">pot</span><span style="color:rgb(0,0,0)">           </span><span style="font-weight:bold;color:rgb(84,84,255)">publish</span><span style="color:rgb(0,0,0)">             </span><span style="font-weight:bold;color:rgb(84,84,255)">ro-RO</span><span style="color:rgb(0,0,0)">               </span><span style="font-weight:bold;color:rgb(84,84,255)">tr-TR</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,84,255)">brand</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">de-DE</span><span style="color:rgb(0,0,0)">   </span><span style="font-weight:bold;color:rgb(84,84,255)">fr-FR</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">ko-KR</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,255,255)">pt_br</span><span style="color:rgb(0,0,0)">         README.git          </span><span style="font-weight:bold;color:rgb(84,84,255)">ru-RU</span><span style="color:rgb(0,0,0)">               </span><span style="font-weight:bold;color:rgb(84,84,255)">vi-VN</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,84,255)">ca-ES</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">el-GR</span><span style="color:rgb(0,0,0)">   </span><span style="font-weight:bold;color:rgb(84,84,255)">hr-HR</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">nb-NO</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">pt-BR</span><span style="color:rgb(0,0,0)">         README.maintainers  </span><span style="font-weight:bold;color:rgb(84,84,255)">sv-SE</span><span style="color:rgb(0,0,0)">               </span><span style="font-weight:bold;color:rgb(84,84,255)">zh-CN</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(84,84,255)">cs-CZ</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">en-US</span><span style="color:rgb(0,0,0)">   </span><span style="font-weight:bold;color:rgb(84,84,255)">id-ID</span><span style="color:rgb(0,0,0)">  </span><span style="font-weight:bold;color:rgb(84,84,255)">nl-NL</span><span style="color:rgb(0,0,0)">  publican.cfg  README.style        </span><span style="font-weight:bold;color:rgb(84,84,255)">tmp</span><span style="color:rgb(0,0,0)">                 </span><span style="font-weight:bold;color:rgb(84,84,255)">zh-TW</span><br><span style="color:rgb(0,0,0)">
</span><br></span></div><div> All languages use the xx-XX pattern. On the other hand, in README shows it too.</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">$ cat bin/README  </span><br>The various scripts are relatively self-explanatory.
<br>
<br>Howto build the book published by Eyrolles:
<br>$ ./bin/build-pdf --opts="-p dblatex/eyrolles.xsl" --lang=fr-FR --paperback
<br>
<br>Howto build the PDF for <a href="http://lulu.com">lulu.com</a>:
<br>$ ./bin/build-pdf --opts="-P full.bleed=1" --lang=en-US --paperback<br>
<br></span></div><div><span style="font-family:monospace"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I suspect that you will not get past the FancyVerb error at the moment though.</blockquote><div><br></div><div>Trying to use pt_br, returns something worse. </div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">$ bin/build-pdf --lang=pt_br
</span><br>Setting up pt_br
<br>Invalid build request: no PO files exist for language pt_br at /usr/bin/publican line 1231.
<br><br></span></div><div><div>I'm not a devel, so sorry for my newbie questions. I'm trying to build these documents for my students.</div><div><br></div></div><div>Regards,</div><div>Claudio Ferreira</div></div></div>