The path to pandoc is read from OpenOfficePreferences and can be changed by the user
in Preferences > OpenOffice/LibreOffice. Use autoDetect to find pandoc automatically.
| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| private static final Logger | |
| private static final List | |
| private static final String | |
| private final String | |
| private static final List | WINDOWS_CANDIDATES
Candidate commands tried by |
| private static final List | WINDOWS_INSTALL_DIRECTORY_HINTS
Additional Windows install-directory hints resolved at runtime to absolute paths such as
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Optional | autoDetect()
Returns the first pandoc executable found in the OS-specific candidate list,
or |
| pack-priv static List | |
| public boolean | |
| public String | |
| private static boolean |
| LINUX_CANDIDATES | back to summary |
|---|---|
| private static final List<String> LINUX_CANDIDATES | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MACOS_CANDIDATES | back to summary |
|---|---|
| private static final List<String> MACOS_CANDIDATES | |
| PANDOC_EXECUTABLE | back to summary |
|---|---|
| private static final String PANDOC_EXECUTABLE | |
| pandocPath | back to summary |
|---|---|
| private final String pandocPath | |
| WINDOWS_CANDIDATES | back to summary |
|---|---|
| private static final List<String> WINDOWS_CANDIDATES Candidate commands tried by | |
| WINDOWS_INSTALL_DIRECTORY_HINTS | back to summary |
|---|---|
| private static final List<String> WINDOWS_INSTALL_DIRECTORY_HINTS Additional Windows install-directory hints resolved at runtime to absolute paths such as
| |
| PandocLatexConverter | back to summary |
|---|---|
| public PandocLatexConverter(String pandocPath) | |
| autoDetect | back to summary |
|---|---|
| public static Optional Returns the first pandoc executable found in the OS-specific candidate list,
or | |
| getAutoDetectCandidates | back to summary |
|---|---|
pack-priv static List
| |
| isAvailable | back to summary |
|---|---|
| public boolean isAvailable() | |
| latexToHtml | back to summary |
|---|---|
| public String latexToHtml(String latex) throws IOException, InterruptedException Converts a LaTeX fragment to HTML via pandoc stdin/stdout (no temp files).
Both stdout and stderr are drained to prevent pipe-buffer deadlock.
Throws | |
| probeCandidate | back to summary |
|---|---|
| private static boolean probeCandidate(String candidate) | |