equal
deleted
inserted
replaced
387 verbose: Boolean = false, |
387 verbose: Boolean = false, |
388 html_context: HTML_Context, |
388 html_context: HTML_Context, |
389 elements: Elements, |
389 elements: Elements, |
390 presentation: Context): Unit = |
390 presentation: Context): Unit = |
391 { |
391 { |
|
392 val hierarchy = deps.sessions_structure.hierarchy(session) |
392 val info = deps.sessions_structure(session) |
393 val info = deps.sessions_structure(session) |
393 val options = info.options |
394 val options = info.options |
394 val base = deps(session) |
395 val base = deps(session) |
395 |
396 |
396 val session_dir = presentation.dir(db_context.store, info) |
397 val session_dir = presentation.dir(db_context.store, info) |
436 val theory = |
437 val theory = |
437 if (thy_name == Thy_Header.PURE) Export_Theory.no_theory |
438 if (thy_name == Thy_Header.PURE) Export_Theory.no_theory |
438 else { |
439 else { |
439 html_context.cache_theory(thy_name, |
440 html_context.cache_theory(thy_name, |
440 { |
441 { |
441 val qualifier = deps(session).theory_qualifier(thy_name) |
|
442 val provider = |
442 val provider = |
443 Export.Provider.database_context(db_context, List(qualifier), thy_name) |
443 Export.Provider.database_context(db_context, hierarchy, thy_name) |
444 if (Export_Theory.read_theory_parents(provider, thy_name).isDefined) { |
444 Export_Theory.read_theory(provider, session, thy_name) |
445 Export_Theory.read_theory(provider, qualifier, thy_name) |
|
446 } |
|
447 else { |
|
448 progress.echo_warning("No theory exports for " + quote(thy_name)) |
|
449 Export_Theory.no_theory |
|
450 } |
|
451 }) |
445 }) |
452 } |
446 } |
453 thy_name -> theory |
447 thy_name -> theory |
454 }).toMap |
448 }).toMap |
455 |
449 |