Commits

Brian Mearns  committed 834be7d

Fixed issue #25, thetitle not defined.

  • Participants
  • Parent commits de203cd

Comments (0)

Files changed (1)

File src/tome/res/template.latex.tmpl

 {
-    syn tex
+    syn latex
 }
 \documentclass[10pt,letterpaper{$ DRAFT-PARAM}]\{book\}
 
     \normalsize\{#1\}\\
 \}
 \renewcommand\{\title\}[1]\{%
+    \gdef\@title\{#1\}%
     \Huge\{#1\}\\%
 \}
 
     \fancyhf\{\}
     \fancyhead[LE,LO]\{\thepage\}
     \fancyhead[RE,RO]\{\{\footnotesize \leftmark\}\}
-    \fancyfoot[LE,LO]\{\{\footnotesize ``\MakeUppercase\{\thetitle\}''\}\}
+    \fancyfoot[LE,LO]\{\{\footnotesize ``\MakeUppercase\{\@title\}''\}\}
     \fancyfoot[RE,RO]\{\thepage\}
     \renewcommand\{\footrulewidth\}\{0.1pt\}
     \renewcommand\{\headrulewidth\}\{0.1pt\}