From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115079 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Keith McKay via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Mark IV or LuaMetaTeX? Date: Thu, 26 May 2022 16:54:26 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6153019351477036314==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39521"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Cc: Keith McKay To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu May 26 17:55:13 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuFpR-0009yp-IW for gctc-ntg-context-518@m.gmane-mx.org; Thu, 26 May 2022 17:55:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2DB3436099F; Thu, 26 May 2022 17:54:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0mY09DMvOfze; Thu, 26 May 2022 17:54:36 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A3FCC360993; Thu, 26 May 2022 17:54:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 633E8360993 for ; Thu, 26 May 2022 17:54:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YStJ6PkjqKV8 for ; Thu, 26 May 2022 17:54:32 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.47; helo=mail-wr1-f47.google.com; envelope-from=mckaymeister@gmail.com; receiver= Original-Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 983ED360988 for ; Thu, 26 May 2022 17:54:32 +0200 (CEST) Original-Received: by mail-wr1-f47.google.com with SMTP id z15so2647421wrg.11 for ; Thu, 26 May 2022 08:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=znMaIenKVeDMgoZC2MZPphvFxI8SOPbsPcMV+P64yaI=; b=OgWPYSlsdcmlWXBZddWSXT4PSHxBlYf8E6W5ccCiZtSHQgYGN33a/36DzP3/5TqBJQ upRBf7UMwFli1WQRv3vwqNJW7tPJqcx3qPTumSOfUxyyZMnCYN0yaOb0XVN9yAdZHiVr nhSbYc8GNfBuKKirIqQE1ZztKV5TdwwHn7h8XxvQrtFMMK/z5elrcu3wg39VIvRg3cKv jCxgaY6hYg/DAEygCQAZBQwlhdv4GMDmhxQQqGYqxgGUOwsHYjQWE/v4/DyXrD8FSLdD Nrg8oACWPPiTDQQwsLO4LL9T5SRfof60pmXQCPAcBTYoQmYCgdUwW2EYdFzXxeXHFxOh nZyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=znMaIenKVeDMgoZC2MZPphvFxI8SOPbsPcMV+P64yaI=; b=a/dPRw0a3znE1Uaa1Bsy7zsJOoMFhjoOmTyfBgEUCgB2VwuSMuLHfq3Qcn4+DX1ocH /y+uzJdLP9LXKs+3+ae198YdjDw65HA4RMmYCK7EoIdp2Pbe/GhV27HNyz8+7XTQS4Ho o5EzUEPI262PkkmmM0G5SS+Pk0P7/yGBxkap9MrLt8JrS6EHaCHvMNS6G+mB0pyFNysu R91NXBejAuKC+nFU5FWDfZn86ynlYCNrAd3uFlzSxmy6GrNInGd1IHhzU45qEPqNNBoU CyfVkWzmmVtUAwexc64teLEDr+lmQ4vG8U9SkIp40JruI4EB9xZ+NVnWgMX3bF4/nvDm YQYA== X-Gm-Message-State: AOAM5300xUHts4EsIEVvXw1KzmSCdxtMWjdM2OkrTx9ONFPBsQXOUi8N 8vUWY56wiSa011JVCjTtyFhurwZDKICd7g== X-Google-Smtp-Source: ABdhPJwe2ttyBXYC78m5OsJc3H3qLgWZitaltxfufc3VckxZ6Wnuzr9I+RDsONorttmXA82RxqJt+A== X-Received: by 2002:a5d:4d51:0:b0:210:687:571d with SMTP id a17-20020a5d4d51000000b002100687571dmr4214287wru.182.1653580469889; Thu, 26 May 2022 08:54:29 -0700 (PDT) Original-Received: from [192.168.0.33] (cpc100594-uddi29-2-0-cust51.20-3.cable.virginm.net. [82.42.107.52]) by smtp.gmail.com with ESMTPSA id c192-20020a1c35c9000000b003977c5b13f8sm1591667wma.4.2022.05.26.08.54.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 May 2022 08:54:27 -0700 (PDT) Content-Language: en-GB In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:115079 Archived-At: This is a multi-part message in MIME format. --===============6153019351477036314== Content-Type: multipart/alternative; boundary="------------jo3ZvxHb46Bzu7x7ABVyvzal" Content-Language: en-GB This is a multi-part message in MIME format. --------------jo3ZvxHb46Bzu7x7ABVyvzal Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Tommaso  I use TeXworks with ConText stand alone LMTX. To set it up to run context do the following. Open TexWorks and then click on TexWorks in the menu bar then Preferences. The TexWorks Preference window will open up. Click on the Typesetting tab and you will see two panes. One marked "Paths for TeX and related Programs" and another marked "Processing Tools". Next to Processing Tools is a + button. Click on this and a "Tool Configuration" window appears. This is where you enter the details for processing by ConTeXt and this is how I have set this up on my mac mini M1. Name: LMTX % Here you need to use the Browse button to get to the mtxrun. On my mac it is the path to the directory tex  which contains the file mtxrun as shown below. Yours may be different. Since mtxrun is an alias for luametatex it substitutes luametatex. I edited this to, mtxrun. Program: /Users/HomeDirectory/data/contextmacosarm64/tex/texmf-osx-arm64/bin/mtxrun % Next enter the arguments as follows using the + button. Arguments: --autogenerate                     --script                     context                     --autopdf                     $fullname Click OK. This takes you back to the TeXworks Prefences window (which has stayed open anyway). You may have to enter some more paths to the Paths pane. I added /Users/HomeDirectory/data/contextmacosarm64/tex/texmf-osx-arm64/bin just to be on the safe side but it may not be needed. If I have made any mistakes I'm sure the great and the good in the ConTeXt community will correct me. I also use TeXshop but prefer TeXworks but to be honest with with you there is not much of a difference between the two in my ConTeXt use. I'm experimenting with atom but that is a wee bit more complicated since I have to use the console to run context. Hope this helps Best Wishes Keith McKay On 26/05/2022 13:53, Tommaso Gordini via ntg-context wrote: > Hello list, > forgive me if my question is too general and trivial and without a > minimum code. > > In the current state of ConTeXt development, which engine do you > recommend to use /definitively/? ConTeXt MkIV or LMTX? > > I use macOS 10.15.7, on which I have MacTeX-2022, ConTeXt Standalone > and ConTeXt LMTX. My editor is TeXShop 4.72 (the last one), even if > Synctex doesn't work too well: source to PDF is almost OK, but PDF to > source is still very inaccurate, not to mention that to activate the > direct and reverse search you have to write such a thing as > > %! TEX TS-program = ConTeXt2021 > %! TEX useAlternatePath > %! TEX useConTeXtSyncParser > > \setupsynctex [state=start, method=min] > > \starttext > ... > \stoptext > > I also have the latest TeXworks on board, but I don't understand how > to set it up. If you think that for ConTeXt is better than TeXShop and > you want to teach me how to set it up, thank you. > > Tommaso > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ --------------jo3ZvxHb46Bzu7x7ABVyvzal Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi Tommaso

 I use TeXworks with ConText stand alone LMTX. To set it up to run context do the following.

