Package Details: context 2022.09.11_20.44-1

Git Clone URL: https://aur.archlinux.org/context.git (read-only, click to copy)
Package Base: context
Description: ConTeXt LMTX, the Lean and Mean TeX eXperience with Lua, MetaPost, TeX, and XML
Upstream URL: https://wiki.contextgarden.net/Installation
Licenses: GPL
Conflicts: context
Provides: context, context-lmtx
Replaces: context-bin
Submitter: xeruf
Maintainer: xeruf
Last Packager: xeruf
Votes: 2
Popularity: 0.000000
First Submitted: 2022-01-15 12:23 (UTC)
Last Updated: 2022-09-19 11:14 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Pinned Comments

xeruf commented on 2023-02-13 09:59 (UTC)

If you want to use this package side-by-side with TeXLive, you might need to unset TEXMF or prefix some of its commands with TEXMF="" - or alternatively set TEXMF temporarily for the context commands, ideally with a little helper script.

xeruf commented on 2022-02-07 08:48 (UTC)

Currently this package places binaries into /usr/local/bin to avoid conflicts with texlive. I am investigating how to handle this appropriately.

Latest Comments

« First ‹ Previous 1 2

niqingliang2003 commented on 2022-12-11 14:08 (UTC)

@xeruf I don't think all are scripts, the engine is binary

xeruf commented on 2022-10-24 19:50 (UTC)

ConTeXt is just a collection of TeX scripts and as such not compiled. But development is handled internally so far with no source repository available.

niqingliang2003 commented on 2022-10-24 12:11 (UTC)

can we compile from source against using precompiled binary? as a latex distribution, I worry about it for close source in the future.

xeruf commented on 2022-09-19 11:16 (UTC)

I have adjusted the .install-file, works properly on my machine now.

Unfortunately, in this AUR, the directories are not placed correctly, it seems

@hendrack What would you suggest as correct placement?

xeruf commented on 2022-09-19 10:51 (UTC)

Sorry, I indeed forgot to update this. I am still tinkering as I would like to run ConTeXt LMTX and TeXLive LaTeX side-by-side...

hendrack commented on 2022-07-18 20:07 (UTC) (edited on 2022-07-18 20:50 (UTC) by hendrack)

Regarding unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua:

You need an environment variable so the context binary finds the context distribution files. The AUR tells you this:

Add the following to your shell rc file:

export TEXMF=/usr/share/context

That directory does not exist. Fix, should be something like:

export TEXMF="/usr/share/texmf-dist/texmf-context/"

Unfortunately, in this AUR, the directories are not placed correctly, it seems. I suggest just downloading the installer from the context website, putting it somewhere and export the TEXMF variable to the correct directory:

export TEXMF=/path/to/installer/context/tex

xeruf commented on 2022-03-15 15:23 (UTC)

Having that issue myself too for about a month. Did not find a fix so far, and unfortunately their downloads are not versioned...

vedranmiletic commented on 2022-02-10 11:59 (UTC)

After installing, I get:

$ context --version
mtxrun          | forcing cache reload
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/home/vedranm/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf-context/web2c' fromspecification 'selfautoparent:/texmf-context/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/home/vedranm/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/usr/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/usr/texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/usr/texmf-dist/web2c' fromspecification 'selfautoparent:/texmf-dist/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/usr/texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers       | resolving |
resolvers       | resolving | warning: no lua configuration files found
resolvers       | resolving | no texmf paths are defined (using TEXMF)
resolvers       | resolving |
mtxrun          | the resolver databases are not present or outdated
resolvers       | resolving | using suffix based filetype 'lua'
resolvers       | resolving | remembering file 'mtx-context.lua' using hash 'lua::mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'lua'
resolvers       | resolving | remembering file 'mtx-contexts.lua' using hash 'lua::mtx-contexts.lua'
resolvers       | resolving | remembered file 'mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'lua'
resolvers       | resolving | remembering file 'mtx-t-mtx-context.lua' using hash 'lua::mtx-t-mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'lua'
resolvers       | resolving | remembering file 'mtx-t-mtx-contexts.lua' using hash 'lua::mtx-t-mtx-contexts.lua'
resolvers       | resolving | remembered file 'mtx-t-mtx-context.lua'
resolvers       | resolving | remembered file 'mtx-context.lua'
mtxrun          | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

Compiling a file gives the same error:

$ context example.tex
mtxrun          | forcing cache reload
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/home/vedranm/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf-context/web2c' fromspecification 'selfautoparent:/texmf-context/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/home/vedranm/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/usr/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/usr/texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/usr/texmf-dist/web2c' fromspecification 'selfautoparent:/texmf-dist/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/usr/texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers       | resolving |
resolvers       | resolving | warning: no lua configuration files found
resolvers       | resolving | no texmf paths are defined (using TEXMF)
resolvers       | resolving |
mtxrun          | the resolver databases are not present or outdated
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-context.lua' using hash 'lua::mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-contexts.lua' using hash 'lua::mtx-contexts.lua'
resolvers       | resolving | remembered file 'mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-t-mtx-context.lua' using hash 'lua::mtx-t-mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-t-mtx-contexts.lua' using hash 'lua::mtx-t-mtx-contexts.lua'
resolvers       | resolving | remembered file 'mtx-t-mtx-context.lua'
resolvers       | resolving | remembered file 'mtx-context.lua'
mtxrun          | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

Any ideas why?

xeruf commented on 2022-02-07 08:48 (UTC)

Currently this package places binaries into /usr/local/bin to avoid conflicts with texlive. I am investigating how to handle this appropriately.

xeruf commented on 2022-01-15 12:10 (UTC)

Note that the downloads are currently not versioned properly, so I will have to manually update the version and checksums when there is a new version, in the meantime you will have to skip checksum verification.