CreateMW - Maple Help

Online Help

All Products    Maple    MapleSim


eBookTools

  

CreateMW

  

convert Maple worksheets to MW book

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

CreateMW(book, settings)

Parameters

book

-

book object created using NewBook

settings

-

(optional) settings table; see Settings

Description

• 

The CreateMW command performs transformation of Maple worksheets, where the output worksheets are formatted similar to the HTML output from DocBook.

• 

The output worksheets are stored in a default location (see eBookTools[GetDefaultOutputDir]) or in a location that you can specify (see eBookTools[SetOutputDir).

Examples

witheBookTools:

book_nameeBookSample:

bookNewBookbook_name,eBook Sample Book,Maplesoft, a division of Waterloo Maple Inc.,2012:

AddChapterbook,preface,catkerneloptsdatadir,/eBookTools/Preface.mw:

AddChapterbook,1,catkerneloptsdatadir,/eBookTools/GettingStartedWithMaple.mw:

CreateMWbook

Store generated worksheets in a help database:

settingstablempl.mw.hyperlink=help:

CreateMWbook,settings

mw_dirFileTools:-JoinPathGetDefaultOutputDir,mw,book_name:

hdbFileTools:-JoinPathmaple,toolbox,18,eBookTools,lib,maple.help,base=homedir:

ifnotFileTools:-ExistshdbthenhdbHelpTools:-Database:-Createhdbendif:

filesHelpTools:-Worksheet:-Findmw_dir,language=en,product=User Help,category=eBook:

HelpTools:-Worksheet:-Storefiles,hdb:

formwinindicesfiles,nolistdotocRecordentry=book_name,topic=NULL,priority=filesmwpriority,language=filesmwlanguage,product=filesmwproduct,category=filesmwcategory,children=Recordentry=StringTools:-Splitfilesmwtopic,,2,topic=filesmwtopic,priority=filesmwpriority,language=filesmwlanguage,product=filesmwproduct,category=filesmwcategory,children=NULL;HelpTools:-TableOfContents:-Loadtoc,hdbenddo:

Compatibility

• 

The eBookTools[CreateMW] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

eBookTools

eBookTools/Settings

eBookTools[CreateHTML]

eBookTools[GetDefaultOutputDir]

eBookTools[NewBook]

eBookTools[SetOutputDir]