Open TexWorks and then click on TexWorks in the menu bar then Preferences. The TexWorks Preference window will open up.

Click on the Typesetting tab and you will see two panes. One marked "Paths for TeX and related Programs" and another marked "Processing Tools".

Next to Processing Tools is a + button. Click on this and a "Tool Configuration" window appears. This is where you enter the details for processing by ConTeXt and this is how I have set this up on my mac mini M1.

Name: LMTX

% Here you need to use the Browse button to get to the mtxrun. On my mac it is the path to the directory tex  which contains the file mtxrun as shown below. Yours may be different. Since mtxrun is an alias for luametatex it substitutes luametatex. I edited this to, mtxrun.

Program: /Users/HomeDirectory/data/contextmacosarm64/tex/texmf-osx-arm64/bin/mtxrun

% Next enter the arguments as follows using the + button.

Arguments: --autogenerate

                    --script

                    context

                    --autopdf

                    $fullname

Click OK. This takes you back to the TeXworks Prefences window (which has stayed open anyway). You may have to enter some more paths to the Paths pane. I added /Users/HomeDirectory/data/contextmacosarm64/tex/texmf-osx-arm64/bin just to be on the safe side but it may not be needed.

If I have made any mistakes I'm sure the great and the good in the ConTeXt community will correct me.

I also use TeXshop but prefer TeXworks but to be honest with with you there is not much of a difference between the two in my ConTeXt use. I'm experimenting with atom but that is a wee bit more complicated since I have to use the console to run context.

Hope this helps

Best Wishes

Keith McKay

On 26/05/2022 13:53, Tommaso Gordini via ntg-context wrote:

Hello list, 
forgive me if my question is too general and trivial and without a minimum code.

In the current state of ConTeXt development, which engine do you recommend to use definitively? ConTeXt MkIV or LMTX?

I use macOS 10.15.7, on which I have MacTeX-2022, ConTeXt Standalone and ConTeXt LMTX. My editor is TeXShop 4.72 (the last one), even if Synctex doesn't work too well: source to PDF is almost OK, but PDF to source is still very inaccurate, not to mention that to activate the direct and reverse search you have to write such a thing as

%! TEX TS-program = ConTeXt2021
%! TEX useAlternatePath
%! TEX useConTeXtSyncParser

\setupsynctex [state=start, method=min]

\starttext
...
\stoptext


I also have the latest TeXworks on board, but I don't understand how to set it up. If you think that for ConTeXt is better than TeXShop and you want to teach me how to set it up, thank you.

Tommaso

___________________________________________________________________________________
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
___________________________________________________________________________________
--------------jo3ZvxHb46Bzu7x7ABVyvzal-- --===============6153019351477036314== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6153019351477036314==--