summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}'
);
}