diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-10-12 23:20:57 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-10-12 23:20:57 -0700 |
commit | d9db76dcf40d1930ad15317d76fd2c90d9114801 (patch) | |
tree | c3b4a313d9f9bc115dd9a22d5f86903bd144da35 /src/Text | |
parent | 2f32b5316fe2bde18835041f1d45fc363ddb93e4 (diff) | |
download | pandoc-d9db76dcf40d1930ad15317d76fd2c90d9114801.tar.gz |
LaTeX writer: fix horizontal rule.
We change to use 0.5pt rather than `\linethickness`, which
apparently only ever worked "by accident" and no longer works
with recent updates to texlive.
Closes #5801.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index e73819df0..94a551b03 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -745,7 +745,7 @@ blockToLaTeX (DefinitionList lst) = do "\\end{description}" blockToLaTeX HorizontalRule = return - "\\begin{center}\\rule{0.5\\linewidth}{\\linethickness}\\end{center}" + "\\begin{center}\\rule{0.5\\linewidth}{0.5pt}\\end{center}" blockToLaTeX (Header level (id',classes,_) lst) = do modify $ \s -> s{stInHeading = True} hdr <- sectionHeader classes id' level lst |