ENH: Add PDFLaTeX and LaTeX2HTML. Closes Bug #132 - Add pdflatex and html2latex to FindLATEX.cmake
This commit is contained in:
parent
ffaaedc7c6
commit
8cd7dcced7
@ -3,10 +3,12 @@
|
|||||||
# executables are. This code sets the following variables:
|
# executables are. This code sets the following variables:
|
||||||
#
|
#
|
||||||
# LATEX_COMPILER = the full path to the LaTeX compiler
|
# LATEX_COMPILER = the full path to the LaTeX compiler
|
||||||
|
# PDFLATEX_COMPILER = the full path to the PdfLaTeX compiler
|
||||||
# BIBTEX_COMPILER = the full path to the BibTeX compiler
|
# BIBTEX_COMPILER = the full path to the BibTeX compiler
|
||||||
# MAKEINDEX_COMPILER = the full path to the MakeIndex compiler
|
# MAKEINDEX_COMPILER = the full path to the MakeIndex compiler
|
||||||
# DVIPS_CONVERTER = the full path to the DVIPS converter
|
# DVIPS_CONVERTER = the full path to the DVIPS converter
|
||||||
# PS2PDF_CONVERTER = the full path to the PS2PDF converter
|
# PS2PDF_CONVERTER = the full path to the PS2PDF converter
|
||||||
|
# LATEX2HTML_CONVERTER = the full path to the LaTeX2Html converter
|
||||||
#
|
#
|
||||||
|
|
||||||
IF (WIN32)
|
IF (WIN32)
|
||||||
@ -51,6 +53,12 @@ FIND_PROGRAM(LATEX_COMPILER
|
|||||||
/usr/bin
|
/usr/bin
|
||||||
)
|
)
|
||||||
|
|
||||||
|
FIND_PROGRAM(PDFLATEX_COMPILER
|
||||||
|
NAMES pdflatex
|
||||||
|
PATHS ${MIKTEX_BINARY_PATH}
|
||||||
|
/usr/bin
|
||||||
|
)
|
||||||
|
|
||||||
FIND_PROGRAM(BIBTEX_COMPILER
|
FIND_PROGRAM(BIBTEX_COMPILER
|
||||||
NAMES bibtex
|
NAMES bibtex
|
||||||
PATHS ${MIKTEX_BINARY_PATH}
|
PATHS ${MIKTEX_BINARY_PATH}
|
||||||
@ -86,10 +94,19 @@ ELSE (WIN32)
|
|||||||
)
|
)
|
||||||
ENDIF (WIN32)
|
ENDIF (WIN32)
|
||||||
|
|
||||||
|
FIND_PROGRAM(LATEX2HTML_CONVERTER
|
||||||
|
NAMES latex2html
|
||||||
|
PATHS ${MIKTEX_BINARY_PATH}
|
||||||
|
/usr/bin
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
MARK_AS_ADVANCED(
|
MARK_AS_ADVANCED(
|
||||||
LATEX_COMPILER
|
LATEX_COMPILER
|
||||||
|
PDFLATEX_COMPILER
|
||||||
BIBTEX_COMPILER
|
BIBTEX_COMPILER
|
||||||
MAKEINDEX_COMPILER
|
MAKEINDEX_COMPILER
|
||||||
DVIPS_CONVERTER
|
DVIPS_CONVERTER
|
||||||
PS2PDF_CONVERTER
|
PS2PDF_CONVERTER
|
||||||
|
LATEX2HTML_CONVERTER
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user