You are not logged in.
I would like to try out ConTeXt, but I can't get it to work. Trying to run "context my-small-test-file.tex" or "context --version" (or anything else I can think of) results in the following error message:
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
The TeX Live wiki page says "The ConTeXt formats (for MKII and MKIV) are not automatically generated upon installation. See the ConTeXT wiki for instructions on how to do this." I've searched, but I haven't been able to find any helpful info in the ConTeXt wiki. For example, here it is suggested to run "context --make cont-en" to generate a format file, but this gives the same error message as above. Trying texconfig is no good either; it says "texconfig formats is no longer supported, because manual edits of fmtutil.cnf will be overwritten by the new TeX Live package manager, tlmgr, which regenerates that file as needed upon package changes. Thus, to add or remove formats, the recommended method is to use tlmgr to add or remove the appropriate package." But I don't know how tlmgr works, and anyway I'm reluctant to use anything that might interfere with pacman.
No luck googling either... Suggestions, anyone?
PS 1. Are there any good reasons why the texlive-core package doesn't configure ConTeXt to work out of the box?
PS 2. I also tried context-minimals-git from the AUR, which kind of works, but it's useless since the integral signs ($\int$) don't look like they should and have a hideously large spacing around them...
Offline
I think pacman is fantastic but I also think that if you want to do anything with TL which is not supported by the available packages, the easiest approach is to just install it in /usr/local. It is not that Arch's packaging is bad - it is just that all distros end up making compromises to package TL up for distribution and Arch is no exception. Also, upstream not unreasonably want to know that bugs affect an installation done as they intended it and not just a package version from a distro. Essentially it's impossible to provide vanilla TL packages as far as I can tell - you can only package it by deviating from upstream. So packaging it rather oddly ends up inevitably violating Arch's packaging guidelines. The result is inevitably slightly messy.
Hopefully somebody else will give you an answer which is more in line with Arch's policy! Because I realise mine isn't. But it does work fine to install TL in /usr/local and you can then ensure it is under non-root ownership, as recommended by upstream. (tlmgr should not be run as root according to upstream, so even if this is installed by Arch, it is not best practice to use it. The same goes if you install the localised tlmgr from AUR. You shouldn't run it with root privileges really which makes it useless for managing the packaged installation.)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Some time ago I had the same problem and in the end I removed the Arch packages and installed Tex Live via the install script provided on their site. Now ConTeXt works fine and generally speaking I have much more control on TL updates (e.g. I can use pretest builds). As an added benefit, I understand the internal of a LaTeX distribution much better than before.
I don't know how much do you use LaTeX and similar, but for my use case Arch packages were not enough.
By the way, this is what the wiki says about TeX Live:
Installing TeX Live manually honors the Arch Way in that it gives you much more control and lets you understand the process. It's the only way you can get a full-featured LaTeX distribution under 100 MB that fits your needs without install a thousand of packages you will never use.
So you have Arch blessing ![]()
Offline
Thanks for your input, cfr & Box0! I do use LaTeX a lot, but the Arch packages have always been more than enough for my needs. I don't know how much effort I'm willing to put in right now just to play around with ConTeXt. We'll see...
By the way, I saw somewhere a statement to the effect that "most experienced TeX users install TeX Live directly since the distros are lagging behind so much", and somewhere else something like "most experienced ConTeXt users install ConTeXt directly since TeX Live is lagging behind so much". It takes some determination to live on the bleeding edge. :-)
Offline
Also, you can have multiple versions of TL installed if you like and switch between them. I like this because I can always fall back to the previous edition if something terrible happens to the latest one! (Especially when I'm installing a new release and don't know quite what will happen.)
I guess it doesn't seem like much hassle to me but I was managing TL with these tools before I started using Linux, so that might make a difference - it is easier, in fact, than learning to manage TL using pacman packages.
But the "do not run with root privileges" is what really decided it for me. I prefer not to manage the installation using tools with privileges which the tools' authors explicitly recommend against! (I guess if you don't need to run anything to manage the installation this might not matter, though.)
EDIT: By the way, I do this even though I pretty much install the lot so I certainly do not save space. But I have control and I know what the tools do and where they can do those things - only under /usr/local/texlive and /usr/local/stow-tex, basically. I manage the installation using a dedicated account which cannot write anywhere else besides world-writable directories such as /tmp. And it all seems to work.
The only tricky part was figuring out how to create dummy packages to keep Arch's pacman and Fedora's yum happy
.
Last edited by cfr (2013-11-16 22:57:44)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
The only tricky part was figuring out how to create dummy packages to keep Arch's pacman and Fedora's yum happy
.
For this I recommend texlive-dummy (AUR), pretty painless.
Offline
I use something similar although I didn't find it necessary to conflict or provide quite that many packages:
pkgname=texlive-dummy-cfr
pkgver=1.0
pkgrel=1
pkgdesc="TeX typesetting program"
arch=(i686 x86_64)
license=('custom')
provides=('tetex' 'texlive-bin' 'texlive-core' 'texinfo')
conflicts=('tetex' 'texlive-bin' 'texlive-core')
build() {
/bin/true
}Fedora was the trickier case.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline