ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* A small bug in context/tex/setuptex
@ 2008-08-26 21:27 Vasile Gaburici
  2008-08-26 21:31 ` Vasile Gaburici
  0 siblings, 1 reply; 3+ messages in thread
From: Vasile Gaburici @ 2008-08-26 21:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

OWNPATH does not work properly because $0 does not do what you think
when a file is sourced. See:
http://www.cygwin.com/ml/cygwin/1999-02/msg00687.html
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: A small bug in context/tex/setuptex
  2008-08-26 21:27 A small bug in context/tex/setuptex Vasile Gaburici
@ 2008-08-26 21:31 ` Vasile Gaburici
  2008-08-27 15:01   ` Mojca Miklavec
  0 siblings, 1 reply; 3+ messages in thread
From: Vasile Gaburici @ 2008-08-26 21:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

You need to use $BASH_SOURCE instead.

On Wed, Aug 27, 2008 at 12:27 AM, Vasile Gaburici <vgaburici@gmail.com> wrote:
> OWNPATH does not work properly because $0 does not do what you think
> when a file is sourced. See:
> http://www.cygwin.com/ml/cygwin/1999-02/msg00687.html
>
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: A small bug in context/tex/setuptex
  2008-08-26 21:31 ` Vasile Gaburici
@ 2008-08-27 15:01   ` Mojca Miklavec
  0 siblings, 0 replies; 3+ messages in thread
From: Mojca Miklavec @ 2008-08-27 15:01 UTC (permalink / raw)
  To: gaburici, mailing list for ConTeXt users

On Tue, Aug 26, 2008 at 11:31 PM, Vasile Gaburici <vgaburici@gmail.com> wrote:
> You need to use $BASH_SOURCE instead.

I have always been using
    source /path/to/tex/setuptex /path/to/tex

Thanks a lot for the pointer to solution. Arthur has just fixed it.
Please try if it works better now.

Mojca

> On Wed, Aug 27, 2008 at 12:27 AM, Vasile Gaburici <vgaburici@gmail.com> wrote:
>> OWNPATH does not work properly because $0 does not do what you think
>> when a file is sourced. See:
>> http://www.cygwin.com/ml/cygwin/1999-02/msg00687.html
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-08-27 15:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-26 21:27 A small bug in context/tex/setuptex Vasile Gaburici
2008-08-26 21:31 ` Vasile Gaburici
2008-08-27 15:01   ` 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).