Re: [NTG-context] error messages after installation

2004-11-23 Thread ab
Hans Hagen <[EMAIL PROTECTED]> writes:

[...]

> can't you update you rperl to 5.8+?

thanks, sorry for the trouble, I'll look into it
-- 

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-23 Thread Hans Hagen
ab wrote:
Taco Hoekwater <[EMAIL PROTECTED]> writes:

Hi,
How about:
mkdir ("$FormatPath") ;
(I cannot test, I do not have a perl that is sufficiently antique to
test this) 

Hi,
I modified texexec.pl per your suggestion and continue to get the same
error message:
Not enough arguments for mkdir at /usr/people/pm/bin/texexec line 2259,
near ""$FormatPath") "
[I'm not sure why the error message drops the opening parentheses, but
it is there in the file]
Thanks again for your help.
can't you update you rperl to 5.8+?
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-23 Thread ab
Taco Hoekwater <[EMAIL PROTECTED]> writes:

> Hi,
> 
> 
> How about:
> 
>   mkdir ("$FormatPath") ;
> 
> (I cannot test, I do not have a perl that is sufficiently antique to
> test this) 

Hi,

I modified texexec.pl per your suggestion and continue to get the same
error message:

Not enough arguments for mkdir at /usr/people/pm/bin/texexec line 2259,
near ""$FormatPath") "

[I'm not sure why the error message drops the opening parentheses, but
it is there in the file]

Thanks again for your help.

-- 

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-23 Thread Taco Hoekwater
Hi,
How about:
mkdir ("$FormatPath") ;
(I cannot test, I do not have a perl that is sufficiently antique to test this)
ab wrote:
and I still get the error:
[EMAIL PROTECTED] 62% texexec 041121_table.tex
Not enough arguments for mkdir at /usr/people/pm/bin/texexec line 2259,
near "$FormatPath ;"
Execution of /usr/people/pm/bin/texexec aborted due to compilation
errors.
Thank-you
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-22 Thread ab
Hans Hagen <[EMAIL PROTECTED]> writes:

[...]

> ah, thanks for looking into it, i changed the code to:
> 
>  if ($UseEnginePath && ($FormatPath ne '' && ($FormatPath !~
> /$EnginePath\/$/))) {
>  $FormatPath .= $EnginePath ;
>  unless (-d $FormatPath) {
>  mkdir $FormatPath ;
>  }
>  $FormatPath .= '/' ;
>  }

Hi,

I changed my texexec.pl to read 

if ($UseEnginePath && ($FormatPath ne '' && ($FormatPath !~
/$EnginePath\/$/))) {
$FormatPath .= $EnginePath ;
unless (-d $FormatPath) {
mkdir $FormatPath ;
}
$FormatPath .= '/';
}

return $FormatPath;
}

and I still get the error:

[EMAIL PROTECTED] 62% texexec 041121_table.tex
Not enough arguments for mkdir at /usr/people/pm/bin/texexec line 2259,
near "$FormatPath ;"
Execution of /usr/people/pm/bin/texexec aborted due to compilation
errors.

Thank-you
-- 

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-22 Thread Hans Hagen
Taco Hoekwater wrote:
I believe it is possible that this code

if ($UseEnginePath && ($FormatPath ne '' && ($FormatPath !~  
/$EnginePath\/$/))) {
$FormatPath .= $EnginePath . '/' ;
unless (-d $FormatPath) {
mkdir $FormatPath ;
}
}

breaks in perl versions < 5.8.0 because of the trailing slash in the mkdir call.
It would be great if someone could verify if
mkdir "test/" ;
actually fails in 5.004/5.005/5.6.x (perl58delta seems to hint at that).
If so, then probably changing the second line to read:
  $FormatPath .= $EnginePath ;
will fix the bug.
ah, thanks for looking into it, i changed the code to:
if ($UseEnginePath && ($FormatPath ne '' && ($FormatPath !~ 
/$EnginePath\/$/))) {
$FormatPath .= $EnginePath ;
unless (-d $FormatPath) {
mkdir $FormatPath ;
}
$FormatPath .= '/' ;
}

-
  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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-22 Thread ab
h h extern <[EMAIL PROTECTED]> writes:

