Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4816
| From | Murta <rodrigomurtax@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How to generate report with Mathematica script from command line (no front end) |
| Date | 2011-09-07 09:48 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j47eks$l5s$1@smc.vnet.net> (permalink) |
Hi James I have the same problem. By what I know, it's not possible to generate pdf using the kernel without front end... Let me know if you get it! Tks Murta On Sep 6, 5:05 am, james rund <janju...@googlemail.com> wrote: > Hi, > first of all: am overwhelmed by the loads of useful tricks on this mailing list! > > Now, my current problem is the following, perhaps you can help: > I want to use Mathematica to make pretty reports of our data analysis. > I have a mathematica notebook that will load data from a specified file and generate a PDF and CDF accordingly. > Now I want to turn this into a command line script to do the same job, where the input parameter is the filename of the file that contains the data. > > However, the script does not to anything sensible. It does not write the PDF and CDF files. > I use CreateDocument and NotebookSave for that in the notebook version of the script. > > What could be going wrong? > Do I need to have an open front end all the time? > if yes -> how to I load something via a shell command to the front end? > > The only solution I came up with so far is pretty bad: > Have a loop in a front end notebook running ALL THE TIME which checks for a specific file. If the file exists it will generate a report accordingly. > > However, this is an embarrassing solution.....don't judge me on that.... ;-)) > > Please tell me a better trick if you know one. > > Many thanks, > > james
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Re: How to generate report with Mathematica script from command line (no front end) Murta <rodrigomurtax@gmail.com> - 2011-09-07 09:48 +0000 Re: How to generate report with Mathematica script from command line Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-09-09 08:06 +0000
csiph-web