equal
deleted
inserted
replaced
123 (seen ++ thys, (session, thys) :: batches) |
123 (seen ++ thys, (session, thys) :: batches) |
124 })._2 |
124 })._2 |
125 val theory_node_info = |
125 val theory_node_info = |
126 Par_List.map[Batch, List[(String, Node_Info)]]( |
126 Par_List.map[Batch, List[(String, Node_Info)]]( |
127 { case (session, thys) => |
127 { case (session, thys) => |
128 db_context.input_database(session) { db => |
128 db_context.database(session) { db => |
129 val provider0 = Export.Provider.database(db, db_context.cache, session, "") |
129 val provider0 = Export.Provider.database(db, db_context.cache, session, "") |
130 val result = |
130 val result = |
131 for (thy_name <- thys) yield { |
131 for (thy_name <- thys) yield { |
132 val theory = |
132 val theory = |
133 if (thy_name == Thy_Header.PURE) Export_Theory.no_theory |
133 if (thy_name == Thy_Header.PURE) Export_Theory.no_theory |
528 graphview.Graph_File.make_pdf(options, base.session_graph_display)) |
528 graphview.Graph_File.make_pdf(options, base.session_graph_display)) |
529 |
529 |
530 val documents = |
530 val documents = |
531 for { |
531 for { |
532 doc <- info.document_variants |
532 doc <- info.document_variants |
533 document <- db_context.input_database(session)(db => |
533 document <- db_context.database(session)(db => |
534 Document_Build.read_document(db, session, doc.name)) |
534 Document_Build.read_document(db, session, doc.name)) |
535 } yield { |
535 } yield { |
536 val doc_path = (session_dir + doc.path.pdf).expand |
536 val doc_path = (session_dir + doc.path.pdf).expand |
537 if (verbose) progress.echo("Presenting document " + session + "/" + doc.name) |
537 if (verbose) progress.echo("Presenting document " + session + "/" + doc.name) |
538 if (options.bool("document_echo")) progress.echo("Document at " + doc_path) |
538 if (options.bool("document_echo")) progress.echo("Document at " + doc_path) |