| | private boolean mDebug; |
| | |
| | - |
| | @CommandLine.Option( |
| | names = {"-i", "--input"}, |
| | description = |
| | "Source document file path", |
| | paramLabel = "PATH", |
| | defaultValue = "stdin", |
| | required = true |
| | ) |
| | private Path mSourcePath; |
| | + |
| | + @CommandLine.Option( |
| | + names = {"--font-dir"}, |
| | + description = |
| | + "Directory to specify additional fonts", |
| | + paramLabel = "String" |
| | + ) |
| | + private File mFontDir; |
| | |
| | @CommandLine.Option( |
| | names = {"--format-subtype"}, |
| | description = |
| | "Export TeX subtype for HTML formats: svg, delimited", |
| | - defaultValue = "svg", |
| | - paramLabel = "String" |
| | + paramLabel = "String", |
| | + defaultValue = "svg" |
| | ) |
| | private String mFormatSubtype; |
 |
| | .with( Mutator::setImageServer, () -> mImageServer ) |
| | .with( Mutator::setImageOrder, () -> mImageOrder ) |
| | + .with( Mutator::setFontsPath, () -> mFontDir ) |
| | .with( Mutator::setExportFormat, format ) |
| | .with( Mutator::setDefinitions, () -> definitions ) |