forked from Isabelle_DOF/Isabelle_DOF
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
|
chapter \<open>The Document Ontology Common Library for the Isabelle Ontology Framework\<close>
|
||
|
|
||
|
text\<open> Offering
|
||
|
\<^item> ...
|
||
|
\<^item>
|
||
|
\<^item> LaTeX support. \<close>
|
||
|
|
||
|
|
||
|
theory Isa_COL
|
||
|
imports Isa_DOF
|
||
|
begin
|
||
|
|
||
|
|
||
|
section\<open> Library of Standard Text Ontology \<close>
|
||
|
|
||
|
datatype placement = pl_h | pl_t | pl_b | pl_ht | pl_hb
|
||
|
doc_class figure =
|
||
|
relative_width :: "int" (* percent of textwidth *)
|
||
|
src :: "string"
|
||
|
placement :: placement
|
||
|
spawn_columns :: bool <= True
|
||
|
|
||
|
doc_class side_by_side_figure = figure +
|
||
|
anchor :: "string"
|
||
|
caption :: "string"
|
||
|
relative_width2 :: "int" (* percent of textwidth *)
|
||
|
src2 :: "string"
|
||
|
anchor2 :: "string"
|
||
|
caption2 :: "string"
|
||
|
|
||
|
doc_class figure_group =
|
||
|
(* trace :: "doc_class rexp list" <= "[]" *)
|
||
|
anchor :: "string"
|
||
|
caption :: "string"
|
||
|
where "\<lbrace>figure\<rbrace>\<^sup>+"
|
||
|
|
||
|
(* dito the future table *)
|
||
|
|
||
|
(* dito the future monitor: table - block *)
|
||
|
|
||
|
end
|