ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Pierre Delange via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Jean-Pierre Delange <adeimantos@free.fr>
Subject: Re: Documentation about CTX installation on MacOS X
Date: Mon, 3 Jan 2022 11:02:04 +0100	[thread overview]
Message-ID: <9B96D1AA-BCE5-45F9-B74A-9380751A9313@free.fr> (raw)
In-Reply-To: <d94580b7-2fae-5784-6fcb-bf17231aec79@fiee.net>


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



> Le 3 janv. 2022 à 09:22, Henning Hraban Ramm via ntg-context <ntg-context@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@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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 4799 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
___________________________________________________________________________________

      parent reply	other threads:[~2022-01-03 10:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPENqt0VSqYa35FtLWykoRb0XxPxY6gL-CAayBY8GrA5SvXtdA@mail.gmail.com>
2021-12-29 10:34 ` \thanks inside author in section Youssef Cherem via ntg-context
2022-01-03  2:26   ` Documentation about CTX installation on MacOS X Jean-Pierre Delange via ntg-context
2022-01-02 17:53     ` Fabrice L via ntg-context
2022-01-02 19:54     ` Henning Hraban Ramm via ntg-context
2022-01-03  7:09       ` Jean-Pierre Delange via ntg-context
2022-01-03  8:22         ` Henning Hraban Ramm via ntg-context
2022-01-03  8:35           ` Henning Hraban Ramm via ntg-context
2022-01-03 10:05             ` Jean-Pierre Delange via ntg-context
2022-01-03 10:02           ` Jean-Pierre Delange via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9B96D1AA-BCE5-45F9-B74A-9380751A9313@free.fr \
    --to=ntg-context@ntg.nl \
    --cc=adeimantos@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).