eBook Publisher - Maple Help

Home : Support : Online Help : System : Information : Updates : Maple 16 : eBook Publisher

eBook Publisher in Maple 16 - Technology Preview



Maple 16 provides functionality to create eBooks in various formats (PDF, HTML, ePub, Maple Worksheets or Help database) from a collection of Maple worksheets using the new eBookTools package. The Maple User Manual, Maple Programming Guide and MapleSim User's Guide are created using this new functionality.

To help you get started with eBookTools, a sample set of worksheets, complete with metadata markup, is provided in the data/eBookTools folder of your Maple installation:

Creating eBooks using eBook Publisher Assistant

 1 From the Tools menu, select Assistants > eBook Publisher...
 2 Add the three files from data/eBookTools folder to the project.
 3 Set the book title to "eBook Sample Book".
 4 Set the book name to "eBookSample"
 5 Specify an output folder.
 6 Optionally, specify other settings.
 7 Specify the format(s) to build.
 8 Click Build.

The progress bar and log display the progress of the build.  When the build is complete, the resulting book is saved to the output folder.

 Creating eBooks using eBookTools Package $\mathrm{with}\left(\mathrm{eBookTools}\right):$ $\mathrm{book}:=\mathrm{NewBook}\left("eBookSample","eBook Sample Book","Maplesoft, a division of Waterloo Maple Inc.","2012"\right):$ $\mathrm{AddChapter}\left(\mathrm{book},"legal",\mathrm{cat}\left(\mathrm{kernelopts}\left('\mathrm{datadir}'\right),"/eBookTools/Legal.mw"\right)\right):$ $\mathrm{AddChapter}\left(\mathrm{book},"preface",\mathrm{cat}\left(\mathrm{kernelopts}\left('\mathrm{datadir}'\right),"/eBookTools/Preface.mw"\right)\right):$ $\mathrm{AddChapter}\left(\mathrm{book},1,\mathrm{cat}\left(\mathrm{kernelopts}\left('\mathrm{datadir}'\right),"/eBookTools/GettingStartedWithMaple.mw"\right)\right):$ $\mathrm{CreatePDF}\left(\mathrm{book}\right)$