From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt does not execute MetaPost (in debian experimental)
Date: Mon, 10 Jan 2011 19:00:02 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.01.1101101848080.2812@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <loom.20110110T223543-158@post.gmane.org>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1855 bytes --]
On Mon, 10 Jan 2011, Hilmar Preuße wrote:
> Renaud AUBIN <aubin <at> nibua-r.org> writes:
>
> Hi all,
>
>> I assume from minimals install script that you need to generate the
>> format with mtxrun --generate --tree="xxx" --some --options but failed
>> at this point…
>> Maybe Mojca or Arthur (as authors of bin/mtx-update.lua) could complete?
>>
>> Anyway, the post-install script packaged with that .deb doesn't seem to
>> do the job for you…
>>
> Ineed, we don't do this. What it the purpose of this command and how to call it?
Earlier, there were some troubles with ConTeXt MkIV working in a
multi-user setup (I don't know whether that is still the case or not).
Therefore, the user has to run mtxrun --generate. This step cannot be done
at the post-install stage; it has to be done manually by the user. So,
the best solution is to display a message to tell the user to run this
command manually (I do something similar for the context-minimals package
for archlinux that I maintain).
> When running w/ option --generate I get:
>
> hille@sid:~ $ mtxrun --generate
>
> MTXrun | resolvers: variable 'SELFAUTOLOC' set to '/usr/bin'
> MTXrun | resolvers: variable 'SELFAUTODIR' set to '/usr'
> MTXrun | resolvers: variable 'SELFAUTOPARENT' set to '.'
> MTXrun | resolvers: variable 'TEXMFCNF' set to ''
This step is wrong (because the binary is in /usr/bin). Compare this with
what one gets in texlive:
'TEXMFCNF' set to
'{$SELFAUTODIR,$SELFAUTOPARENT}{{,/share,}/texmf{-local,.local}/web2c}'
Because of the wrong setting of TEXMFCNF mtxrun does not read texmfcnf.lua
file, and the rest of the command fails.
You can try
TEXMFCNF=/usr/share/texmf/web2c mtxrun --generate
and that should generate the database correctly.
I don't know what TEXMFCNF is being set incorrectly.
Aditya
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2011-01-11 0:00 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-10 14:29 ConTeXt does not execute MetaPost here Jonas Stein
2011-01-10 14:36 ` Taco Hoekwater
2011-01-10 14:50 ` Jonas Stein
2011-01-10 15:15 ` Taco Hoekwater
2011-01-10 15:42 ` Jonas Stein
2011-01-10 16:18 ` ConTeXt does not execute MetaPost (in debian experimental) Taco Hoekwater
2011-01-10 18:08 ` Renaud AUBIN
2011-01-10 18:14 ` Aditya Mahajan
2011-01-10 18:36 ` Renaud AUBIN
2011-01-10 18:44 ` Aditya Mahajan
2011-01-11 5:00 ` Norbert Preining
2011-01-11 15:56 ` Mojca Miklavec
2011-01-11 16:08 ` Vedran Miletić
2011-01-11 16:24 ` Mojca Miklavec
2011-01-11 16:45 ` Aditya Mahajan
2011-01-11 16:52 ` Mojca Miklavec
2011-01-12 1:15 ` Norbert Preining
2011-01-14 20:57 ` Jonas Stein
2011-01-14 21:29 ` Khaled Hosny
2011-01-14 21:56 ` Arthur Reutenauer
2011-01-14 22:02 ` Peter Münster
2011-01-14 22:20 ` Arthur Reutenauer
2011-01-14 22:19 ` Hans Hagen
2011-01-10 18:47 ` Renaud AUBIN
2011-01-10 21:43 ` Hilmar Preuße
2011-01-11 0:00 ` Aditya Mahajan [this message]
2011-01-10 23:17 ` Jonas Stein
2011-01-10 21:15 ` Jonas Stein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.01.1101101848080.2812@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).