eBookTools

 add a chapter to the book

Parameters

 book - book created using NewBook command chapterName - name of the chapter chapterFile - file name of Maple worksheet

Description

 • The AddChapter command adds a chapter to the book. The chapter name can be legal, preface, appendix, glossary, or a positive integer.
 • A book can contain multiple appendices.  Appendix chapters will appear in the output in the same order as they were added to the book.
 • Other than appendices, a book cannot contain two chapters with the same chapterName.

Examples

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

Compatibility

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