aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index aacb48bba..b76562f7b 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -383,10 +383,10 @@ $endif$
$endif$
\begin{document}
-$if(title)$
-$if(book-class)$
+$if(has-frontmatter)$
\frontmatter
$endif$
+$if(title)$
$if(beamer)$
\frame{\titlepage}
$else$
@@ -430,18 +430,18 @@ $endif$
$if(lof)$
\listoffigures
$endif$
-$if(book-class)$
+$if(has-frontmatter)$
\mainmatter
$endif$
$body$
-$if(book-class)$
+$if(has-frontmatter)$
\backmatter
$endif$
$if(natbib)$
$if(bibliography)$
$if(biblio-title)$
-$if(book-class)$
+$if(has-chapters)$
\renewcommand\bibname{$biblio-title$}
$else$
\renewcommand\refname{$biblio-title$}