A Sexta, 12 de Setembro de 2014 18:58:38 Jakub Wilk você escreveu:
> I found out that the DocBook XSL stylesheets, which we use for
> DocBook->manpage conversion, fail to capitalize letters with diacritics:
> 
> $ man -l pdf2djvu.pt.1 | LC_ALL=C grep '^[A-Z].*[^A-Z ]' | tail -n +2
> DESCRIçãO
> OPçõES
> DETALHES DE IMPLEMENTAçãO
> RELATóRIOS DE BUGS
> VEJA TAMBéM
> 
> I believe the culprit is this part of common/pt.xml[0]:
> 
> <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
> <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
> 
> Instead, it should probably read:
> 
> <l:gentext key="lowercase.alpha"
> text="aáàâãbcçdeéêfghiíjklmnoóôõpqrstuúvwxyz"/> <l:gentext
> key="uppercase.alpha" text="AÁÀÂÃBCÇDEÉÊFGHIÍJKLMNOÓÔÕPQRSTUÚVWXYZ"/>
yes, the Portuguese language uses all these letters, but the alphabet usually  
shows
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>

anyway, as an example in line 150, "ATENÇÃO" is showing the correct letters and 
there is 
two accentuated capital letters here.

on the other hand, in lines 207 & 208 there are lots of letters not used by the 
portuguese 
language.


> 
> I hope I got the Portuguese alphabet right! Américo, if you could
> confirm this looks good to you, I would file a bug against docbook-xsl.
> 
> 
> [0]
> https://sources.debian.net/src/docbook-xsl/1.78.1%2Bdfsg-1/docbook-xsl/com
> mon/pt.xml/?hl=205:206#L205

There are some "c" changed to "b"
in line 47 must be "cuidado"
in line 49 must be "capítulo"
beyond that, the texts look fine to me.


Thanks
Américo


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to