Dear list,

When handling the preamble to a document in which I would like to treat the 
text in French, with sometimes italics text and phrases in ancient Greek, I 
encounter the following difficulty:
if I use TeX Gyre Pagella as the main font, everything works fine, except for 
the Ancient Greek text, which I don't like the look of. But the Greek text is 
displayed, as are the French italics. On the other hand, if I use GFS Didot as 
the main font and Theano Didot for the Greek, the italics disappear and the 
Greek text looks better. The CTX version I use is: mtx-context | current 
version: 2024.01.24 22:39.

Herewith are two MWE attachments (*.tex + *.pdf) with different fonts. What am 
I missing ? Thanks for your answers.

JP
\mainlanguage[fr,agr]
\definefallbackfamily
    [mainface]
    [rm]
    [Theano Didot]
    [preset=range:greek]
\definefontfamily
    [mainface]
    [rm]
    [TeX Gyre Pagella]
\setupbodyfont[mainface, 11pt]
\setupbodyfontenvironment[default][em=italic]

\starttext
Socrate est descendu au Pirée et affirme sa satisfaction du culte rendu à 
cette nouvelle déesse par les Thraces; néanmoins, {\em il ne nous dit rien 
des prières} qu'il a lui-même rendues à la déesse avec les autres 
participants, dont il fait pourtant état. Sur le chemin du retour, il est 
arrêté par Polémarque qui leur apprend qu'une retraite aux flambeaux à 
cheval est prévue par les Thraces, ainsi qu'une fête de nuit \quote{qui vaut 
la peine d'être vue} (ἣν ἄξιον θεάσασθαι; {\em èn 
axion théasasthai} - 328a). 
\blank

Κάθε άνθρωπος δικαιούται να επικαλείται 
όλα τα δικαιώματα και όλες τις ελευθερίες 
που προκηρύσσει η παρούσα Διακήρυξη, χωρίς 
καμία απολύτως διάκριση, ειδικότερα ως 
προς τη φυλή, το χρώμα, το φύλο, τη γλώσσα, 
τις θρησκείες, τις πολιτικές ή 
οποιεσδήποτε άλλες πεποιθήσεις, την εθνική 
ή κοινωνική καταγωγή, την περιουσία, τη 
γέννηση ή οποιαδήποτε άλλη κατάσταση.

Δεν θα μπορεί ακόμα να γίνεται καμία 
διάκριση εξαιτίας του πολιτικού, νομικού ή 
διεθνούς καθεστώτος της χώρας από την 
οποία προέρχεται κανείς, είτε πρόκειται 
για χώρα ή εδαφική περιοχή ανεξάρτητη, υπό 
κηδεμονία ή υπεξουσία, ή που βρίσκεται υπό 
οποιονδήποτε άλλον περιορισμό κυριαρχίας.
\stoptext
 
\mainlanguage[fr,agr]
\definefallbackfamily
    [mainface]
    [rm]
    [Theano Didot]
    [preset=range:greek]
\definefontfamily
    [mainface]
    [rm]
    [GFS Didot]
\setupbodyfont[mainface, 11pt]
\setupbodyfontenvironment[default][em=italic]

\starttext
Socrate est descendu au Pirée et affirme sa satisfaction du culte rendu à 
cette nouvelle déesse par les Thraces; néanmoins, {\em il ne nous dit rien 
des prières} qu'il a lui-même rendues à la déesse avec les autres 
participants, dont il fait pourtant état. Sur le chemin du retour, il est 
arrêté par Polémarque qui leur apprend qu'une retraite aux flambeaux à 
cheval est prévue par les Thraces, ainsi qu'une fête de nuit \quote{qui vaut 
la peine d'être vue} (ἣν ἄξιον θεάσασθαι; {\em èn 
axion théasasthai} - 328a). 
\blank

Κάθε άνθρωπος δικαιούται να επικαλείται 
όλα τα δικαιώματα και όλες τις ελευθερίες 
που προκηρύσσει η παρούσα Διακήρυξη, χωρίς 
καμία απολύτως διάκριση, ειδικότερα ως 
προς τη φυλή, το χρώμα, το φύλο, τη γλώσσα, 
τις θρησκείες, τις πολιτικές ή 
οποιεσδήποτε άλλες πεποιθήσεις, την εθνική 
ή κοινωνική καταγωγή, την περιουσία, τη 
γέννηση ή οποιαδήποτε άλλη κατάσταση.

Δεν θα μπορεί ακόμα να γίνεται καμία 
διάκριση εξαιτίας του πολιτικού, νομικού ή 
διεθνούς καθεστώτος της χώρας από την 
οποία προέρχεται κανείς, είτε πρόκειται 
για χώρα ή εδαφική περιοχή ανεξάρτητη, υπό 
κηδεμονία ή υπεξουσία, ή που βρίσκεται υπό 
οποιονδήποτε άλλον περιορισμό κυριαρχίας.
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to