TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering if there were any bugs with ConTeXt on TeXLive 2011. I normally do not use ConTeXt but wanted to play with it.

$ uname -a
OpenBSD oko.bagdala2.net 5.1 GENERIC.MP#188 i386

I have problem processing minimal working example of ConTeXt. The TeXLive 2011 is the version which is shipped with 5.1

$ more test.tex
    after={John Doe, the author\smallskip\currentdate\bigskip\endgroup}]



\CONTEXT\ is a document preparation system for the \TEX\ typesetting
program. It offers programmable desktop publishing features and



$ texexec test.tex

mtxrun          | kpse fallback with progname 'context' initialized in
0.12 seconds

$ context test.tex

mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'

It looks like a path problem to me.


$ luatools --generate

mtxrun          | unknown script 'base.lua' or 'mtx-base.lua'


 $ mtxrun --generate

"works" but I am getting the same message when trying to compile minimal working example.

However, Joseph Wright's comment is very useful and it seems to imply that ConTeXt problem I encountered is OpenBSD specific. I posted the question at ports.AT.openbsd.org but Edd (our TeXLive maintainer) has not responded yet. I will update the solution.

share|improve this question
The ConTeXt in TL2011 works fine: your example compiles fine for me. – Joseph Wright May 1 '12 at 5:46
Try running mtxrun --generate as a normal user (or the older syntax: luatools --generate; I don't know when the functionality moved from luatools to mtxrun) – Aditya May 1 '12 at 6:08
We'd like to keep answers separate from questions, so you should write a separate answer instead of editing your answer into the question. Self-answers are perfectly admissible, and a well-written answer may earn you additional reputation. – lockstep May 3 '12 at 15:15
@lockstep Done! – Predrag Punosevac May 3 '12 at 16:18
up vote 3 down vote accepted

Edd Barrett wrote:

On Mon, Apr 30, 2012 at 11:02:23PM -0400, Predrag Punosevac wrote:

$ context test.tex

mtxrun | unknown script 'context.lua' or 'mtx-context.lua'

Your example works fine here.

Do you have texlive_texmf-context installed?

I thought I had. However, when I checked manually I had the built package but not installed. I added it and everything works fine here. Sorry for the noise.

I also noticed your earlier discussion with Mark and few other developers about ConTeXt. I support your idea about splitting it from TeXLive completely and making a stand alone port of ConTeXt. Unfortunately due to the nature of my work I have no genuine interest to switch from LaTeX. If Frantisek wants to finish his work I can help testing it. Otherwise I will offer ConTeXt guys on their mailing list ssh access to one of my OpenBSD machines if they want to play with it.



share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.