SetPlaceholders - Maple Help

eBookTools

 SetPlaceholders
 set placeholders to be replaced

 Calling Sequence SetPlaceholders(book, placeholders)

Parameters

 book - book created using NewBook command placeholders - table of placeholder and value pairs

Description

 • The SetPlaceholders command sets the table containing placeholders and values. Values are only replaced in the worksheet that were added to the book after placeholders were set.

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):$

Replace "{Maple Version}" by "Maple 16":

 > $\mathrm{SetPlaceholders}\left(\mathrm{book},\mathrm{table}\left(\left["Maple Version"="Maple 16"\right]\right)\right):$
 > $\mathrm{AddChapter}\left(\mathrm{book},1,"Chapter01.mw"\right):$

Compatibility

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