[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: system command
From: |
Jan-Mark Batke |
Subject: |
Re: system command |
Date: |
17 May 2001 13:28:05 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Capitol Reef) |
Hi Paul.
Paul Kienzle <address@hidden> writes:
> It works for me. Try the following:
>
> pkienzle:~/octave$ export JUNK=5
> pkienzle:~/octave$ octave
[...]
> systemoctave:1> system("echo $JUNK")
> 5
> ans = 0
> octave:2>
[...]
Yes, works here, too. Now, try the following:
,----[ testscript.sh ]
| #! /bin/bash
| latex testfile.tex
`----
and
,----[ testfile.tex ]
| \documentclass[10pt,draft]{article}
| \begin{document}
| I am a \LaTeX ed file.
| \end{document}
`----
This gives
,----
| octave:4> system('./testscript.sh')
| This is TeX, Version 3.14159 (Web2C 7.3.1)
| I can't find the format file `latex.fmt'!
| ans = 1
| octave:5>
`----
Maybe its not the environment but something else and more
teTeX-related. BTW I'm using Debian R2.1.
Jan-Mark
--
.- Dipl.-Ing. Jan-Mark Batke -- TU Berlin·Secretary FT 5-1 .
Phone: ++49 30 314-2 45 78 Fachgebiet Fernmeldetechnik
Fax: ++49 30 314-2 25 14 (Telecommunications Group)
http://www-ft.ee.tu-berlin.de/~batke ------.¸.·¸.·´¯`·.¸.·.
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
Re: fishy rank, Paul Kienzle, 2001/05/17