Parameters and Settings for eBookTools
Settings
DocBook Parameters
eBook Tools Setting
Examples
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.
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
insert.xref.page.number
yes
line-height
1.2
l10n.gentext.default.language
en
l10n.gentext.use.xref.language
l10n.gentext.language
marker.section.level
paper.type
B5
page.height
9.25in
page.height.portrait
page.width
7in
page.width.portrait
section.autolabel
section.autolabel.max.depth
section.label.includes.component.label
toc.indent.width
12
toc.section.depth
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/
Type
Default value
Description
mpl.create_index
boolean
true
generate index
mpl.docbook.language
string
language of document being processed
mpl.error.color
purple
color of Maple errors
mpl.images.dpi
integer
1200
resolution of generated images (2-D Math and plots)
mpl.images.line_breaking_width
600
maximum width of 2-D Math image in pixels
mpl.max_table_size
maximum table width in pixels
mpl.output.color
blue
color of Maple output
mpl.mw.hyperlink
file
type of cross chapter hyperlinks in MW output. file - hyperlink to a worksheet, help - hyperlink to a help page
mpl.pdf.generator
fop
tool used for FO to PDF processing, currently only fop and xep are supported
mpl.text.color
#78000E
color used for Maple input
mpl.warning.color
color used for Maple warning messages
mpl.mw.active
value for the Active attribute in Document Properties for generated MW file
mpl.mw.collapse_sections
false
collapse all but two first sections
mpl.save.html
save XML document generated by DocBook to HTML process, to be used with non-chunking stylesheets
mpl.html.css
""
file name of CSS stylesheet to be used by generated HTML
mpl.html.style
CSS style definition to be embedded into the generated HTML
with⁡eBookTools:
book≔NewBook⁡eBookSample,eBook Sample Book,Maplesoft, a division of Waterloo Maple Inc.,2012:
AddChapter⁡book,legal,cat⁡kernelopts⁡datadir,/eBookTools/Legal.mw:
AddChapter⁡book,preface,cat⁡kernelopts⁡datadir,/eBookTools/Preface.mw:
AddChapter⁡book,1,cat⁡kernelopts⁡datadir,/eBookTools/GettingStartedWithMaple.mw:
Use custom css file
settings≔table⁡mpl.html.css=style/custom.css
CreateHTML⁡book,settings
See Also
CreateEPUB
CreateHTML
CreateMW
CreatePDF
eBookTools
Download Help Document