> ab wrote:
> > Willi Egger <[EMAIL PROTECTED]> writes:
> >
> >>TEXEXEC is way too old. The current version is above 5!
> >>After updating your context it appears that it uses still a very
> >>outdated version of texexec. I advise you to update your tex-system
> >>from CTAN (http://www.tug.org/interest.html).
> > Hi, I am trying to keep my context up-to-date, and so I installed the
> > new cont-tmf in my ~/texmf directory, and I get the following:
> > % texexec 041120_testfile.tex
> > Not enough arguments for mkdir at /usr/people/pm/bin/texexec line 2259,
> > near "$FormatPath ;"
> > Execution of /usr/people/pm/bin/texexec aborted due to compilation
> > errors.
> 
> there should be something:
> 
>  if ($UseEnginePath && ($FormatPath ne '' && ($FormatPath !~
> /$EnginePath\/$/))) {
>  $FormatPath .= $EnginePath . '/' ;
>  unless (-d $FormatPath) {
>  mkdir $FormatPath ;
>  }
>  }

That is what I have, assuming whitespace, linebreaks and indentation
are unimportant (please forgive my ignorance).

Thank you for your help
-- 

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-22 Thread Taco Hoekwater

I believe it is possible that this code

>  if ($UseEnginePath && ($FormatPath ne '' && ($FormatPath !~  
> /$EnginePath\/$/))) {
>  $FormatPath .= $EnginePath . '/' ;
>  unless (-d $FormatPath) {
>  mkdir $FormatPath ;
>  }
>  }

breaks in perl versions < 5.8.0 because of the trailing slash in the mkdir call.
It would be great if someone could verify if

mkdir "test/" ;

actually fails in 5.004/5.005/5.6.x (perl58delta seems to hint at that).
If so, then probably changing the second line to read:

  $FormatPath .= $EnginePath ;

will fix the bug.

Greetings, Taco
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-22 Thread ab
Taco Hoekwater <[EMAIL PROTECTED]> writes:

> ab <[EMAIL PROTECTED]> wrote:
> 
> > % texexec 041120_testfile.tex
> > Not enough arguments for mkdir at /usr/people/pm/bin/texexec line 2259,
> > near "$FormatPath ;"
> 
> Can you given us the output perl -v ?

[EMAIL PROTECTED] 39% perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 5) configuration:
  Platform:
osname=irix, osvers=6.5, archname=irix-n32
uname='irix64 bitbucket 6.5-alpha-1287815120 12010410 ip27 '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=y useperlio=define d_sfio=undef
  Compiler:
cc='cc -n32 -mips3', optimize='-O3 -mips3', gccversion=
cppflags='-D_BSD_SIGNALS -D_BSD_TYPES -D_BSD_TIME
-OPT:Olimit=0:space=ON -DLANGUAGE_C -DEMBEDMYMALLOC'
ccflags ='-D_BSD_SIGNALS -D_BSD_TYPES -D_BSD_TIME -woff
1009,1110,1184 -OPT:Olimit=0:space=ON -DLANGUAGE_C -DEMBEDMYMALLOC'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=undef, doublesize=undef
alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
ld='cc -n32 -mips3', ldflags ='-n32'
libpth=/usr/lib32 /lib32
libs=-lm
libc=/usr/lib32/libc.so, so=so
useshrplib=true, libperl=libperl.so.5.4.5
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=''
cccdlflags='', lddlflags='-n32 -mips3 -shared'


Characteristics of this binary (from libperl): 
  Locally applied patches:
SUIDMAIL - fixes for suidperl security
  Built under irix
  Compiled at Oct 10 2002 02:13:52
  @INC:
/usr/share/lib/perl5/irix-n32/5.00405
/usr/share/lib/perl5
/usr/share/lib/perl5/site_perl/irix-n32
/usr/share/lib/perl5/site_perl
/usr/share/lib/perl5/sgi_perl
.


Thanks for your help.
-- 

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-22 Thread Taco Hoekwater

ab <[EMAIL PROTECTED]> wrote:

> % texexec 041120_testfile.tex
> Not enough arguments for mkdir at /usr/people/pm/bin/texexec line 2259,
> near "$FormatPath ;"

Can you given us the output perl -v ?

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-22 Thread h h extern
ab wrote:
Willi Egger <[EMAIL PROTECTED]> writes:

