You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
591 B
24 lines
591 B
2 years ago
|
$ !!! VERIFY = F$VERIFY("NO")
|
||
|
$!
|
||
|
$! COMBINE creates a combined .TEX file with all the \include and \input files
|
||
|
$! in the file
|
||
|
$! P1 is the .TEX file name (no extension)
|
||
|
$! P8 is the directory
|
||
|
$!
|
||
|
$ IF P8 .NES. "" THEN SET DEFAULT 'P8'
|
||
|
$!
|
||
|
$ BASEFILE = P1
|
||
|
$ BASEFILE = BASEFILE - ".TEX"
|
||
|
$!
|
||
|
$ IF F$SEARCH("''BASEFILE'.TEX") .NES. "" THEN GOTO ENDIF_FILE_OK
|
||
|
$ WRITE SYS$OUTPUT BELL, "''BASEFILE'.TEX does not exist"
|
||
|
$ GOTO END
|
||
|
$ ENDIF_FILE_OK:
|
||
|
$!
|
||
|
$ ASSIGN/USER 'BASEFILE'.TEX INFILE
|
||
|
$ ASSIGN/USER 'BASEFILE'.TEX OUTFILE
|
||
|
$ RUN texexe:FORMTEX
|
||
|
$!
|
||
|
$ END:
|
||
|
$ !!! IF VERIFY THEN SET VERIFY
|