Re: [NTG-context] Problem with LMTX on macOS: no format file given, quitting
Thanks, Pablo. Can I write to you privately? My problem may not matter to everyone. Tommaso Il dom 12 feb 2023, 17:56 Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> ha scritto: > On 2/12/23 17:34, Pablo Rodriguez via ntg-context wrote: > > On 2/12/23 16:28, Tommaso Gordini via ntg-context wrote: > >> [...] > >> Do you have any idea where I might have gone wrong? > > > > My guess is that when you invoke ConTeXt, you are running it from TeX > > Live (or from other than the wiki installation). > > Hi Tommaso, > > I forgot to mention, to avoid path clashes, you may invoke ConTeXt in > the following way (it is only one line and there is no space between > lines): > > export PATH=~/Documents/ConTeXt/ConTeXt-LMTX/\ > tex/texmf-osx-arm64/bin/:$PATH && context source-file.tex > > Just in case it might help, > > Pablo > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Problem with LMTX on macOS: no format file given, quitting
Hello list, I am writing to you about a problem with ConTeXt LMTX and TeXShop 5.11 on macOS 12.6.3 (MacBook Air M2). Yesterday I installed LMTX on my computer following the instructions here: https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS The LMTX tree is correctly installed in the directory I've chosen: charlie@Air-di-Tommaso ~ % which luametatex /Users/charlie/Documents/ConTeXt/ConTeXt-LMTX/tex/texmf-osx-arm64/bin/luametatex charlie@Air-di-Tommaso ~ % type luametatex luametatex is /Users/charlie/Documents/ConTeXt/ConTeXt-LMTX/tex/texmf-osx-arm64/bin/luametatex charlie@Air-di-Tommaso ~ % luametatex --version This is LuaMetaTeX, Version 2.10.06 Execute 'luametatex --credits' for credits and version details. There is NO warranty. Redistribution of this software is covered by the terms of the GNU General Public License, version 2 or (at your option) any later version. For more information about these matters, see the file named COPYING and the LuaMetaTeX source. Functionality : level 20230126 Support : cont...@ntg.nl Copyright : The Lua(Meta)TeX Team(s) (2005-2022+) The LuaMetaTeX project is related to ConTeXt development. This macro package tightly integrates TeX and MetaPost in close cooperation with Lua. Updates will happen in sync with ConTeXt and when needed. Don't be fooled by unchanged dates: long-term stability is the objective. However, I also get this: charlie@Air-di-Tommaso ~ % luametatex startup error : no format file given, quitting Also, I created the TeXShop engine as indicated on the page (I've done it before with no problems). However, now when I run LMTX from editor to compose a source, the source is compiled with MkIV Standalone, which I have in another folder ( /Users/charlie/Documents/ConTeXt/ConTeXt-MkIV). LMTX doesn't even work from a terminal, of course. The curious thing is that even by launching the ConTeXt present in TeX Live, what really works is always MkIV Standalone. Do you have any idea where I might have gone wrong? Thank you very much Tommaso ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip
Hello Mojca: uname -a Darwin MacBook-Air-di-Tommaso.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:07 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8110 arm64 uname-m arm64 Tommaso Il giorno lun 10 ott 2022 alle ore 08:49 Mojca Miklavec < mojca.miklavec.li...@gmail.com> ha scritto: > On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote: > > > > Hello list, > > > > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey > and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV > folder (where I install Standalone) on the disk weighs only 7MB (the tex > tree is created, but its folders are empty). > > I've never had a problem installing it on my old computer (Intel > processor). > > > > Do you know if it is a known problem? > > It should work, at least in theory. I'll check later today on our M1 > machine. > If that doesn't work, it should be some trivial problem (that should > be straightforward to fix). > If that works, it could be that "uname" reports something different > than "arm64" on M2. That should hopefully be easy to fix as well. > > What does "uname -m" (and "uname -a") report on your mac? > > Mojca > Il giorno lun 10 ott 2022 alle ore 08:49 Mojca Miklavec < mojca.miklavec.li...@gmail.com> ha scritto: > On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote: > > > > Hello list, > > > > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey > and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV > folder (where I install Standalone) on the disk weighs only 7MB (the tex > tree is created, but its folders are empty). > > I've never had a problem installing it on my old computer (Intel > processor). > > > > Do you know if it is a known problem? > > It should work, at least in theory. I'll check later today on our M1 > machine. > If that doesn't work, it should be some trivial problem (that should > be straightforward to fix). > If that works, it could be that "uname" reports something different > than "arm64" on M2. That should hopefully be easy to fix as well. > > What does "uname -m" (and "uname -a") report on your mac? > > Mojca > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip
While waiting for Mojca's attempts, for the moment I solved it by simply copying the folder of the old Mac in which I had installed the Standalone to the Mac M2. I have slightly modified the TeXShop scripts and everything works. The log tells me: This is LuaTeX, Version 1.13.0 (TeX Live 2021) Compiling with LMTX, i read: ConTeXt ver: 2022.09.11 20:44 LMTX And compiling with MkIV (of the TeX Live 2022): This is LuaTeX, Version 1.15.0 (TeX live 2022) Tommaso Il giorno dom 9 ott 2022 alle ore 09:23 Tommaso Gordini < illinguista1...@gmail.com> ha scritto: > Hello list, > > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey > and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV > folder (where I install Standalone) on the disk weighs only 7MB (the tex > tree is created, but its folders are empty). > I've never had a problem installing it on my old computer (Intel > processor). > > Do you know if it is a known problem? > > These are the commands I used (taken from the wiki): > > rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh . > sh ./first-setup.sh --modules = all --fonts = all --goodies = all > --context = latest --engine = luatex > > Where am I wrong? > > LMTX installation, on the other hand, should be successful (the folder > weighs 297.8 MB, as much as the Standalone one should weigh). > > Thanks in advance. > Tommaso > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip
Hello list, I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder (where I install Standalone) on the disk weighs only 7MB (the tex tree is created, but its folders are empty). I've never had a problem installing it on my old computer (Intel processor). Do you know if it is a known problem? These are the commands I used (taken from the wiki): rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh --modules = all --fonts = all --goodies = all --context = latest --engine = luatex Where am I wrong? LMTX installation, on the other hand, should be successful (the folder weighs 297.8 MB, as much as the Standalone one should weigh). Thanks in advance. Tommaso ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Mark IV or LuaMetaTeX?
Thank you, Keith! Everything works fine, except Synctex. So, between MkIV and LMTX you recommend LMTX. Perfect. Tommaso Il gio 26 mag 2022, 17:55 Keith McKay via ntg-context ha scritto: > 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 > ___ > > > ___ > 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 ___
[NTG-context] Mark IV or LuaMetaTeX?
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 ___
Re: [NTG-context] Microtipography
Thank you, Henri! Tommaso Il mer 25 mag 2022, 16:59 Henri Menke via ntg-context ha scritto: > On Wed, 2022-05-25 at 15:51 +0200, Tommaso Gordini via ntg-context > wrote: > > Hello list, > > > > here and there on the Net there are slightly different ways to > > activate the > > microtypography functionality in a ConTeXt document. > > > > My question is: what is the most correct and clean way to do it? > > I do not claim that this is the cleanest way. Probably it's better to > define a separate font feature for microtypography rather than > overwriting the default set, but this definitely works: > >\definefontfeature[default][default] > [protrusion=quality, > expansion=quality] > >\setupbodyfont[modern] % or whatever > >\setupalign[hz,hanging] > > Unfortunately the global alignment settings do not propagate into > certain structures. For example itemizations, captions, and > bibliographies just reset it and need special treatment: > >\setupitemize[each][align={hz,hanging}] >\setupbtxlist[align={hz,hanging,tolerant}] >\setupcaption[figure][align={justified,hz,hanging}] > > I think captions are not justified by default, so that might or might > not matter to you. Bibliographies are usually full or names and > academic words that do not hyphenate well, so adding tolerant relaxes > that a little bit. > > Cheers, Henri > > > > > Thanks in advance > > 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 > > _ > > __ > > ___ > 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 ___
[NTG-context] Microtipography
Hello list, here and there on the Net there are slightly different ways to activate the microtypography functionality in a ConTeXt document. My question is: what is the most correct and clean way to do it? Thanks in advance 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 ___