TEXEXEC is way too old. The current version is above 5!
After updating your context it appears that it uses still a very
outdated version of texexec. I advise you to update your tex-system
from CTAN (http://www.tug.org/interest.html).

Hi, I am trying to keep my context up-to-date, and so I installed the
new cont-tmf in my ~/texmf directory, and I get the following:
% texexec 041120_testfile.tex
Not enough arguments for mkdir at /usr/people/pm/bin/texexec line 2259,
near "$FormatPath ;"
Execution of /usr/people/pm/bin/texexec aborted due to compilation
errors.
there should be something:
if ($UseEnginePath && ($FormatPath ne '' && ($FormatPath !~ 
/$EnginePath\/$/))) {
$FormatPath .= $EnginePath . '/' ;
unless (-d $FormatPath) {
mkdir $FormatPath ;
}
}


-
  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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-21 Thread h h extern
Ciro A. Soto wrote:
I think TEXEXEC 3.1 is still the latest version. what are new are the 
you're kidding, i have:
>texexec
 TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004
--help   overview of all options and their values
--help all   all about all options
  --help short   just the main options
   --help mode ... pdf   all about a few options
--help '*.pdf'   all about options containing 'pdf'
more infohttp://www.pragma-ade.com/general/manuals/mtexexec.pdf
 http://www.ntg.nl/mailman/listinfo/ntg-context
total run time : 1 seconds
-
  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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-21 Thread ab
Willi Egger <[EMAIL PROTECTED]> writes:

> TEXEXEC is way too old. The current version is above 5!
> After updating your context it appears that it uses still a very
> outdated version of texexec. I advise you to update your tex-system
> from CTAN (http://www.tug.org/interest.html).

Hi, I am trying to keep my context up-to-date, and so I installed the
new cont-tmf in my ~/texmf directory, and I get the following:

% texexec 041120_testfile.tex
Not enough arguments for mkdir at /usr/people/pm/bin/texexec line 2259,
near "$FormatPath ;"
Execution of /usr/people/pm/bin/texexec aborted due to compilation
errors.

My previous context was from 2003-12-18 and my tex is tetex 2.0.2. This
is on Irix 6.5. 

I have no sense of what to do to fix this error, any advice will be
appreciated. 

rb
-- 

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-20 Thread Ciro A. Soto
I think TEXEXEC 3.1 is still the latest version. what are new are the context macros.
ciro Willi Egger <[EMAIL PROTECTED]> wrote:
Hi,The delivered TeX distributions with Linux are mostly way too old. If you look at the messages given by your texexec run you can see it already.TEXEXEC is way too old. The current version is above 5!After updating your context it appears that it uses still a very outdated version of texexec. I advise you to update your tex-system from CTAN (http://www.tug.org/interest.html).Willi>>texexec --pdf novel.tex> > > TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002> > executable : pdfetex> format : cont-en> inputfile : novel> output : pdftex> interface : en> current mode : none> TeX run : 1> > This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)> \write18 enabled.> (/usr/share/texmf/web2c/natural.tcx)> entering extended
 mode> (./novel.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}> > ConTeXt ver: 2004.11.06 fmt: 2004.11.19 int: english mes: english> > systems : pdfTeX version 110 -> please update> > systems : eTeX version 201 -> too old (bugs)> > ! Undefined control sequence.> \c!gebied> ={/home/ciro/}> \xprocesscommaitem #1,#2->\if ,#1> ,[EMAIL PROTECTED] \xprocesscommaitem \else \if [EMAIL PROTECTED]> > \xdogetparameters #1]->\xprocesscommaitem #1,]> ,[EMAIL PROTECTED]@> \dosetupsystem [#1]->\getparameters [\??sv ][#1]> \setuprandomize [\@@svrandom...> l.3 \setupsystem[\c!gebied={/home/ciro/}]> > ?> ! Emergency stop.> \c!gebied> ={/home/ciro/}==Ciro A. Soto"All problems are at the interface. Each one of them has a solution."___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-20 Thread Dirar BOUGATEF
Have a look at this (Well its about XP) .. But who knows, it could help :=)
http://archive.contextgarden.net/message/20041115.161341.884a23e7.html
In fact it is a kind of complete distribution that handles Context ..
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error messages after installation

2004-11-19 Thread Willi Egger
Hi,
The delivered TeX distributions with Linux are mostly way too old. If 
you look at the messages given by your texexec run you can see it already.
TEXEXEC is way too old. The current version is above 5!
After updating your context it appears that it uses still a very 
outdated version of texexec. I advise you to update your tex-system from 
CTAN (http://www.tug.org/interest.html).

Willi
texexec --pdf novel.tex

 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002
executable : pdfetex
format : cont-en
 inputfile : novel
output : pdftex
 interface : en
  current mode : none
   TeX run : 1
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
 \write18 enabled.
 (/usr/share/texmf/web2c/natural.tcx)
entering extended mode
(./novel.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
ConTeXt  ver: 2004.11.06  fmt: 2004.11.19  int: english  mes: english
systems: pdfTeX version 110 -> please update
systems: eTeX version 201 -> too old (bugs)

! Undefined control sequence.
 \c!gebied
 ={/home/ciro/}
\xprocesscommaitem #1,#2->\if ,#1
 ,[EMAIL PROTECTED] \xprocesscommaitem \else 
\if [EMAIL PROTECTED]
\xdogetparameters #1]->\xprocesscommaitem #1,]
  ,[EMAIL PROTECTED]@
\dosetupsystem [#1]->\getparameters [\??sv ][#1]
\setuprandomize [\@@svrandom...
l.3 \setupsystem[\c!gebied={/home/ciro/}]
?
! Emergency stop.
 \c!gebied
 ={/home/ciro/}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context