eBookTools - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Programming : eBookTools Package : eBookTools/SetOutputDir

eBookTools

 SetOutputDir
 set output directory

 Calling Sequence SetOutputDir(directory)

Parameters

 directory - path to a directory

Description

 • The SetOutputDir command sets the location in which to store the output files.

Examples

 > $\mathrm{with}\left(\mathrm{eBookTools}\right):$
 > $\mathrm{book}≔\mathrm{NewBook}\left("ProgrammingGuide","Maple Programming Guide","Maplesoft, a division of Waterloo Maple Inc.","2012"\right):$
 > $\mathrm{AddChapter}\left(\mathrm{book},1,"Chapter01.mw"\right):$

Set output folder to be eBook folder on your desktop:

 > $\mathrm{SetOutputDir}\left(\mathrm{cat}\left(\mathrm{kernelopts}\left(\mathrm{homedir}\right),\mathrm{kernelopts}\left(\mathrm{dirsep}\right),"Desktop",\mathrm{kernelopts}\left(\mathrm{dirsep}\right),"eBook"\right)\right)$
 ${"/home/maple/Desktop/eBook"}$ (1)
 > $\mathrm{CreatePDF}\left(\mathrm{book}\right)$

Compatibility

 • The eBookTools[SetOutputDir] command was introduced in Maple 16.
 • For more information on Maple 16 changes, see Updates in Maple 16.

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam