1. PATH=$PATH:/Users/adeimantos/Documents/context/tex/texmf-osx-64/bin (Be aware to edit the good path to/tex/texmf-Linux64/bin);
  2. Then : context --generate
  3. Then again : context --make
  4. At last , one loads fonts through : mtxrun --script fonts --reload.
Don’t forget to inform CtXt about fonts files :
export OSFONTDIR=~/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/


Le 12 sept. 2019 à 13:11, Jon Wong <jhannwong@gmail.com> a écrit :

Hi all,

Oops. I think I’m failing at understanding font lookup folder. Maybe I need pointers on OSFONTDIR?

Specifying the full path works.

Regards
Jon


On Sep 12, 2019, at 6:42 PM, Jon Wong <jhannwong@gmail.com> wrote:

Hi all,


Can someone give me an explanation of what I did wrong? Hit me with all the technical concepts. I’m competent with fontspec on XeTeX.

Step 1: Copy NotoSerifCJKsc-Regular.otf to ~/context/tex/texmf-local/fonts

Step 2: Run `mtxrun --script font --convert NotoSerifCJKsc-Regular.otf'

Step 3: Run `mtxrun —script fonts --reload’

Step 4: Run `context test.tex’

The error:

fonts           > defining > unknown font 'NotoSerifCJKsc-Regular', loading aborted

Regards
Jon


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