eBookTools/Settings - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : eBookTools/Settings

Parameters and Settings for eBookTools

 

Settings

DocBook Parameters

eBook Tools Setting

Examples

Settings

• 

Settings are specified as Maple table using key-value pairs, where key is setting or parameter name and value the value. Parameters and values must be Maple strings or an expression which can be converted to string using convert,string.

DocBook Parameters

• 

The following DocBook parameters are set by default:

Name

Value

body.font.master

10

body.font.family

Times New Roman,serif

double.sided

1

draft.mode

no

footer.rule

0

generate.section.toc.level

2

header.column.widths

0 0 1

headers.on.blank.pages

1

insert.xref.page.number

yes

line-height

1.2

l10n.gentext.default.language

en

l10n.gentext.use.xref.language

1

l10n.gentext.language

en

marker.section.level

1

paper.type

B5

page.height

9.25in

page.height.portrait

9.25in

page.width

7in

page.width.portrait

7in

section.autolabel

1

section.autolabel.max.depth

1

section.label.includes.component.label

1

toc.indent.width

12

toc.section.depth

2

title.font.family

DejaVu Sans

title.margin.left

0pc

• 

For complete list of all available parameters refer to http://docbook.sourceforge.net/release/xsl/1.75.2/doc/

eBook Tools Setting

Name

Type

Default value

Description

mpl.create_index

boolean

true

generate index

mpl.docbook.language

string

en

language of document being processed

mpl.error.color

string

purple

color of Maple errors

mpl.images.dpi

integer

1200

resolution of generated images (2-D Math and plots)

mpl.images.line_breaking_width

integer

600

maximum width of 2-D Math image in pixels

mpl.max_table_size

integer

600

maximum table width in pixels

mpl.output.color

string

blue

color of Maple output

mpl.mw.hyperlink

string

file

type of cross chapter hyperlinks in MW output. file - hyperlink to a worksheet, help - hyperlink to a help page

mpl.pdf.generator

string

fop

tool used for FO to PDF processing, currently only fop and xep are supported

mpl.text.color

string

#78000E

color used for Maple input

mpl.warning.color

string

blue

color used for Maple warning messages

mpl.mw.active

boolean

true

value for the Active attribute in Document Properties for generated MW file

mpl.mw.collapse_sections

boolean

false

collapse all but two first sections

mpl.save.html

boolean

false

save XML document generated by DocBook to HTML process, to be used with non-chunking stylesheets

mpl.html.css

string

""

file name of CSS stylesheet to be used by generated HTML

mpl.html.style

string

0

CSS style definition to be embedded into the generated HTML

Examples

witheBookTools:

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

AddChapterbook,legal,catkerneloptsdatadir,/eBookTools/Legal.mw:

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

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

Use custom css file

settingstablempl.html.css=style/custom.css

CreateHTMLbook,settings

See Also

CreateEPUB

CreateHTML

CreateMW

CreatePDF

eBookTools