I am on Linux and would like to convert a bunch of Mathematica 8 Notebooks to PDF.
Is there some way to convert them on the command line? I'd like to write a makefile rule for the conversion, so that I can batch convert many of them.
|
I am on Linux and would like to convert a bunch of Mathematica 8 Notebooks to PDF. Is there some way to convert them on the command line? I'd like to write a makefile rule for the conversion, so that I can batch convert many of them.
| |||
|
feedback
|
|
Basically, there is no way to convert Mathematica notebooks into PDFs without invoking the frontend. To print or convert it, you first need to open it and a naive attempt to open a notebook from the Mathematica command line yields the error FrontEndObject::notavail
This means that you could either make a notebook to do the conversion or call the frontend from the command line. Here's a solution in the form of a Mathematica script - it can easily be turned into a Notebook or package file. Save the following code as
| |||||||||||
feedback
|