* texexec in a shell script
@ 2005-04-18 22:28 Robert Ullrey
2005-04-19 7:39 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Robert Ullrey @ 2005-04-18 22:28 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 521 bytes --]
I know someone out there has the answer to this. If I run texexec
through a shell, even with the full path to texexec, I get an error,
"/usr/local/teTeX/bin/powerpc-apple-darwin-current/texexec: line 1:
sed: command not found
`.pl' not found."
Running Google with the error shows that it is quit common, but I could
not find a good fix. I guess kpsewhich gets lost in the shell because
the shell needs full paths the whole way through the command. Has
anyone written a shell to get texexec --pdf ?
Thanks
Robert
[-- Attachment #1.2: Type: text/enriched, Size: 618 bytes --]
I know someone out there has the answer to this. If I run texexec
through a shell, even with the full path to texexec, I get an error,
"<italic><x-tad-smaller>/usr/local/teTeX/bin/powerpc-apple-darwin-current/texexec:
line 1: sed: command not found
`.pl' not found."
</x-tad-smaller></italic>Running Google with the error shows that it
is quit common, but I could not find a good fix. I guess kpsewhich
gets lost in the shell because the shell needs full paths the whole
way through the command. Has anyone written a shell to get texexec
--pdf ?
Thanks
Robert
<italic><x-tad-smaller>
</x-tad-smaller></italic>
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: texexec in a shell script
2005-04-18 22:28 texexec in a shell script Robert Ullrey
@ 2005-04-19 7:39 ` Hans Hagen
2005-04-19 7:55 ` Taco Hoekwater
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2005-04-19 7:39 UTC (permalink / raw)
Robert Ullrey wrote:
> I know someone out there has the answer to this. If I run texexec
> through a shell, even with the full path to texexec, I get an error,
> "//usr/local/teTeX/bin/powerpc-apple-darwin-current/texexec: line 1:
> sed: command not found
> `.pl' not found."
you can use the call:
texmfstart texexec ...
alternative you can replace texexec in you bin path by:
#!/bin/sh
texmfstart texexec.pl $@
first of all, texmfstart only depends on ruby, and more important, it knows how
to locate things in the texmftree (the tds structure occasionally changes and
texmfstart can adapt to that)
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] 4+ messages in thread
* Re: texexec in a shell script
2005-04-19 7:39 ` Hans Hagen
@ 2005-04-19 7:55 ` Taco Hoekwater
2005-04-19 8:42 ` Adam Lindsay
0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2005-04-19 7:55 UTC (permalink / raw)
Hans Hagen wrote:
> Robert Ullrey wrote:
>
>> I know someone out there has the answer to this. If I run texexec
>> through a shell, even with the full path to texexec, I get an error,
>> "//usr/local/teTeX/bin/powerpc-apple-darwin-current/texexec: line 1:
>> sed: command not found
Some alternative solutions are also possible:
You could
- Install the (fairly standard unix tool) 'sed', that is obviously
missing from your darwin install
- Use 'perl /usr/local/teTeX/texmf/scripts/context/perl/texexec.pl'
(replace the path with whereever your context distribution lives)
- perhaps you should use gwTeX instead of teTeX (?)
Taco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: texexec in a shell script
2005-04-19 7:55 ` Taco Hoekwater
@ 2005-04-19 8:42 ` Adam Lindsay
0 siblings, 0 replies; 4+ messages in thread
From: Adam Lindsay @ 2005-04-19 8:42 UTC (permalink / raw)
Taco Hoekwater said this at Tue, 19 Apr 2005 09:55:20 +0200:
>Some alternative solutions are also possible:
>
>You could
>
> - Install the (fairly standard unix tool) 'sed', that is obviously
> missing from your darwin install
if /usr/bin/sed is missing, a lot else will be missing, too. I would
recommend going back to the install discs and making sure you have
installed the `BSD Layer' (or something similar) in the custom install step.
> - perhaps you should use gwTeX instead of teTeX (?)
Nah, it's gwTeX. Gerben just puts his distro into a directory called tetex.
cheers,
adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-04-19 8:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-18 22:28 texexec in a shell script Robert Ullrey
2005-04-19 7:39 ` Hans Hagen
2005-04-19 7:55 ` Taco Hoekwater
2005-04-19 8:42 ` Adam Lindsay
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).