TeXLive/Batch
From ScientificComputing
You can submit a TeXLive job for creating a PDF document from the input file test.tex in batch mode with the following command:
sbatch [Slurm options] --wrap="pdflatex test"
Here you need to replace [Slurm options] with Slurm parameters for the resource requirements of the job. Please find a documentation about the parameters of sbatch on the wiki page about the batch system.