[NTG-context] Documentation about CTX installation on MacOS X

Jean-Pierre Delange adeimantos at free.fr
Mon Jan 3 11:02:04 CET 2022



> Le 3 janv. 2022 à 09:22, Henning Hraban Ramm via ntg-context <ntg-context at ntg.nl> a écrit :
> 
> Am 03.01.22 um 08:09 schrieb Jean-Pierre Delange via ntg-context:
>> Thank you very much for your quick answer to you both Fabrice and Henning ! It seems there is no detailed documentation about peculiar aspects of CTX on MacOS.
>> For instance, the use of fonts database on unix-like and MacOS are a bit different (but not quite a lot) and this command :
>> mtxrun --script fonts —reload
>> Works fine with this one based on fontconfig: fc-cache -v -f
> 
> I don’t remember to have used this for years. ConTeXt AFAIK doesn’t use fontconfig. (LilyPond does…)
> 

fc-cache -v -f works fine on MacOS aswell as on Linux; try some command like this one : fc-list : file family |grep \/Library which list all fonts and their location 

> 
>> There is some adaptation in the transition from Linux to MacOS, because one has to play and to look for the fonts paths which are a bit different with Mac than the Unix paths …
> 
> Of course, but that is basic MacOS knowledge and not specific to ConTeXt.
You’re right !
> 
> You might want to set:
> 
> OSFONTDIR='/System/Library/Fonts//:/Library/Fonts//:~/Library/Fonts//:/Library/Application Support/Adobe/Fonts//
> #:~/FontExplorer\ X/Font\ Library//'
> 
> ICCPROFILES='~/Library/ColorSync/Profiles//:/Library/ColorSync/Profiles//:/System/Library/ColorSync/Profiles//:'
> 
> PATH=~/lmtx/tex/texmf-osx-64/bin:/Library/TeX/texbin:...
> (whereever you installed ConTeXt)
 context, latex, mtxrun, mtxrun.lua are installed in /Users/xxx/context/tex/texmf-osx-64/bin … I’ve forgotten that CTX doesn’t exist no more since it replacement by Luametatex ! I still use ConTeXt MKIV ...
> 
> I also suggest to install everything personal in ~/texmf (same on Linux) and not in texmf-local or texmf-project, at least if you are planning to have parallel installations (which make sense if you want to keep a "stable" version but also want to check out new features/bugfixes).
I thought that all personal fonts should be added in texmf-fonts ? 

By the way, it might be useful to have . setuptex command. How to deal with such a situation, when mtxrun command doesn’t work ? 
> 
> Hraban
 
Thanks you very much, Hraban, for these advices !
JP 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220103/76b4bb8b/attachment-0001.htm>


More information about the ntg-context mailing list