@@ -409,8 +409,6 @@ blockToLaTeX (Para [Image attr@(ident, _, _) txt (src,'f':'i':'g':':':tit)]) = d
409409 capt <- inlineListToLaTeX txt
410410 notes <- gets stNotes
411411 modify $ \st -> st{ stInMinipage = False, stNotes = [] }
412− ref <- text `fmap` toLabel ident
413− internalLinks <- gets stInternalLinks
414412
415413 -- We can't have footnotes in the list of figures, so remove them:
416414 captForLof <- if null notes