Dear Axel,

Thank you very much for your attention and your hints, which solved my problems 
with ConTeXt from TeXLive2020.

Indeed following your suugestion, I removed the 
        /opt/local/etc/texmf/
directory, as well as all other tex related directories and files in 
/opt/local/, and then installed again MacTeX2020. 
In oder to be on the safe side, I rebuilt also the locate database, then 
rebooted my machine: after that I could  run
        luatools --generate
and now with
        context --version
 I have current version: 2020.03.10 14:44.

However I don't know why I had tex related files in /opt/local/, which is used 
by MacPorts…

I hope to be able to explain to my colleague how to run ConTeXt (LuaTeX) within 
TeXShop from MacTeX2020.

Thanks to eveyone!

Best regards: Otared

> On 12 Aug 2020, at 08:26, Axel Kielhorn <t...@axelkielhorn.de> wrote:
> 
> 
> 
>> Am 11.08.2020 um 16:57 schrieb Otared Kavian <ota...@gmail.com>:
>> 
>> I don't have these files at this place, but in
>>      /opt/local/etc/texmf/
>> I do have 
>>      /opt/local/etc/texmf/texmf.cnf
>>      /opt/local/etc/texmf/texmfcnf.lua
>> the first one being created automatically when I tried to do mtxrun 
>> --generate after installing TeXLive2020. Ir says its content should not be 
>> modified directly and that its content is based on of the file
>>      /opt/local/etc/texmf/texmf.cnf.d
>> The content of the above directory dates from 2019, and maybe that is why my 
>> logfile reports things being done with TeXLive2019. 
>> 
>> The content of the file 
>>      /opt/local/etc/texmf/texmfcnf.lua
>> is written by Hans in date = "2012-05-24" time = "12-12-12".
>> 
>> Replacing /opt/local/etc/texmf/texmf.cnf with some other texmf.cnf does not 
>> help, since it is overwritten when one does 
>>      mtxrun --generate
>> 
>> So the problem remains… Maybe I have to contact people who prepare 
>> MacTeX2020 and ask for help with them.
> 
> This looks like a Macports installation.
> 
> When I call the Macports version of context I get:
> 
> context --help
> resolvers       | caches | path '/Users/axel/.texlive2020/texmf-var' created
> mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'
> 
> If you want to use the Macports version of ConTeXt please install
> 
> port install textlive-context
> 
> after installing that I get:
> 
> context --help
> mtx-context     | ConTeXt Process Management 1.03
> mtx-context     |
> mtx-context     | basic options:
> mtx-context     |
> mtx-context     | --run                  process (one or more) files (default 
> action)
> mtx-context     | --make                 create context formats
> mtx-context     |
> mtx-context     | --ctx=name             use ctx file (process management 
> specification)
> mtx-context     | --noctx                ignore ctx directives and flags
> mtx-context     | --interface            use specified user interface 
> (default: en)
> mtx-context     |
> mtx-context     | --autopdf              close pdf file in viewer and start 
> pdf viewer afterwards
> mtx-context     | --purge                purge files either or not after a 
> run (--pattern=...)
> mtx-context     | --purgeall             purge all files either or not after 
> a run (--pattern=...)
> mtx-context     |
> mtx-context     | --usemodule=list       load the given module or style, 
> normally part of the distribution
> mtx-context     | --environment=list     load the given environment file 
> first (document styles)
> mtx-context     | --mode=list            enable given the modes (conditional 
> processing in styles)
> mtx-context     | --path=list            also consult the given paths when 
> files are looked for
> mtx-context     | --arguments=list       set variables that can be consulted 
> during a run (key/value pairs)
> mtx-context     | --randomseed=number    set the randomseed
> mtx-context     | --result=name          rename the resulting output to the 
> given name
> mtx-context     | --trackers=list        set tracker variables (show list 
> with --showtrackers)
> mtx-context     | --directives=list      set directive variables (show list 
> with --showdirectives)
> mtx-context     | --silent=list          disable logcatgories (show list with 
> --showlogcategories)
> mtx-context     | --strip                strip Lua code (only meant for 
> production where no errors are expected)
> mtx-context     | --errors=list          show errors at the end of a run, 
> quit when in list (also when --silent)
> mtx-context     | --htmlerrorpage        generate html error page instead 
> (optional: =scite)
> mtx-context     | --noconsole            disable logging to the console 
> (logfile only)
> mtx-context     | --purgeresult          purge result file before run
> mtx-context     |
> mtx-context     | --forcexml             force xml stub
> mtx-context     | --forcecld             force cld (context lua document) stub
> mtx-context     | --forcelua             force lua stub (like texlua)
> mtx-context     | --forcemp              force mp stub
> mtx-context     |
> mtx-context     | --arrange              run extra imposition pass, given 
> that the style sets up imposition
> mtx-context     | --noarrange            ignore imposition specifications in 
> the style
> mtx-context     |
> mtx-context     | --jit                  use luajittex with jit turned off 
> (only use the faster virtual machine)
> mtx-context     | --jiton                use luajittex with jit turned on (in 
> most cases not faster, even slower)
> mtx-context     |
> mtx-context     | --once                 only run once (no multipass data 
> file is produced)
> mtx-context     | --runs                 process at most this many times
> mtx-context     | --forcedruns           process this many times (permits for 
> optimization trial runs)
> mtx-context     |
> mtx-context     | --batchmode            run without stopping and do not show 
> messages on the console
> mtx-context     | --nonstopmode          run without stopping
> mtx-context     |
> mtx-context     | --nosynctex            never initializes synctex (for 
> production runs)
> mtx-context     | --synctex              run with synctex enabled (better use 
> \setupsynctex[state=start]
> mtx-context     |
> mtx-context     | --nodates              omit runtime dates in pdf file 
> (optional value: a number (this 1970 offset time) or string "YYYY-MM-DD 
> HH:MM")
> mtx-context     | --nocompression        forcefully turns off compression in 
> the backend
> mtx-context     | --trailerid            alternative trailer id (or constant 
> one)
> mtx-context     |
> mtx-context     | --generate             generate file database etc. (as 
> luatools does)
> mtx-context     | --paranoid             do not descend to .. and ../..
> mtx-context     | --version              report installed context version
> mtx-context     |
> mtx-context     | --global               assume given file present elsewhere
> mtx-context     | --nofile               use dummy file as jobname
> mtx-context     |
> mtx-context     |
> mtx-context     | More information about ConTeXt and the tools that come with 
> it can be found at:
> mtx-context     |
> mtx-context     | maillist : ntg-context@ntg.nl / 
> http://www.ntg.nl/mailman/listinfo/ntg-context
> mtx-context     | webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> mtx-context     | wiki     : http://contextgarden.net
> 
> If you want to use MacTeX please uninstall Macports TeX Live and use the GUI 
> installer of MacTeX.
> 
> At least make sure that the /opt/local is not in your PATH when you call TeX 
> from /Library/TeX/texbin.
> 
> Greetings 
> Axel
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

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

Reply via email to