Exemplo n.º 1
0
 void generate() throws IOException {
   try {
     if (STANDALONE) {
       write("\\documentclass{article}");
       newLine();
       write("\\begin{document}");
       newLine();
     }
     write("\\twocolumn");
     newLine();
     newLine();
     for (Category cat : Category.values()) {
       if (cat2funs.get(cat) != null) {
         generateCategoryDocs(cat);
       }
     }
     if (STANDALONE) {
       write("\\end{document}");
       newLine();
     }
   } finally {
     bw.close();
   }
 }