Run latexmk
latexmk_system.Rdlatexmk needs to be in $PATH for this to work.
Usage
latexmk_system(
slide_file,
verbose = TRUE,
log_stdout = "",
log_stderr = "",
supervise = TRUE
)Arguments
- slide_file
[character(1)]Name of a (single) slide, with or without.texextension. See examples offind_slide_tex(). Can also be a direct file path to enable use of this function outside rigid folder hierarchy.- verbose
[TRUE]: Print output fromdocker/latexmkto console.- log_stdout, log_stderr
[""]: Path to write stdout/stderr log to. Discarded ifNULLor inherited from main R process if"".stderrcan be redirected tostdoutwith"2>&1".- supervise
[TRUE]: Passed toprocessx::process()'s$new().
Value
A processx::process() object.
Note
This utility is usually invoked by compile_slide().