Generate PDFs from sourcefiles, inspired by LaTeX