SetOutputDir - Maple Help

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{FileTools}:-\mathrm{JoinPath}\left(\left["Desktop","eBook"\right],\mathrm{base}=\mathrm{homedir}\right)\right)$
 ${"/home/maple/Desktop/eBook"}$ (1)
 > $\mathrm{CreatePDF}\left(\mathrm{book}\right)$

Compatibility

 • The eBookTools[SetOutputDir] command was introduced in Maple 16.