From fc4ae15337ec461f2dbc0eed4701598e012a2151 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 15 Sep 2012 20:38:19 -0700 Subject: LaTeX writer: Don't use \endhead with longtable. It causes the heading to be a different size form the body, sometimes. --- src/Text/Pandoc/Writers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 902f2f47e..12ffecd98 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -381,7 +381,7 @@ blockToLaTeX (Table caption aligns widths heads rows) = do modify $ \s -> s{ stInTable = True, stTableNotes = [] } headers <- if all null heads then return empty - else ($$ "\\hline\\endhead\\noalign{\\medskip}") `fmap` + else ($$ "\\hline\\noalign{\\medskip}") `fmap` (tableRowToLaTeX True aligns widths) heads captionText <- inlineListToLaTeX caption let capt = if isEmpty captionText -- cgit v1.2.3