ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Confusion with fonts
@ 2020-12-06 12:03 T. Kurt Bond
  2020-12-06 17:24 ` Pablo Rodriguez
  2020-12-08  9:13 ` T. Kurt Bond
  0 siblings, 2 replies; 6+ messages in thread
From: T. Kurt Bond @ 2020-12-06 12:03 UTC (permalink / raw)
  To: context mailing list


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

I've got a small ConTeXt source file, that is a minimization of a file
generated by the the ConTeXt output of pandoc using pandoc features to set
the main font to ebgaramond:

\definefallbackfamily[mainface][rm][CMU Serif][preset=range:greek,
force=yes]
\definefontfamily[mainface][rm][ebgaramond]
\definefontfamily[mainface][mm][Latin Modern Math]
\definefontfamily[mainface][ss][Latin Modern Sans]
\definefontfamily[mainface][tt][Latin Modern Typewriter][features=none]
\setupbodyfont[mainface]

\starttext

Is this text in Pagella?

\stoptext


When I run it through context it works and produces output that uses the
EBGaramond font.  The following also work: antykwapoltawskiego, asana,
cambria, charter, ebgaramond, gentium, inconsolata, iwona, kurier, lato,
punknova, stix, and xits.  But other things, like palatino and pagella and
dejavu.  Those end up using Latin Modern Roman.

I realize I don't understand ConTeXt's font handling and typescripts very
well, could someone explain why some of those things work, and others don't?

I'll note that pandoc generates this because it lets users of pandoc
specify different fonts for the main body font, the math font, the sans
font, and the mono font.

Can anybody suggest a different way of doing that, which works more often
or more simply?
-- 
T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io

[-- Attachment #1.2: Type: text/html, Size: 2368 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] 6+ messages in thread

end of thread, other threads:[~2020-12-08 10:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 12:03 Confusion with fonts T. Kurt Bond
2020-12-06 17:24 ` Pablo Rodriguez
2020-12-07  1:06   ` Hans Hagen
2020-12-08  9:13 ` T. Kurt Bond
2020-12-08  9:35   ` Pablo Rodriguez
2020-12-08 10:35     ` T. Kurt Bond

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