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"/>

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/common/pt.xml/?hl=205:206#L205

--
Jakub Wilk


--
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