[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
publish()
From: |
Fotios Kasolis |
Subject: |
publish() |
Date: |
Thu, 24 Jun 2010 18:20:54 +0200 |
Is anybody interested?
## PUBLISH takes a script or function file executes it and creates
## a tex and a pdf document with the source code nicely formated ,
## execution results, and a (at most) figure.
##
## fileName : <string> : name of script or function file with
## or without extension.
## evalCode(true): <boolean> : execute and include results (or not).
## funcArgs("") : <string> : string that contains the arguments
## to be used in the form "arg1,arg2,
## arg3,..". If this is non-empty the
## given file is assumed to be func.
## imagFile("") : <string> : name of (strictly) pdf image with or
## without extension.
##
## Example 1: Script file without figure
## > publish(myscript)
##
## Example 2: Script file without execution results
## > publish(myscript,false)
##
## Example 3: Function file
## > publish(myfunc,true,"1,2,'test'");
##
## Example 4: Function file without execution results
## > publish(myfunc,false);
##
## Example 5: Script file with execution results and figure
## > publish(myscript,true,[],"figfile")
##
## WARNING! Line 150 remove files using SYSTEM()
/Fotios
- publish(),
Fotios Kasolis <=