groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: groff supports Italian input documents now


From: Oliver Corff
Subject: Re: groff supports Italian input documents now
Date: Fri, 2 Jul 2021 15:38:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

Hi Branden,

may I ask an obviously ignoramus question: What would the settings for
Italian be different from other languages, except for hyphenation rules
and perhaps the proper choice of quotation marks, decimal separators,
names of dates and fixed headlines ("References", "Abstract" etc.)? How
das groff a) detect that the input file is Italian und b) decide which
settings to apply?

I ask because if I typeset a German document then I usually just insert
the request for German hyphenation at the beginning, and I have one
string variable with encloses the argument in proper quotation marks.
That's more or less enough to get going. Would be nice, though, to make
groff autodetect German and set the appropriate requests.

Sorry for asking if this obvious to everybody (but me).

Best regards,

Oliver.


On 02/07/2021 06:55, G. Branden Robinson wrote:
Thanks to the efforts of Edmond Orignac, and of Ingo for following up
with him and verifying a Savannah patch's provenance, groff now supports
input documents in the Italian language.  It is integrated with the new
localization mechanism of groff 1.23.0, which means users don't have to
give the formatter a "-m it" option to get good results.

Here's an example of it working.

     $ file EXPERIMENTS/italian.roff
     EXPERIMENTS/italian.roff: troff or preprocessor input, UTF-8 Unicode text
     $ LANG=it_IT ./build/test-groff -b -ww -k EXPERIMENTS/italian.roff
     L’Italia  è  diventata  un mercato di sfruttamento coloniale, una
     sfera d’influenza, un dominion, una terra di capitolazioni, tutto
     fuorché  uno Stato indipendente e sovrano. Ciò ha prodotto la po‐
     litica forsennata della classe dirigente italiana, queste sono le
     magnifiche  sorti progressive che sono state assicurate al popolo
     italiano dagli intrighi mercantili del capitalismo in  caccia  di
     maggiori  profitti.  Ebbene,  il  popolo italiano reagisce contro
     questa condizione di fatto; reagisce con l’azione della parte sua
     che non è compromessa nell’avventura della guerra, che non ha ab‐
     dicato al suo diritto sovrano di essere qualcuno nella storia del
     mondo,  che non vuole essere serva né di tedeschi, né di inglesi,
     e tanto meno serva della serva. Quanto più la classe dirigente ha
     precipitato  in basso la nazione italiana, tanto più aspro sacri‐
     ficio deve sostenere il proletariato per  ricreare  alla  nazione
     una  personalità storica indipendente; quanto piú la classe diri‐
     gente ha permesso  che  l’organismo  economico‐politico  italiano
     fosse  avvinto  strettamente al carro imperiale britannico, tanto
     piú grande sforzo deve compiere il proletariato per divincolarsi,
     per  riacquistare  la  libertà di movimento e di iniziativa nella
     storia.

Enjoy!

Regards,
Branden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]