Thank you Wolfgang, that worked!

Robert

Op 5 mei 2017, om 16:02 heeft Wolfgang Schuster <schuster.wolfgang@gmail.com> het volgende geschreven:


5. Mai 2017 um 11:48
Dear Contexters,

Since yesterday I have a font-problem. Until yesterday this would work perfectly:

\usemodule[simplefonts][size=10pt] %voor mkiv
\setmainfont[dejavuserif] %voor simplefonts

The system fonts worked too. Yesterday I wanted to make a presentation with simpleslides. The fonts did not work. Then I tried complexslides. The modules work fine, the fonts do not. I then updated to the latest bèta: luatools — generate, context —generate, etc. No improvement.

Through mtxrun —script fonts I can see which fonts are accessible to Context. There things are probably going wrong, yet I do not know what. It appears that Context does not find the local fonts, and the system fonts only partially.

I work on OS X, Context versie: 2017.04.27 01:00
/Applications/ContextStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv

Adjustments of texmf.cnf:
/Applications/ContextStandalone/tex/texmf/web2c/texmf.cnf
OSFONTDIR =.;~/Library/Fonts//;/System/Library/Fonts

Thank you on beforehand for your help. It is much appreciated.

Please use the newer \definfontfamily command (or write your own typescript) to load
fonts which aren’t supported out of the box because the last release of simplefonts
was 4 years and is no longer updated. The \definefontfamily command mentioned
above has replaced the module and should be used instead.

%% begin example
\definefontfamily[mainface][ss][Delicious]

\setupbodyfont[mainface]

\starttext
This document uses the Delicious font.
\stoptext
%% end example

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