home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #3
/
amigamamagazinepolishissue1998.iso
/
bazy
/
fiasco_2.1
/
arexx
/
arexxprint.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-07-21
|
600b
|
30 lines
/* ARexxPrint.rexx
* Support script for the print function of Fiasco.
* This script is automatically called by Fiasco and
* is not allowed to call any Fiasco functions.
* Copyright © 1996 Nils Bandener
* $VER: ARexxPrint.rexx 4.3 (21.7.96)
*/
Parse Arg File
Address Command
File = strip(File,,'"')
/* Have to use full path because
* Fiasco has no paths when started
* from WB
*/
'tex:bin/virtex' '"' || File || '"'
dotpos = lastpos(".", File)
if dotpos ~= 0 then DVIFile = substr(File, 1, dotpos-1) || ".dvi"
else DVIFile = File || ".dvi"
'tex:bin/dviprint' '"' || DVIFile || '"'