public class PandocLatexToHtmlConverter extends Object implements LatexToHtmlConverter
Modifier and Type | Field and Description |
---|---|
private Path |
execPath |
private static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
PandocLatexToHtmlConverter() |
Modifier and Type | Method and Description |
---|---|
org.jdom2.Document |
convert(File tex,
String title)
Converts a LaTeX file to HTML
|
org.apache.commons.cli.Option |
getExecOption()
Gets the configuration for the CLI Option for the executable
|
void |
setExecPath(Path execPath)
Provides a setter method for the path to an executable
|
private static final org.apache.log4j.Logger logger
private Path execPath
public org.jdom2.Document convert(File tex, String title)
LatexToHtmlConverter
convert
in interface LatexToHtmlConverter
tex
- The LaTeX input filetitle
- The Document's title, for the HTML title tagpublic org.apache.commons.cli.Option getExecOption()
ExecOption
getExecOption
in interface ExecOption
public void setExecPath(Path execPath)
ExecOption
setExecPath
in interface ExecOption
execPath
- An absolute path for the executableCopyright © 2015 Vienna University of Technology. All rights reserved.