Add latex command arguments
Is there a way to add an additional command line argument while executing latex?
I see LATEX_COMPILER_FLAGS variable, but I don't see a way to add an argument while calling add_latex_document() function.
For example I want to add --shell-escape:
set(LATEX_COMPILER_FLAGS "-interaction=batchmode -file-line-error --shell-escape"
CACHE STRING "Flags passed to latex.")