From 9742c486478e414b495670377923c44c840b9e01 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 25 Mar 2016 09:05:38 -0700 Subject: Removed two superfluous lines. --- src/Text/Pandoc/Writers/LaTeX.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Text/Pandoc/Writers') diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index dd5b14424..693de93fa 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -409,8 +409,6 @@ blockToLaTeX (Para [Image attr@(ident, _, _) txt (src,'f':'i':'g':':':tit)]) = d capt <- inlineListToLaTeX txt notes <- gets stNotes modify $ \st -> st{ stInMinipage = False, stNotes = [] } - ref <- text `fmap` toLabel ident - internalLinks <- gets stInternalLinks -- We can't have footnotes in the list of figures, so remove them: captForLof <- if null notes -- cgit v1.2.3