(************************************************************************* * Copyright (C) * 2019 The University of Exeter * 2018-2019 The University of Paris-Saclay * 2018 The University of Sheffield * * License: * This program can be redistributed and/or modified under the terms * of the 2-clause BSD-style license. * * SPDX-License-Identifier: BSD-2-Clause *************************************************************************) section\An example ontology for a scholarly paper\ theory technical_report imports "../scholarly_paper/scholarly_paper" begin (* for reports paper: invariant: level \ -1 *) doc_class table_of_contents = bookmark_depth :: int <= 3 depth :: int <= 3 doc_class front_matter = front_matter_style :: string (* TODO Achim :::: *) doc_class index = kind :: "doc_class" level :: "int option" doc_class report = style_id :: string <= "''LNCS''" version :: "(int \ int \ int)" <= "(0,0,0)" accepts "(title ~~ \subtitle\ ~~ \author\\<^sup>+ ~~ \front_matter\ ~~ abstract ~~ \table_of_contents\ ~~ \introduction\\<^sup>+ ~~ \technical || figure || side_by_side_figure\\<^sup>+ ~~ \conclusion\\<^sup>+ ~~ \index\\<^sup>* ~~ bibliography)" end