session "Lex" = HOL +
  theories [document = false]
        "Spec"
	(*"SpecExt"*)
        "Lexer"
        (*"LexerExt"*)
        "Simplifying"
        "Sulzmann" 
        "Positions"
	(*"PositionsExt"*)
        "Exercises"

session Paper in "Paper" = Lex +
  options [document = pdf, document_output = "..", document_variants="paper"]
  theories 
    "~~/src/HOL/Library/LaTeXsugar"
    "Paper"
  document_files
    "root.bib"
    "root.tex" 


session Journal in "Journal" = HOL +
  options [document = pdf, document_output = "..", document_variants="journal"]
  theories [document = false]
     "~~/src/HOL/Library/LaTeXsugar"
     "~~/src/HOL/Library/Sublist"
     "../Spec"
     "../RegLangs"
     "../Lexer"
     "../Simplifying"
     "../Sulzmann" 
     "../Positions"
  theories [document = true] 
    "Paper"
    "PaperExt"
  document_files
    "root.bib"
    "root.tex" 
