@@ -443,7 +443,7 @@ blockToLaTeX (DefinitionList lst) = do
443 incremental <- gets stIncremental
443 incremental <- gets stIncremental
444 let inc = if incremental then "[<+->]" else ""
444 let inc = if incremental then "[<+->]" else ""
445 items <- mapM defListItemToLaTeX lst
445 items <- mapM defListItemToLaTeX lst
446− let spacing = if and $ map isTightList (map snd lst)
446+ let spacing = if all isTightList (map snd lst)
447 then text "\\itemsep1pt\\parskip0pt\\parsep0pt"
447 then text "\\itemsep1pt\\parskip0pt\\parsep0pt"
448 else empty
448 else empty
449 return $ text ("\\begin{description}" ++ inc) $$ spacing $$ vcat items $$
449 return $ text ("\\begin{description}" ++ inc) $$ spacing $$ vcat items $$
@@ -764,9 +764,9 @@ citationsToNatbib cits
764 | noPrefix (tail cits) && noSuffix (init cits) && ismode NormalCitation cits
764 | noPrefix (tail cits) && noSuffix (init cits) && ismode NormalCitation cits
765 = citeCommand "citep" p s ks
765 = citeCommand "citep" p s ks
767− noPrefix = and . map (null . citationPrefix)
767+ noPrefix = all (null . citationPrefix)
768− noSuffix = and . map (null . citationSuffix)
768+ noSuffix = all (null . citationSuffix)
769− ismode m = and . map (((==) m) . citationMode)
769+ ismode m = all (((==) m) . citationMode)
770 p = citationPrefix $ head $ cits
770 p = citationPrefix $ head $ cits
771 s = citationSuffix $ last $ cits
771 s = citationSuffix $ last $ cits
772 ks = intercalate ", " $ map citationId cits
772 ks = intercalate ", " $ map citationId cits