ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Cyrillic UTF8 works, greek does not?
@ 2022-06-22  9:44 Gerben Wierda via ntg-context
  2022-06-22 12:23 ` Taco Hoekwater via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Gerben Wierda via ntg-context @ 2022-06-22  9:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Gerben Wierda


[-- Attachment #1.1: Type: text/plain, Size: 1236 bytes --]

What am I doing wrong? Minimum example:

\setuplanguage[en][spacing=packed,patterns={en,el,ru,fr,pt}]
\definefallbackfamily
  [archimate]
  [ss]
  [Helvetica]
  [preset=range:cyrillic,
   tf=style:light,
   it=style:lightoblique,
   bf=style:regular,
   bi=style:oblique,
   force=yes]
\definefallbackfamily
  [archimate]
  [ss]
  [Helvetica]
  [preset=range:{greekandcoptic,greekextended},
   tf=style:light,
   it=style:lightoblique,
   bf=style:regular,
   bi=style:oblique,
   force=yes]

\definefontfamily
    [archimate]
    [ss]
    [Gill Sans]
    [tf=style:Regular,
     bf=style:SemiBold,
     it=style:Italic,
     bi=style:SemiBold Italic]
\setupbodyfont[archimate]

\starttext
This is English text

Στοιχείο στο επιχειρησιακό επίπεδο που

This is English text.

Элемент бизнес-уровня; агрегат сервисов

This is English text.
\stoptext

Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
R&A IT Strategy <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>


[-- Attachment #1.2: Type: text/html, Size: 3803 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cyrillic UTF8 works, greek does not?
  2022-06-22  9:44 Cyrillic UTF8 works, greek does not? Gerben Wierda via ntg-context
@ 2022-06-22 12:23 ` Taco Hoekwater via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater via ntg-context @ 2022-06-22 12:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater



> On 22 Jun 2022, at 11:44, Gerben Wierda via ntg-context <ntg-context@ntg.nl> wrote:
> 
> What am I doing wrong?


Either use   

  range={greekandcoptic,greekextended},

or

  preset=range:greek,

The presets are defined based on combinations of ranges. The preset "range:greek" is defined as:

\definefontfamilypreset
  [range:greek]
  [range={greekandcoptic,
          greekextended,
          ancientgreeknumbers}]

Best wishes,
Taco

— 
Taco Hoekwater              E: taco@bittext.nl
genderfluid (all pronouns)



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-22 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22  9:44 Cyrillic UTF8 works, greek does not? Gerben Wierda via ntg-context
2022-06-22 12:23 ` Taco Hoekwater via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).