summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:13:56 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:13:56 +0000
commit3d8cccc7e373f9fd28e0276f7ac513cc089f1450 (patch)
tree3564eec05f36fa17d38756b4619d1fd7f7fcf1d3
parentcc8e3345d930999efbad99b146c2efcd19a55efa (diff)
Fixed spacing in latex, context templates.
Minor fixes in latex, context tests. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1707 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--templates/context.template5
-rw-r--r--templates/latex.template1
-rw-r--r--tests/writer.context3
-rw-r--r--tests/writer.latex1
4 files changed, 3 insertions, 7 deletions
diff --git a/templates/context.template b/templates/context.template
index f1e15eb95..835f7333f 100644
--- a/templates/context.template
+++ b/templates/context.template
@@ -71,7 +71,9 @@ after={\blank[medium]},
\protect
$endif$
+$if(header-includes)$
$header-includes$
+$endif$
$if(title)$
\doctitle{$title$}
@@ -84,12 +86,9 @@ $if(date)$
$endif$
\starttext
\maketitle
-
$if(toc)$
\placecontent
$endif$
$body$
-
\stoptext
-
diff --git a/templates/latex.template b/templates/latex.template
index 233d3d65b..bd31b5bb6 100644
--- a/templates/latex.template
+++ b/templates/latex.template
@@ -27,7 +27,6 @@ $endif$
\usepackage{url}
\usepackage{graphicx}
\VerbatimFootnotes % allows verbatim text in footnotes
-
$if(numbersections)$
$else$
\setcounter{secnumdepth}{0}
diff --git a/tests/writer.context b/tests/writer.context
index e04b42dc0..17466a752 100644
--- a/tests/writer.context
+++ b/tests/writer.context
@@ -67,10 +67,9 @@ after={\blank[medium]},
]
\protect
-
\doctitle{Pandoc Test Suite}
-\author{John MacFarlane \& Anonymous}
+\author{John MacFarlane\\Anonymous}
\date{July 17, 2006}
\starttext
\maketitle
diff --git a/tests/writer.latex b/tests/writer.latex
index 898396363..ce6014272 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -22,7 +22,6 @@
\usepackage[breaklinks=true]{hyperref}
\usepackage{url}
\usepackage{graphicx}
-
\VerbatimFootnotes % allows verbatim text in footnotes
\setcounter{secnumdepth}{0}