@@ -45,6 +45,7 @@ import Data.Aeson.Encode.Pretty (Config (..), defConfig, encodePretty',
4545 keyOrder)
4646import qualified Data.ByteString.Lazy as BL
4747import Data.Data (Data, toConstr)
48+import Data.List (isSuffixOf)
4849import qualified Data.Text as Text
4950import Data.Typeable (Typeable)
5051import GHC.Generics (Generic)
@@ -315,7 +316,9 @@ messageVerbosity msg =
315316 ReferenceNotFound{} -> WARNING
316317 CircularReference{} -> WARNING
317318 UndefinedToggle{} -> WARNING
318− CouldNotLoadIncludeFile{} -> WARNING
319+ CouldNotLoadIncludeFile f _
320+ | ".sty" `isSuffixOf` f -> INFO
321+ | otherwise -> WARNING
319322 MacroAlreadyDefined{} -> WARNING
320323 ParsingUnescaped{} -> INFO
321324 InlineNotRendered{} -> INFO