summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-12-26 07:19:28 +0100
committerJonas Smedegaard <dr@jones.dk>2014-12-26 07:19:28 +0100
commit1ef17724343133873010e34cd395f980d324bf8f (patch)
treeba4ae6024a7794557fb6c2ba7163faeba7ac5b1d
parent3aaf0d6b4344c8d57136c647678393f8f64a62ff (diff)
Fix clear page before ToC.
-rwxr-xr-xpandoc-memoir2
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc-memoir b/pandoc-memoir
index f0bb5a5..cce7c9d 100755
--- a/pandoc-memoir
+++ b/pandoc-memoir
@@ -50,6 +50,6 @@ sub toc {
return unless ( $self->name eq 'Header' and $self->level == 1
and stringify($self) =~ /^Table/ );
return RawBlock( 'latex',
- '{\\hypersetup{linkcolor=black}\\setcounter{tocdepth}{3}\\tableofcontents}'
+ '{\\hypersetup{linkcolor=black}\\setcounter{tocdepth}{3}\\clearpage\\tableofcontents}'
);
}