   file_useless1_rx = /\{\"?(?:\.|\.\.\/)*[^\.]+\.[^\{\}]*\"?\}(.*)/
   # Useless file #2: <filename.ext>; capture subsequent text
   file_useless2_rx = /<\"?(?:\.|\.\.\/)*[^\.]+\.[^>]*\"?>(.*)/
+  # attempt to filter out package continuation messages
+  file_package_rx = /^\s*\([a-zA-Z]+\)\s{4,}.+/
   pagenum_begin_rx = /\s*\[\d*(.*)/
   line_rx = /^l\.(\d+)\s(.*)/    # l.nn <text>
   warning_rx = /^(.*?) Warning: (.+)/ # Warnings, first line

      # HEURISTIC: check first if we just have a long "(.../file.tex" (or similar) line
      # A bit inefficient as we duplicate some of the code below for filename matching
      file_match = file_rx.exec(line)
      if file_match
        debug("MATCHED (long line)")
        file_name = file_match[1]

            debug("Found [...]")
            extend_line = false
            recycle_extra = true # make sure we process the "l.<nn>" line!
          # if "extra" (next line) starts with a ( and we already have a valid
          # file, this is likely the start of something else we need to process
          # as a file, so add a space
          else if extralen > 0 and extra[0] == '(' and isfile(file_name)
            line = "#{line} #{extra}"
            debug("Extended #{line}")
            linelen += extralen + 1
            if extralen < 79
              extend_line = false
          else
            line += extra
            debug("Extended: " + line)
