![](https://secure.gravatar.com/avatar/96a2b835dde0041c68f1803473d0b013.jpg?s=120&d=mm&r=g)
Hi all (and thanks for the help lately with tables etc.) I have been running mkiv on a mac (powerpc, OS 10.4) with no problems, in conjunction with a TeXLive installation. I have updated this setup several times, by downloading the latest luatex and latest context from their respective sites, and following instructions previously sent to this list regarding making files executable and creating a couple of links. Lately, it seems that minimals from the contextgarden wiki are becoming the accepted standard, so I decided to switch. I downloaded the first-run script, ran it, it successfully downloaded all the components to a directory. Now my stupid question: How do I actually *use* the minimal ConTeXt installation? Thanks David
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Tue, Apr 22, 2008 at 6:08 AM, David wrote:
Now my stupid question: How do I actually *use* the minimal ConTeXt installation?
Hello David, I have the following line in my .bash_profile (but you can issue that manually if you want to use LaTeX from the other distribution as well): . context/tex/setuptex context/tex Mojca PS: I will add that instruction at the end of first-setup.sh
![](https://secure.gravatar.com/avatar/96a2b835dde0041c68f1803473d0b013.jpg?s=120&d=mm&r=g)
On Tue, 22 Apr 2008 09:15:42 +0200, Mojca Miklavec wrote:
On Tue, Apr 22, 2008 at 6:08 AM, David wrote:
Now my stupid question: How do I actually *use* the minimal ConTeXt installation?
Hello David,
I have the following line in my .bash_profile (but you can issue that manually if you want to use LaTeX from the other distribution as well):
. context/tex/setuptex context/tex
Mojca
PS: I will add that instruction at the end of first-setup.sh
Thank you - this was indeed the step I was missing, and now it works. For my purposes (my requirements are not large, I'm not in a hurry, and I don't want to waste time learning multiple ways of doing things), I have decided to do everything strictly in mkiv - no mkii and no latex. I want to learn the future habits and methods now, and drop the old ones right away. For me, is the command texexec --lua myfile.tex the best way to work, or is there something else I should switch to? (e.g. mtxrun or something) Thanks David
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Tue, Apr 22, 2008 at 10:16 PM, David wrote:
For my purposes (my requirements are not large, I'm not in a hurry, and I don't want to waste time learning multiple ways of doing things), I have decided to do everything strictly in mkiv - no mkii and no latex. I want to learn the future habits and methods now, and drop the old ones right away. For me, is the command
texexec --lua myfile.tex
the best way to work, or is there something else I should switch to? (e.g. mtxrun or something)
context myfile.tex Mojca
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 22 Apr 2008, David wrote:
On Tue, 22 Apr 2008 09:15:42 +0200, Mojca Miklavec wrote:
On Tue, Apr 22, 2008 at 6:08 AM, David wrote:
Now my stupid question: How do I actually *use* the minimal ConTeXt installation?
Hello David,
I have the following line in my .bash_profile (but you can issue that manually if you want to use LaTeX from the other distribution as well):
. context/tex/setuptex context/tex
Mojca
PS: I will add that instruction at the end of first-setup.sh
Thank you - this was indeed the step I was missing, and now it works.
For my purposes (my requirements are not large, I'm not in a hurry, and I don't want to waste time learning multiple ways of doing things), I have decided to do everything strictly in mkiv - no mkii and no latex. I want to learn the future habits and methods now, and drop the old ones right away. For me, is the command
texexec --lua myfile.tex
the best way to work, or is there something else I should switch to? (e.g. mtxrun or something)
context filename context is a stub present in texmf-context/scripts/context/stub/unix and says #!/bin/sh mtxrun --script context "$@" Aditya
![](https://secure.gravatar.com/avatar/96a2b835dde0041c68f1803473d0b013.jpg?s=120&d=mm&r=g)
On Tue, 22 Apr 2008 18:53:10 -0400 (EDT), Aditya Mahajan wrote:
For my purposes (my requirements are not large, I'm not in a hurry, and I don't want to waste time learning multiple ways of doing things), I have decided to do everything strictly in mkiv - no mkii and no latex. I want to learn the future habits and methods now, and drop the old ones right away. For me, is the command
texexec --lua myfile.tex
the best way to work, or is there something else I should switch to? (e.g. mtxrun or something)
context filename
context is a stub present in texmf-context/scripts/context/stub/unix and says
#!/bin/sh
mtxrun --script context "$@"
Thanks to Aditya and Mojca for your help.
![](https://secure.gravatar.com/avatar/db1ef66b49c350c2c3d0054a37e8098c.jpg?s=120&d=mm&r=g)
A bit ot... running first-setup.sh under FreeBSD I get /usr/local/bin/rsync /usr/local/bin/ruby receiving file list ... done sent 98 bytes received 149 bytes 164.67 bytes/sec total size is 4219262 speedup is 17082.03 MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT MtxRun | skipping configuration for /texmf-local/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d MtxRun | skipping configuration for /texmf/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609 MtxRun | using script: ./bin/mtx-update.luareport >> state: loaded report >> update: start ./bin/mtx-update.lua:181: bad argument #1 to 'pairs' (table expected, got nil) what's wrong here? Cheers, -- Diego Depaoli
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Wed, Apr 23, 2008 at 9:18 AM, Diego Depaoli wrote:
A bit ot... running first-setup.sh under FreeBSD I get
/usr/local/bin/rsync /usr/local/bin/ruby receiving file list ... done
sent 98 bytes received 149 bytes 164.67 bytes/sec total size is 4219262 speedup is 17082.03
MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
MtxRun | skipping configuration for /texmf-local/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d MtxRun | skipping configuration for /texmf/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609 MtxRun | using script: ./bin/mtx-update.luareport >> state: loaded report >> update: start ./bin/mtx-update.lua:181: bad argument #1 to 'pairs' (table expected, got nil)
what's wrong here?
I'm clueless. And I'm afraid that there are not many FreeBSD users on the list, at least none of the developers. Maybe Yue (who provided the binaries for FreeBSD) can help. Mojca
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Wed, Apr 23, 2008 at 12:51 PM, Mojca Miklavec
On Wed, Apr 23, 2008 at 9:18 AM, Diego Depaoli wrote:
A bit ot... running first-setup.sh under FreeBSD I get
/usr/local/bin/rsync /usr/local/bin/ruby receiving file list ... done
sent 98 bytes received 149 bytes 164.67 bytes/sec total size is 4219262 speedup is 17082.03
MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
MtxRun | skipping configuration for /texmf-local/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d MtxRun | skipping configuration for /texmf/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609 MtxRun | using script: ./bin/mtx-update.luareport >> state: loaded report >> update: start ./bin/mtx-update.lua:181: bad argument #1 to 'pairs' (table expected, got nil)
what's wrong here?
I'm clueless. And I'm afraid that there are not many FreeBSD users on the list, at least none of the developers. Maybe Yue (who provided the binaries for FreeBSD) can help.
One more thing - the binaries for FreeBSD might not be at the latest version. This could be a problem, but I suspect that something else is wrong as well. Mojca
![](https://secure.gravatar.com/avatar/435ac0d0ecd67394ae88a2020214d815.jpg?s=120&d=mm&r=g)
Hi,
Maybe this is because the old FreeBSD binaries I have made. Sorry.
I should have updated these binary earlier in time, just after the
0.25.3-release.
Trust me, this Friday, you will get the new working binaries for
luatex/pdftex/xetex/mpost.
(give me some time to figure out how to remove my windows
installation, god blessed)
For now, you can use the Linux binary in FreeBSD,
be sure the linux compatibility is enabled (kldload linux),
and modify the first-setup.sh and make it think you are in Linux.
Yue
On Wed, Apr 23, 2008 at 3:18 PM, Diego Depaoli
A bit ot... running first-setup.sh under FreeBSD I get
/usr/local/bin/rsync /usr/local/bin/ruby receiving file list ... done
sent 98 bytes received 149 bytes 164.67 bytes/sec total size is 4219262 speedup is 17082.03
MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
MtxRun | skipping configuration for /texmf-local/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d MtxRun | skipping configuration for /texmf/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609 MtxRun | using script: ./bin/mtx-update.luareport >> state: loaded report >> update: start ./bin/mtx-update.lua:181: bad argument #1 to 'pairs' (table expected, got nil)
what's wrong here?
Cheers, -- Diego Depaoli
___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Wed, Apr 23, 2008 at 9:18 AM, Diego Depaoli wrote:
A bit ot... running first-setup.sh under FreeBSD I get
/usr/local/bin/rsync /usr/local/bin/ruby receiving file list ... done
sent 98 bytes received 149 bytes 164.67 bytes/sec total size is 4219262 speedup is 17082.03
MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
MtxRun | skipping configuration for /texmf-local/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d MtxRun | skipping configuration for /texmf/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609 MtxRun | using script: ./bin/mtx-update.luareport >> state: loaded report >> update: start ./bin/mtx-update.lua:181: bad argument #1 to 'pairs' (table expected, got nil)
what's wrong here?
Did the new LuaTeX resolve the problems? (I'm not sure if FreeBSD minimals have ever worked - Hans has applied a patch several days ago, but it has not been tested so far.) Thanks, Mojca
![](https://secure.gravatar.com/avatar/552d9f147bbf22a2dabe6a4b56603332.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David skrev:
On Tue, 22 Apr 2008 18:53:10 -0400 (EDT), Aditya Mahajan wrote:
For my purposes (my requirements are not large, I'm not in a hurry, and I don't want to waste time learning multiple ways of doing things), I have decided to do everything strictly in mkiv - no mkii and no latex. I want to learn the future habits and methods now, and drop the old ones right away. For me, is the command
texexec --lua myfile.tex
the best way to work, or is there something else I should switch to? (e.g. mtxrun or something) context filename
context is a stub present in texmf-context/scripts/context/stub/unix and says
#!/bin/sh
mtxrun --script context "$@"
Hi! There is no existing context script file on my minimal installation. Here is my output janne@janne-laptop:~/ctx-test/tex/texmf-context/scripts/context/stubs/unix$ ls -l totalt 72 - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 ctxtools - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 exatools - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 makempy - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 mpstools - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 mptopdf - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 pdftools - -rw-r--r-- 1 janne janne 42 2008-04-16 17:36 pdftrimwhite - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 pstopdf - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 rlxtools - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 runtools - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 texexec - -rw-r--r-- 1 janne janne 34 2008-04-16 17:36 texfind - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 texfont - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 texshow - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 textools - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 texutil - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 tmftools - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 xmltools So now I got very confused! Janneman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFID0EG/zRis+sQPvARAsEaAJ4gihZPDsEzRh5MH7+QcoQIfol8YACg69dK 9pw/1gniSt/Cq5V6Zqw/shs= =C+wM -----END PGP SIGNATURE-----
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Arthur Reutenauer wrote:
There is no existing context script file on my minimal installation.
It's a Lua script, which means it's in scripts/context/lua (look for mtx-context.lua).
There is a stub now as well, but see the date: Apr 18 22:09 /opt/tex/texmf-local/scripts/context/stubs/unix/context Contents is a trivial two-liner: #!/bin/sh mtxrun --script context "$@" Best wishes, Taco
participants (8)
-
Aditya Mahajan
-
Arthur Reutenauer
-
David
-
Diego Depaoli
-
Jan-Erik Hägglöf
-
Mojca Miklavec
-
Taco Hoekwater
-
Yue Wang