ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* INstall minimal context system.
@ 2006-06-25 23:27 John R. Culleton
  2006-06-26  0:22 ` Idris Samawi Hamid
  2006-06-26  9:49 ` Mojca Miklavec
  0 siblings, 2 replies; 5+ messages in thread
From: John R. Culleton @ 2006-06-25 23:27 UTC (permalink / raw)


I downloaded the justtex.zip and the context-linux.zip files
into a work directory /usr/local/cont and unzipped them. Then I
cd to the tex directory under that work directory. I made the  
the setuptex file executable and executed it with no apparent
effect. Then I changed the path to point to
/usr/local/cont/tex/texmf-linux/bin and ran mktexlsr. It followed
the new path. I ran texexec --make --alone and it seemed to be
successful. Ran mktexlsr again. Then I ran a test program in
another directory. It could not find cont-en.fmt. In fact this
file or anything similar to this file does not exist in this
tree, although it existed in my previous tetex tree and exists in
my texlive tree. 

How do I create and/or download this file?

-- 
John Culleton

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: INstall minimal context system.
  2006-06-25 23:27 INstall minimal context system John R. Culleton
@ 2006-06-26  0:22 ` Idris Samawi Hamid
  2006-06-26  3:16   ` Aditya Mahajan
  2006-06-26  9:49 ` Mojca Miklavec
  1 sibling, 1 reply; 5+ messages in thread
From: Idris Samawi Hamid @ 2006-06-26  0:22 UTC (permalink / raw)


On Sun, 25 Jun 2006 17:27:41 -0600, John R. Culleton  
<john@wexfordpress.com> wrote:

> I downloaded the justtex.zip and the context-linux.zip files
> into a work directory /usr/local/cont and unzipped them. Then I
> cd to the tex directory under that work directory. I made the
> the setuptex file executable and executed it with no apparent
> effect. Then I changed the path to point to
> /usr/local/cont/tex/texmf-linux/bin and ran mktexlsr. It followed
> the new path. I ran texexec --make --alone and it seemed to be
> successful.

Just a guess: since you used the --alone switch, is there a path to the  
current directory from which you invoked
texexec --make --alone

Without the --alone switch the fmt file should go into \texmf-linux\web2c  
or \texmf-linux\web2c\pdfetex, depending on your texexec.ini setup.

(I use Windows but the principle should be the same)

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: INstall minimal context system.
  2006-06-26  0:22 ` Idris Samawi Hamid
@ 2006-06-26  3:16   ` Aditya Mahajan
  2006-06-26  7:16     ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2006-06-26  3:16 UTC (permalink / raw)


On Sun, 25 Jun 2006, Idris Samawi Hamid wrote:

> On Sun, 25 Jun 2006 17:27:41 -0600, John R. Culleton
> <john@wexfordpress.com> wrote:
>
>> I downloaded the justtex.zip and the context-linux.zip files
>> into a work directory /usr/local/cont and unzipped them. Then I
>> cd to the tex directory under that work directory. I made the
>> the setuptex file executable and executed it with no apparent
>> effect. Then I changed the path to point to
>> /usr/local/cont/tex/texmf-linux/bin and ran mktexlsr. It followed
>> the new path. I ran texexec --make --alone and it seemed to be
>> successful.

setuptex just sets some system variables (TEXMF, TEXMFMAIN, TEXMFLOCAL 
and so on) and modifies the PATH, so you will not get any immediate 
feedback on whether it ran correctly or not. Depending on your shell 
you may have to "source setuptex path-to-setuptex" or just "setuptex 
path-to-setuptex" As a quick check to see if everything went fine, do
"echo $TEXMF" before and after sourcing setuptex.

> Just a guess: since you used the --alone switch, is there a path to the
> current directory from which you invoked
> texexec --make --alone
>
> Without the --alone switch the fmt file should go into \texmf-linux\web2c
> or \texmf-linux\web2c\pdfetex, depending on your texexec.ini setup.

IIRC, the new (ruby) texexec does not read texexec.ini. One 
possibility is that $TEXMFLOCAL is not set (as you did not run 
setuptex) so texexec did not know where to place the format files. 
This also happens with Miktex and texexec creates a directory pdfetex 
in the current directory and dumps the format files there. You can try 
moving the fmt files to /usr/loca/cont/tex/texmf-local/web2c/pdfetex

Aditya

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: INstall minimal context system.
  2006-06-26  3:16   ` Aditya Mahajan
@ 2006-06-26  7:16     ` Taco Hoekwater
  0 siblings, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2006-06-26  7:16 UTC (permalink / raw)


Aditya Mahajan wrote:
> 
> setuptex just sets some system variables (TEXMF, TEXMFMAIN, TEXMFLOCAL 
> and so on) and modifies the PATH, so you will not get any immediate 
> feedback on whether it ran correctly or not. Depending on your shell 
> you may have to "source setuptex path-to-setuptex" or just "setuptex 

most importantly, "source setuptex" or just "setuptex" will not have
the desired effect.

Taco

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: INstall minimal context system.
  2006-06-25 23:27 INstall minimal context system John R. Culleton
  2006-06-26  0:22 ` Idris Samawi Hamid
@ 2006-06-26  9:49 ` Mojca Miklavec
  1 sibling, 0 replies; 5+ messages in thread
From: Mojca Miklavec @ 2006-06-26  9:49 UTC (permalink / raw)


On 6/26/06, John R. Culleton wrote:
> I downloaded the justtex.zip and the context-linux.zip files
> into a work directory /usr/local/cont and unzipped them. Then I
> cd to the tex directory under that work directory. I made the
> the setuptex file executable and executed it with no apparent
> effect.

You have to execute
   . setuptex
ie. [dot] setuptex in that specific folder and than tex will work in
that shell only.

I've put something equivalent to
    cd /usr/local/cont/tex
    . setuptex
    cd
into my .bashrc. I'm not sure that that's the proper and most elegant
solution, but it was the only one that I found to be working. (An
alternative would surely be a "smart copy" of contents of setuptex to
.bashrc.)

> Then I changed the path to point to
> /usr/local/cont/tex/texmf-linux/bin and ran mktexlsr.

If setuptex was executed properly, it should already be in your PATH.
If not, other environmental variables needed to run TeX properly are
not set either, so the formats will not be copied where they were
supposed to be.

> It followed
> the new path. I ran texexec --make --alone and it seemed to be
> successful. Ran mktexlsr again. Then I ran a test program in
> another directory. It could not find cont-en.fmt. In fact this
> file or anything similar to this file does not exist in this
> tree, although it existed in my previous tetex tree and exists in
> my texlive tree.
>
> How do I create and/or download this file?

You can't download it. texexec --make --all (or --make --alone, it
doesn't really matter I guess) should create it and copy it to the
proper destination. If it didn't, ConTeXt won't work properly either
since the rest of the needed environmental variables are not set
properly.

Mojca

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-26  9:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-25 23:27 INstall minimal context system John R. Culleton
2006-06-26  0:22 ` Idris Samawi Hamid
2006-06-26  3:16   ` Aditya Mahajan
2006-06-26  7:16     ` Taco Hoekwater
2006-06-26  9:49 ` Mojca Miklavec

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).