Feat: latexmk worker to compile tex
This commit is contained in:
12
bopytex/worker/compile.py
Normal file
12
bopytex/worker/compile.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def latexmk(args: dict, deps, output):
|
||||
compile_process = subprocess.Popen(
|
||||
["latexmk", deps[0]],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
universal_newlines=True
|
||||
)
|
||||
yield from compile_process.stderr
|
||||
|
Reference in New Issue
Block a user