ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How can I use ConTeXt from TeXLive2020 ?
Date: Thu, 13 Aug 2020 11:04:43 +0200	[thread overview]
Message-ID: <2BEA3265-4963-4CC1-A0FC-FFFCA212D1AA@gmail.com> (raw)
In-Reply-To: <98D78868-E140-41D5-8C01-9DD10F3E6FD8@axelkielhorn.de>

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 <tex@axelkielhorn.de> wrote:
> 
> 
> 
>> Am 11.08.2020 um 16:57 schrieb Otared Kavian <otared@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	other threads:[~2020-08-13  9:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10 10:03 Otared Kavian
2020-08-10 10:37 ` Taco Hoekwater
2020-08-10 10:39 ` Axel Kielhorn
2020-08-10 12:59   ` Otared Kavian
2020-08-10 13:07     ` Taco Hoekwater
2020-08-10 13:20     ` Hans Hagen
2020-08-10 14:08       ` Otared Kavian
2020-08-10 14:15       ` Axel Kielhorn
2020-08-10 14:11     ` Axel Kielhorn
2020-08-10 22:02       ` Otared Kavian
     [not found]         ` <CABaoHuseyOm++oDmxjmJteZHXjA+JnV8+yEwb1rnzZWEC=c09w@mail.gmail.com>
2020-08-11 14:57           ` Otared Kavian
2020-08-11 15:25             ` Hans Hagen
2020-08-11 20:38               ` Otared Kavian
2020-08-12  6:26             ` Axel Kielhorn
2020-08-13  9:04               ` Otared Kavian [this message]
2020-08-13 10:42                 ` Axel Kielhorn
2020-08-13 14:57                 ` Mojca Miklavec
2020-08-14  7:43                   ` Otared Kavian
2020-08-14  9:42                     ` Mojca Miklavec

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=2BEA3265-4963-4CC1-A0FC-FFFCA212D1AA@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).