ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: new release (Modified by Gerben Wierda)
@ 2006-05-11  4:44 Gerben Wierda
  2006-05-11  8:17 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Gerben Wierda @ 2006-05-11  4:44 UTC (permalink / raw)


On May 10, 2006, at 19:13, Hans Hagen wrote:

> Thomas A. Schmitz wrote:
>> Hans,
>>
>> do I need to re-report that format generation with texmfstart
>> newtexexec --make is still broken on OS X (I'll check on my linux box
>> later)? I still get these monstrous paths like
>>
>> TeXExec | tex engine path: .:/Users/tas/texmf/web2c//:!!/usr/local/
>> teTeX/share//share/texmf-local/web2c//:!!/usr/local/teTeX/share//
>> share/texmf/web2c//:!!/usr/local/teTeX/share//share/texmf-dist/web2c//
>> pdfetex
>>
>>
> btw, i cannot test the mac here since the machine is broken (does not 
> start up and i already wasted half a day on it)

It seems like not the real paths are taken but only the main path and 
texmf-local, texmf-dist and such are hard coded subdirectories. This is 
one reason why I do not use the standard directories (like texmf-local 
and texmf-dist, but texmf.local, texmf.gwtex, texmf.tetex), to catch 
path `hard coding' errors as soon as possible. Another possibility 
(also a type of hard coding error) is parsing the wrong texmf.cnf file 
yourself instead of asking for the right paths by using kpsewhich.

G

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

* Re: new release (Modified by Gerben Wierda)
  2006-05-11  4:44 new release (Modified by Gerben Wierda) Gerben Wierda
@ 2006-05-11  8:17 ` Hans Hagen
  2006-05-11 12:21   ` Gerben Wierda
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2006-05-11  8:17 UTC (permalink / raw)
  Cc: Thomas A.Schmitz

Gerben Wierda wrote:
> On May 10, 2006, at 19:13, Hans Hagen wrote:
>
>   
>> Thomas A. Schmitz wrote:
>>     
>>> Hans,
>>>
>>> do I need to re-report that format generation with texmfstart
>>> newtexexec --make is still broken on OS X (I'll check on my linux box
>>> later)? I still get these monstrous paths like
>>>
>>> TeXExec | tex engine path: .:/Users/tas/texmf/web2c//:!!/usr/local/
>>> teTeX/share//share/texmf-local/web2c//:!!/usr/local/teTeX/share//
>>> share/texmf/web2c//:!!/usr/local/teTeX/share//share/texmf-dist/web2c//
>>> pdfetex
>>>
>>>
>>>       
>> btw, i cannot test the mac here since the machine is broken (does not 
>> start up and i already wasted half a day on it)
>>     
>
> It seems like not the real paths are taken but only the main path and 
> texmf-local, texmf-dist and such are hard coded subdirectories. This is 
> one reason why I do not use the standard directories (like texmf-local 
> and texmf-dist, but texmf.local, texmf.gwtex, texmf.tetex), to catch 
> path `hard coding' errors as soon as possible. Another possibility 
> (also a type of hard coding error) is parsing the wrong texmf.cnf file 
> yourself instead of asking for the right paths by using kpsewhich.
>   
indeed texexec is configured to bypass kpse (i played with the kpse 
library and the interface is too unstable; also, depending on the 
situation, a ruby version is faster and more suitable for serving 
multiple trees esp when i enable the run-as-service option)

one can test with:

set KPSEFAST=no

(maybe i should only make that one available when one installs a 
minimal-conforming tree)

i'll add the gw specific paths to the cnf location method (esp the way 
kpse locates its cnf files is not really well defined and standardised 
since kpse itself uses this autoparent stuff);

btw, doesn't gwtex set the TEXMFCNF env variable?

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: new release (Modified by Gerben Wierda)
  2006-05-11  8:17 ` Hans Hagen
@ 2006-05-11 12:21   ` Gerben Wierda
  2006-05-11 15:16     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Gerben Wierda @ 2006-05-11 12:21 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users, Thomas A.Schmitz

> btw, doesn't gwtex set the TEXMFCNF env variable?

It does not get a useful value.

TEXMFCNF is defined at compile-time and its setting in a texmf.cnf file is
ignored for obvious reasons. The compiled-in version shows my compile
environment which differs from the install environment on people's system.

Try
    kpsewhich -expand-var=\$TEXMFCNF
in a Terminal window.

I had to do this if I wanted to make my TeX install relocatable and I had
to make it relocatable to enable the option that people who do not have
sysadmin privileges can install the TeX i-Package in their home directory
and still work with it.

In short: everything in TeX is relocatable at run time except the location
of texmf.cnf.

G

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

* Re: new release (Modified by Gerben Wierda)
  2006-05-11 12:21   ` Gerben Wierda
@ 2006-05-11 15:16     ` Hans Hagen
  2006-05-11 20:22       ` Gerben Wierda
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2006-05-11 15:16 UTC (permalink / raw)


Gerben Wierda wrote:
>> btw, doesn't gwtex set the TEXMFCNF env variable?
>>     
>
> It does not get a useful value.
>
> TEXMFCNF is defined at compile-time and its setting in a texmf.cnf file is
> ignored for obvious reasons. The compiled-in version shows my compile
> environment which differs from the install environment on people's system.
>
> Try
>     kpsewhich -expand-var=\$TEXMFCNF
> in a Terminal window.
>
> I had to do this if I wanted to make my TeX install relocatable and I had
> to make it relocatable to enable the option that people who do not have
> sysadmin privileges can install the TeX i-Package in their home directory
> and still work with it.
>
> In short: everything in TeX is relocatable at run time except the location
> of texmf.cnf.
>   
but how then does it locate texmf.cnf, relative to the bin path of kpsewhich? 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: new release (Modified by Gerben Wierda)
  2006-05-11 15:16     ` Hans Hagen
@ 2006-05-11 20:22       ` Gerben Wierda
  0 siblings, 0 replies; 5+ messages in thread
From: Gerben Wierda @ 2006-05-11 20:22 UTC (permalink / raw)


On May 11, 2006, at 17:16, Hans Hagen wrote:

> Gerben Wierda wrote:
>>> btw, doesn't gwtex set the TEXMFCNF env variable?
>>>
>>
>> It does not get a useful value.
>>
>> TEXMFCNF is defined at compile-time and its setting in a texmf.cnf 
>> file is
>> ignored for obvious reasons. The compiled-in version shows my compile
>> environment which differs from the install environment on people's 
>> system.
>>
>> Try
>>     kpsewhich -expand-var=\$TEXMFCNF
>> in a Terminal window.
>>
>> I had to do this if I wanted to make my TeX install relocatable and I 
>> had
>> to make it relocatable to enable the option that people who do not 
>> have
>> sysadmin privileges can install the TeX i-Package in their home 
>> directory
>> and still work with it.
>>
>> In short: everything in TeX is relocatable at run time except the 
>> location
>> of texmf.cnf.
>>
> but how then does it locate texmf.cnf, relative to the bin path of 
> kpsewhich?

The first texmnf.cnf it tries is indeed located that way: 
../../texmf.cnf

This is the only reason my precompiled TeX distro is relocatable.

G

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

end of thread, other threads:[~2006-05-11 20:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-11  4:44 new release (Modified by Gerben Wierda) Gerben Wierda
2006-05-11  8:17 ` Hans Hagen
2006-05-11 12:21   ` Gerben Wierda
2006-05-11 15:16     ` Hans Hagen
2006-05-11 20:22       ` Gerben Wierda

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