build documents in Isabelle/Scala, based on generated tex files as session exports;
reworked "isabelle document" for quasi-offline document builds: similar functionality included in "isabelle build -o document=pdf";
(* Title: Pure/Sessions.thy
Author: Makarius
PIDE markup for session ROOT.
*)
theory Sessions
imports Pure
keywords "session" :: thy_decl
and "description" "directories" "options" "sessions" "theories"
"document_files" "export_files" :: quasi_command
and "global"
begin
ML \<open>
Outer_Syntax.command \<^command_keyword>\<open>session\<close> "PIDE markup for session ROOT"
Sessions.command_parser;
\<close>
end