aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-09-28 11:17:48 +0200
committerGitHub <noreply@github.com>2016-09-28 11:17:48 +0200
commitc6d3eca44ebc652c7cd2e77930b70454bd7d72d8 (patch)
tree6a00502faa833f45c640da0dd54d939dbb7e8bfc /src/Text/Pandoc/Writers
parent14a26f99e82e70a54e6c0702cb6361bddba4fadd (diff)
parentdf33d1358768f6250ceed0cfb2b4e5d7e31f431c (diff)
downloadpandoc-c6d3eca44ebc652c7cd2e77930b70454bd7d72d8.tar.gz
Merge pull request #3093 from wilx/master-figure-placement
LaTeX: Do not set [htbp] figure placement options.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs
index 94f7effef..a88ff303f 100644
--- a/src/Text/Pandoc/Writers/LaTeX.hs
+++ b/src/Text/Pandoc/Writers/LaTeX.hs
@@ -423,7 +423,7 @@ blockToLaTeX (Para [Image attr@(ident, _, _) txt (src,'f':'i':'g':':':tit)]) = d
lab <- labelFor ident
let caption = "\\caption" <> captForLof <> braces capt <> lab
figure <- hypertarget ident (cr <>
- "\\begin{figure}[htbp]" $$ "\\centering" $$ img $$
+ "\\begin{figure}" $$ "\\centering" $$ img $$
caption $$ "\\end{figure}" <> cr)
return $ if inNote
-- can't have figures in notes