Previous Topic

Next Topic

Book Contents

Book Index

Command Line Parameters (Windows)

EquationComposer -license <filename | license_key> -mathml <'MathML_string'> | -mathmlfile <filename> [options]

Parameters/Options

Parameter/Option

Description

Default value

-license <filename | license_key>

specifies the path and filename for the license file or a license key

required input

-mathml <'MathML_string'>

specifies the MathML string

required input (if mathmlfile is not supplied)

-mathmlfile <filename>

specifies the path and filename for the MathML file

required input (overrides -mathml)

-imagefolder <dirpath>

specifies the path to a directory that will contain the image files

none

-imagename <filename>

specifies the file name for the resulting image

img

-imagetype <gif | eps | png>

specifies the format for the image

gif

-noimage

supresses the generation of the image file if present

generate the image

-pointsize <double>

specifies the base font point size for the equation

12.0

-dpi <int>

specifies the resolution of the resulting image in dots per inch

96

-bg <CSS color name | transparent | #rrggbb>

specifies the background color for the equation

white

-fg <CSS color name | #rrggbb>

specifies the foreground color for the equation

black

-breakwidth <int>

specifies the width for line wrapping long equations - value should include valid MathML units.

1024px

-basefont <fontname>

specifies the font to use as the base font for alpha numeric characters

"Times New Roman"

-fontconfig <filename>

specifies the path and file name of a file that contains a list of font face names

none

-fontinfo <filename>

specifies the path and file name of a file that provides additional font information

none

-fontencodingsdir <dirpath>

specifies the path to a directory with font encoding files

<fontinfo directory>, if fontinfo is specified

-useantialias <true | false | automatic>

specifies whether to use antialiasing if possible, not to use it, or use it if heuristics thinks it helps

none

-scriptsatsameheight <true | false>

specifies if nested msup/msub etc. may have scripts at same height

false

-logfile <filename>

specifies the path and file name for a log file

none

-verbosity <mute | normal | debug>

specifies what processing messages should be displayed; mute - none; normal - any error messages and whether the image was generated successfully; debug - additional processing information

normal

-readoptions <filename>

specifies the path and file name of an XML file for reading in options values

none

-saveoptions <filename>

specifies the path and file name of an XML file for saving out options values

none

-speechstring [<filepath>]

generates a .txt file with the equation's speech string.

Use together with -noimage to only generate speech string files.

The optional <filepath> can be either

  • a full path to a directory (if no extension) or a file
  • a path relative to the <imagefolder> one, for a directory (if no extension) or a file

do not generate file. If speechstring is present and <filepath> is not specified, it defaults to imagefolder+imagename+".txt"

-speechrulesdir <dir>

specifies the location of the rules that specify how an expression is spoken

<version>\auxiliary\
SpeechRules

-speechlang <lang>

specifies the ISO 639-1 two-letter code for the language to be spoken (e.g., it for Italian, es for Spanish, zh for Chinese)

en

-speechstyle <style>

specifies a named speech style to use for speaking expressions in a given language

Simple Speech

-tts <ttsname>

specifies the text-to-speech (TTS) engine standard to use for speech controls.  This is useful if the text is meant to be spoken by a known voices and results in better quality speech (with pauses, pitch, and pronunciation changes). Legal values are "None", "SAPI4" (older voices), "SAPI5" (newer voices), "SSML" (very new voices)

None

-opdict <filename>

specifies the path and file name of the configurable operator dictionary. See Configuring the Operator Dictionary for more information.

None

Examples (Windows 32-bit)

EquationComposer32 -license "dessci.lic" -mathml "<math><mi>x</mi></math>"

EquationComposer32 -license "dessci.lic" -mathml "<math><mi>x</mi></math>" -noimage -speechstring

EquationComposer32 -license "dessci.lic" -mathml "<math><mi>x</mi></math>" -speechstring "eq_speech"

EquationComposer32 -license "<license key>" -mathml aFile.mml

EquationComposer32 -license "dessci.lic" –imgtype eps -mathml "<math><mi>x</mi></math>"

EquationComposer32 -license "dessci.lic" –imgtype gif -mathml "<math><mi>x</mi></math>"

EquationComposer32 -license "dessci.lic" –size 12 -mathml "<math><mi>x</mi></math>"

Previous Topic

Next Topic

Book Contents

Book Index


[Design Science Home]
Copyright © 1996-2016 Design Science, Inc. All rights reserved.