From 1ba604d48e847cbb7b9ba5a49ad96e09a0391458 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 27 Dec 2007 11:28:11 +0000 Subject: [PATCH] include version in scribble latex output svn: r8135 original commit: 5df53fbe7631a7f1a858c6aaa4352f9356757eb9 --- collects/scribble/latex-render.ss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/collects/scribble/latex-render.ss b/collects/scribble/latex-render.ss index 15a1d69a..7b829a5c 100644 --- a/collects/scribble/latex-render.ss +++ b/collects/scribble/latex-render.ss @@ -82,7 +82,10 @@ (when (part-title-content d) (printf "\\title{") (render-content (part-title-content d) d ri) - (printf "}\\maketitle\n")) + (printf "\\\\{\\normalsize Version ~a}}\\maketitle\n" + (or (and (versioned-part? d) + (versioned-part-version d)) + (version)))) (render-part d ri) (printf "\\end{document}\n"))