* texexec & teTeX
@ 2002-05-26 21:10 Idris S Hamid
2002-05-27 7:33 ` Siep
2002-05-27 11:43 ` Bill McClain
0 siblings, 2 replies; 7+ messages in thread
From: Idris S Hamid @ 2002-05-26 21:10 UTC (permalink / raw)
Dear folks,
I'm in the process of migrating to Linux (Suse 8.0) and I'm having some
problems getting texexec to behave:-)
Updating to the latest official ConTeXt I place the appropriate perl scripts
in
/usr/TeX/bin/i386-linux
eliminating the .pl extension as suggested in minstall. This is what happens:
# texexec --make
`texexec.pl' not found.
I was able to use
texconfig --init
to get the default ConTeXt formats generated, but, as embarrassed as I am to
say it, I don't know how to translate
texexec --make --alone --tex=omega en
to initex syntax (even if I get texexec working I'd like to know this as
well).
Any other tips on ConTeXt-teTeX welcome:-)
Thnx in advance
--
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80526
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: texexec & teTeX
2002-05-26 21:10 texexec & teTeX Idris S Hamid
@ 2002-05-27 7:33 ` Siep
2002-05-27 13:00 ` Idris S Hamid
2002-05-27 11:43 ` Bill McClain
1 sibling, 1 reply; 7+ messages in thread
From: Siep @ 2002-05-27 7:33 UTC (permalink / raw)
On Sun, 26 May 2002 15:10:36 -0600
"Idris S Hamid" <ishamid@attbi.com> wrote:
> Dear folks,
>
> I'm in the process of migrating to Linux (Suse 8.0) and I'm having
> some problems getting texexec to behave:-)
>
> Updating to the latest official ConTeXt I place the appropriate
> perl scripts in
> /usr/TeX/bin/i386-linux
> eliminating the .pl extension as suggested in minstall. This is
> what happens:
>
> # texexec --make
> `texexec.pl' not found.
In later versions of teTeX, texexec is a little script that tries to
find and run the real texexec.pl in the texmf/context/perltk
directory:
#!/bin/sh
what=`echo $0 | sed 's@.*/@@'`
p=`kpsewhich -progname=context -format='other text files' $what.pl`
{ test -n "$p" && test -f "$p"; } \
|| { echo "\`$what.pl' not found."; exit 1; }
perl "$p" "$@"
If your version of teTeX works this way, then you should leave the
perl scripts where they are, under their original name, and you
should also leave the teTeX version of texexec and the various
symlinks to it alone.
Siep
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: texexec & teTeX
2002-05-27 7:33 ` Siep
@ 2002-05-27 13:00 ` Idris S Hamid
0 siblings, 0 replies; 7+ messages in thread
From: Idris S Hamid @ 2002-05-27 13:00 UTC (permalink / raw)
Thank you both for your help. I'm halfway there now but no cigar yet:-)
On Monday 27 May 2002 01:33, Siep wrote:
> In later versions of teTeX, texexec is a little script that tries to
> find and run the real texexec.pl in the texmf/context/perltk
> directory:
>
> #!/bin/sh
> what=`echo $0 | sed 's@.*/@@'`
> p=`kpsewhich -progname=context -format='other text files' $what.pl`
> { test -n "$p" && test -f "$p"; } \
>
> || { echo "\`$what.pl' not found."; exit 1; }
>
> perl "$p" "$@"
I restored it, but I did not find any lines like this in the original
/usr/TeX/bin/i386-linux/texexec. I'm using TeXLive6.
On Monday 27 May 2002 00:24, Michael Hallgren wrote:
> Isn't it that the #! line (path to perl) in your script needs to be
> adjusted?
> ('which' to find perl on your system, then edit the first line of
> texexec.pl.)
Note that both the new texexec and the one from TL6 contain the same initial
entry:
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0
$argv:q'
if 0;
:<snip>
#D We started with a hack provided by Thomas Esser. This
#D expression replaces the unix specific line \type
#D {#!/usr/bin/perl}.
In any case, backing up to the old TL6 version (texexec 2.5) works. My
question now:
How do I safely update to the latest texexec 2.8? I dumped cont-tmf into
/texmf so context/perltk has the new files with the pl extension. I have 2
copies of the original texexec 2.5: one in bin/i386-linux and one in
context/perltk. I'm thoroughly confused about what to do, and I DON'T want to
depend on an old texexec that may cause me other problems with the newer
files.
Best wishes
Idris
--
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80526
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: texexec & teTeX
2002-05-26 21:10 texexec & teTeX Idris S Hamid
2002-05-27 7:33 ` Siep
@ 2002-05-27 11:43 ` Bill McClain
2002-05-27 13:17 ` Idris S Hamid
1 sibling, 1 reply; 7+ messages in thread
From: Bill McClain @ 2002-05-27 11:43 UTC (permalink / raw)
Cc: ntg-context
On Sun, 26 May 2002 15:10:36 -0600
Idris S Hamid <ishamid@attbi.com> wrote:
> I'm in the process of migrating to Linux (Suse 8.0) and I'm having
> some problems getting texexec to behave:-)
>
> Updating to the latest official ConTeXt I place the appropriate perl
> scripts in
> /usr/TeX/bin/i386-linux
I'm using SuSE 7.2. What does "which texexec" show? On my system:
/usr/bin/texexec
which is a symbolic link to:
/usr/share/texmf/teTeX/bin/i386-linux-glibc/texexec
As part of my ConTeXt upgrade procedure I do:
cp context/perltk/texexec.pl \
/usr/share/texmf/teTeX/bin/i386-linux-glibc/texexec
Same for texutil.pl and texshow.pl. Alternatively, one could adjust the
symbolic links, but I suspect SuSE upgrades will reset them.
-Bill
--
Sattre Press The King in Yellow
http://sattre-press.com/ by Robert W. Chambers
info@sattre-press.com http://kiy.sattre-press.com/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: texexec & teTeX
2002-05-27 11:43 ` Bill McClain
@ 2002-05-27 13:17 ` Idris S Hamid
[not found] ` <20020527091854.4ba41f93.wmcclain@salamander.com>
0 siblings, 1 reply; 7+ messages in thread
From: Idris S Hamid @ 2002-05-27 13:17 UTC (permalink / raw)
Cc: ntg-context
Thank you, Bill. Still not there yet, though:-)
> I'm using SuSE 7.2. What does "which texexec" show? On my system:
>
> /usr/bin/texexec
>
> which is a symbolic link to:
>
> /usr/share/texmf/teTeX/bin/i386-linux-glibc/texexec
I get
:~> which texexec
/usr/TeX/bin/i386-linux/texexec
and my bin path for TeX is
/usr/TeX/bin/i386-linux
It may be that TeXLive and Suse install TeX differently and the teTeX rpm
package for Suse8.0 may do things the same way as you have it.
> As part of my ConTeXt upgrade procedure I do:
>
> cp context/perltk/texexec.pl \
> /usr/share/texmf/teTeX/bin/i386-linux-glibc/texexec
This is analogous to what I did but without changing the extension it seems
that texexec gets ignored. If I remove the pl that's when I get the error
message. Backing up to the old /usr/TeX/bin/i386-linux/texexec works, though.
This is frustrating; something so simple...
Best wishes
Idris
--
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80526
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-05-27 18:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-26 21:10 texexec & teTeX Idris S Hamid
2002-05-27 7:33 ` Siep
2002-05-27 13:00 ` Idris S Hamid
2002-05-27 11:43 ` Bill McClain
2002-05-27 13:17 ` Idris S Hamid
[not found] ` <20020527091854.4ba41f93.wmcclain@salamander.com>
2002-05-27 15:20 ` Idris S Hamid
[not found] ` <x5d6vhk353.fsf@tupik.goethe.zz>
2002-05-27 18:42 ` Idris S Hamid
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).