aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorMax Bolingbroke <batterseapower@hotmail.com>2010-04-04 16:36:37 +0800
committerjgm <jgm@berkeley.edu>2010-04-10 12:01:35 +0800
commite365c5950b1b6ee85123d4b376025a6bb0697f7d (patch)
tree4d0b653df30e29fdbc91974f8ee6af16117dc1c3 /src/Text/Pandoc
parent15c3297ba97aa5ea7fdb74479d345242ed418772 (diff)
downloadpandoc-e365c5950b1b6ee85123d4b376025a6bb0697f7d.tar.gz
Give LaTeX images a maximum width using the prelude only
Diffstat (limited to 'src/Text/Pandoc')
-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 8aa028bd7..720c00ac8 100644
--- a/src/Text/Pandoc/Writers/LaTeX.hs
+++ b/src/Text/Pandoc/Writers/LaTeX.hs
@@ -338,7 +338,7 @@ inlineToLaTeX (Link txt (src, _)) =
char '}'
inlineToLaTeX (Image _ (source, _)) = do
modify $ \s -> s{ stGraphics = True }
- return $ text $ "\\includegraphics{" ++ source ++ "}"
+ return $ text $ "\\includegraphics{" ++ source ++ "}"
inlineToLaTeX (Note contents) = do
st <- get
put (st {stInNote = True})