eBookTools - Maple Programming Help

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

eBookTools

 SetTempDir
 set temporary directory

 Calling Sequence SetOutputDir(directory)

Parameters

 directory - path to a directory

Description

 • The SetTempDir command sets the location in which to store temporary 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{SetTempDir}\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[SetTempDir] command was introduced in Maple 16.