aldoc
pub fn save_as_pdf<T>(document: &Document, out: T) -> Result<(), PdfError> where T: Into<PathBuf>,
Saves a document as a PDF with LatexMk.