docs: public List getLatexMainDocuments( File directory )
          throws MojoExecutionException
      {
          ArrayList mainFiles = new ArrayList();
  
          Collection texFiles = FileUtils.listFiles( directory, FileFilterUtils.suffixFileFilter( ".tex" ),
                                                     TrueFileFilter.INSTANCE );
          for ( Iterator iterator = texFiles.iterator(); iterator.hasNext(); )
          {
              File file = (File) iterator.next();
              if ( isTexMainFile( file ) )
              {
                  mainFiles.add( file );
              }
          }
          return mainFiles;
      }