equal
deleted
inserted
replaced
461 document_theories: List[(String, Position.T)], |
461 document_theories: List[(String, Position.T)], |
462 document_files: List[(Path, Path)], |
462 document_files: List[(Path, Path)], |
463 export_files: List[(Path, Int, List[String])], |
463 export_files: List[(Path, Int, List[String])], |
464 meta_digest: SHA1.Digest) |
464 meta_digest: SHA1.Digest) |
465 { |
465 { |
466 def chapter_session: Path = Path.basic(chapter) + Path.basic(name) |
|
467 |
|
468 def deps: List[String] = parent.toList ::: imports |
466 def deps: List[String] = parent.toList ::: imports |
469 |
467 |
470 def deps_base(session_bases: String => Base): Base = |
468 def deps_base(session_bases: String => Base): Base = |
471 { |
469 { |
472 val parent_base = session_bases(parent.getOrElse("")) |
470 val parent_base = session_bases(parent.getOrElse("")) |
514 def document_output: Option[Path] = |
512 def document_output: Option[Path] = |
515 options.string("document_output") match { |
513 options.string("document_output") match { |
516 case "" => None |
514 case "" => None |
517 case s => Some(dir + Path.explode(s)) |
515 case s => Some(dir + Path.explode(s)) |
518 } |
516 } |
|
517 |
|
518 def browser_info: Boolean = options.bool("browser_info") |
519 |
519 |
520 lazy val bibtex_entries: List[Text.Info[String]] = |
520 lazy val bibtex_entries: List[Text.Info[String]] = |
521 (for { |
521 (for { |
522 (document_dir, file) <- document_files.iterator |
522 (document_dir, file) <- document_files.iterator |
523 if Bibtex.is_bibtex(file.file_name) |
523 if Bibtex.is_bibtex(file.file_name) |
1195 |
1195 |
1196 val input_dirs: List[Path] = |
1196 val input_dirs: List[Path] = |
1197 if (system_heaps) List(system_output_dir) |
1197 if (system_heaps) List(system_output_dir) |
1198 else List(user_output_dir, system_output_dir) |
1198 else List(user_output_dir, system_output_dir) |
1199 |
1199 |
1200 val browser_info: Path = |
1200 def presentation_dir: Path = |
1201 if (system_heaps) Path.explode("$ISABELLE_BROWSER_INFO_SYSTEM") |
1201 if (system_heaps) Path.explode("$ISABELLE_BROWSER_INFO_SYSTEM") |
1202 else Path.explode("$ISABELLE_BROWSER_INFO") |
1202 else Path.explode("$ISABELLE_BROWSER_INFO") |
1203 |
1203 |
1204 |
1204 |
1205 /* file names */ |
1205 /* file names */ |