* Re: Re: ConTeXt beta installation issue
2003-03-17 9:11 ` ConTeXt beta installation issue Gerben Wierda
@ 2003-03-17 17:32 ` Hans Hagen
2003-03-17 19:54 ` Simon Pepping
1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2003-03-17 17:32 UTC (permalink / raw)
Cc: Bruce D'Arcus, Gerben Wierda
At 10:11 AM 3/17/2003 +0100, Gerben Wierda wrote:
Probably it tries to do some guessing itself instead of relying on existing
settings. What might influence this is that my setup separates the texmf
part that is related to binaries (like pool files that change when binary
versions change) and the stuff that is the fondation (like ConTeXt, LATeX,
etc). /usr/local/teTeX/texmf.cnf starts with:
>>% Our directory setup as explained in $SELFAUTOPARENT/share/README.gwtex
>>% TEXMFMAIN contains the TEXMF tree installed by make install of the programs
>>TEXMFMAIN = $SELFAUTOPARENT/share/texmf
>>% TEXMFTE contains the main TEXMF tree from teTeX
>>TEXMFTE = $SELFAUTOPARENT/share/texmf.tetex
>>% TEXMFGW contains GW specific defaults and additions
>>TEXMFGW = $SELFAUTOPARENT/share/texmf.gwtex
>>% TEXMFLOCAL contains any local system TeXadmin overrides
>>TEXMFLOCAL = $SELFAUTOPARENT/share/texmf.local
>>% $VARTEXMF is where texconfig writes its local settings
>>VARTEXMF = $TEXMFLOCAL
>>% User texmf trees can be catered for like this...
>>HOMETEXMF = $HOME/Library/texmf
>>
>>% Our complete search path, the last three are searched through
>>% ls-R exclusively, which means that you have to run texhash
>>% after you have added, moved or deleted files in the tree
>>TEXMF={$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFGW,!!$TEXMFTE,!!$TEXMFMAIN}
>
>In this case, there is a valid TeX setup, though uncommon because the
>separation of texmf into texmf and texmf.tetex. I need this separation to
>be able to update programs and foundation separately. A new foundation
>(texmf.tetex + texmf.gwtex) does not touch anything related to the
>binaries (like pool files) in texmf.
here i also have split trees:
# example setup file / hans hagen
#
# dos2unix setuptex
# . setuptex
# mktexlsr
# texexec --make --alone
TEXROOT=/usr/local/tex
export TEXROOT
PATH=$TEXROOT/texmf-linux/bin:$PATH
export PATH
TEXMFMAIN=$TEXROOT/texmf
TEXMFLOCAL=$TEXROOT/texmf-local
TEXMFFONTS=$TEXROOT/texmf-fonts
TEXMFPROJECT=$TEXROOT/texmf-project
TEXMFLINUX=$TEXROOT/texmf-linux
VARTEXMF=$TEXROOT/texmf-var
export TEXMFMAIN
export TEXMFLOCAL
export TEXMFPROJECT
export TEXMFFONTS
export TEXMFLINUX
export VARTEXMF
# the next lines fail on dec alpha os's, so there you need
# to comment them (bug traced down by kees van marle/martin
# corrino)
HOMETEXMF=
export HOMETEXMF
TEXMFCNF=$TEXROOT/texmf{-local,}/web2c
TEXMF='{$TEXMFLINUX,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,!!$TEXMFMAIN}'
TEXFORMATS=$TEXMFLINUX/web2c
TEXPOOL=$TEXFORMATS
MPPOOL=$TEXFORMATS
export TEXMFCNF
export TEXMF
export TEXFORMATS
export TEXPOOL
export MPPOOL
now, if you split off the bin tree, it makes sense to set TEXPOOL and
MPPOOL explicitly; that way you can be sure that the binaries find them
your way; the texmf files use these variables and copy them to the other
relevant pool variables.
[i installed tex on a mac here, and there i have TEXMFMACOSX as well]
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: ConTeXt beta installation issue
2003-03-17 9:11 ` ConTeXt beta installation issue Gerben Wierda
2003-03-17 17:32 ` Hans Hagen
@ 2003-03-17 19:54 ` Simon Pepping
2003-03-18 8:00 ` Hans Hagen
1 sibling, 1 reply; 4+ messages in thread
From: Simon Pepping @ 2003-03-17 19:54 UTC (permalink / raw)
On Mon, Mar 17, 2003 at 10:11:33AM +0100, Gerben Wierda wrote:
> Whatever install_context.pl does, it seems to override PATH (another
> pdfetex on your system is found, not likely) or KPSE settings from
> /usr/local/teTeX/texmf.cnf in such a way that TeX stops working.
>
> Probably it tries to do some guessing itself instead of relying on
????????
> existing settings. What might influence this is that my setup separates
> the texmf part that is related to binaries (like pool files that change
> when binary versions change) and the stuff that is the fondation (like
> ConTeXt, LATeX, etc). /usr/local/teTeX/texmf.cnf starts with:
It does its utmost to get all its information from kpathsea. I find
its integration with kpathsea its nicest feature.
> >% $VARTEXMF is where texconfig writes its local settings
> >VARTEXMF = $TEXMFLOCAL
I would not like this. TEXMFLOCAL should survive through upgrades of
the distribution, VARTEXMF should not.
> If you send me the script I can have a quick look at it.
www.hobby.nl/~scaprea/context/install_context.pl
Regards, Simon
--
Simon Pepping
email: spepping@scaprea.hobby.nl
^ permalink raw reply [flat|nested] 4+ messages in thread