From 39efc61686ef8eb16eb50714a226377681ae1889 Mon Sep 17 00:00:00 2001 From: Burkhart Wolff Date: Tue, 1 Sep 2020 09:23:02 +0200 Subject: [PATCH] some inpuit on Guided Tour --- .../Isabelle_DOF-Manual/00_Frontmatter.thy | 1 + .../Isabelle_DOF-Manual/03_GuidedTour.thy | 38 ++++++++++++++----- .../technical_report/Isabelle_DOF-Manual/ROOT | 2 + 3 files changed, 31 insertions(+), 10 deletions(-) diff --git a/examples/technical_report/Isabelle_DOF-Manual/00_Frontmatter.thy b/examples/technical_report/Isabelle_DOF-Manual/00_Frontmatter.thy index 4f0025ef..2630743d 100755 --- a/examples/technical_report/Isabelle_DOF-Manual/00_Frontmatter.thy +++ b/examples/technical_report/Isabelle_DOF-Manual/00_Frontmatter.thy @@ -29,6 +29,7 @@ setup \ DOF_lib.define_shortcut \<^binding>\eg\ "\\eg" setup \ DOF_lib.define_shortcut \<^binding>\TeXLive\"\\TeXLive" #> DOF_lib.define_shortcut \<^binding>\BibTeX\ "\\BibTeX{}" #> DOF_lib.define_shortcut \<^binding>\LaTeX\ "\\LaTeX{}" + #> DOF_lib.define_shortcut \<^binding>\pdf\ "PDF" #> DOF_lib.define_shortcut \<^binding>\pdftex\ "\\pdftex{}" \ diff --git a/examples/technical_report/Isabelle_DOF-Manual/03_GuidedTour.thy b/examples/technical_report/Isabelle_DOF-Manual/03_GuidedTour.thy index bbd5cc1e..cf7d4d08 100755 --- a/examples/technical_report/Isabelle_DOF-Manual/03_GuidedTour.thy +++ b/examples/technical_report/Isabelle_DOF-Manual/03_GuidedTour.thy @@ -378,14 +378,14 @@ doc_class text_section = text_element + level :: "int option" <= "None" \} -The \level\-attibute \<^index>\level\ enables doc-notation support for headers, chapters, sections, and subsections; -we follow here the \<^LaTeX> terminology on levels to which \<^isadof> is currently targeting at. +The \level\-attibute \<^index>\level\ enables doc-notation support for headers, chapters, sections, and +subsections; we follow here the \<^LaTeX> terminology on levels to which \<^isadof> is currently targeting at. The values are interpreted accordingly to the \<^LaTeX> standard. -\<^enum> part \<^index>\part\ \<^bigskip>\<^bigskip> \Some -1\ -\<^enum> chapter \<^index>\chapter\ \<^bigskip>\<^bigskip> \Some 0\ -\<^enum> section \<^index>\section\ \<^bigskip>\<^bigskip> \Some 1\ -\<^enum> subsection \<^index>\subsection\ \<^bigskip>\<^bigskip> \Some 2\ +\<^enum> part \<^index>\part\ \<^bigskip>\<^bigskip> \Some -1\ +\<^enum> chapter \<^index>\chapter\ \<^bigskip>\<^bigskip> \Some 0\ +\<^enum> section \<^index>\section\ \<^bigskip>\<^bigskip> \Some 1\ +\<^enum> subsection \<^index>\subsection\ \<^bigskip>\<^bigskip> \Some 2\ \<^enum> subsubsection \<^index>\subsubsection\ \<^bigskip>\<^bigskip> \Some 3\ Additional means assure that the following invariant is maintained in a document @@ -397,12 +397,30 @@ conforming to @{theory \Isabelle_DOF.scholarly_paper\}: text\ The rest of the ontology introduces concepts for \introductions\, \conclusion\, \related_work\, \bibliography\ etc. More details can be found in \ -subsection\Writing Academic Publications I \ -text*[xxx::technical, main_author = "Some bu"]\The CSP paper. New screenshots to init sequence -required. Focus: Mathematical content. Definition, theorem, and citations...\ +subsection\Writing Academic Publications `I : A Mathematics Text \ +text*[csp_paper_synthesis::technical, main_author = "Some bu"]\We present a typical mathematical +paper focussing on its form, not refering in any sense to its content which is out of scope here. +As mentioned before, we chose the paper~@{cite "taha.ea:philosophers:2020"} for this purpose. +The corpus of the beginning looks like this (the setup seaquence is described later):\ +(* . Focus: Mathematical content. Definition, theorem, and citations... *) +figure*[fig0::figure,spawn_columns=False,relative_width="95",src="''figures/header_CSP_source.png''"] + \ A mathematics paper as a document source ... \ +text\The document build process converts this to the following \<^pdf>-output:\ + +figure*[fig0B::figure,spawn_columns=False,relative_width="95",src="''figures/header_CSP_pdf.png''"] + \ \ldots and as its resulting \<^pdf>-output. \ + +text\Recall that the standard syntax for a text-element in \<^isadof> is +\<^theory_text>\text*[::,]\ ... text ...\\, but there are a few built-in abbreviations like +\<^theory_text>\title*[,]\ ... text ...\\ that provide special command-level syntax for text-elements. +The other text-elements provide the authors and the abstract as specified by their class-id referring +to the \<^theory_text>\doc_class\es of \<^verbatim>\scholarly_paper\; we say that these text elements are \<^emph>\instances\ +\<^bindex>\instance\ of the \<^theory_text>\doc_class\es \<^bindex>\doc_class\ of the underlying ontology. \ + +text\The paper proceeds by providing instances for introduction, technical sections, examples, TODO\ subsection\Writing Academic Publications II (somewhat outdated)\ -text\ In our next example we concentrate on non-text-elements. Figures... +text\ In our next example we concentrate on non-text-elements. Focus on Figures... \ diff --git a/examples/technical_report/Isabelle_DOF-Manual/ROOT b/examples/technical_report/Isabelle_DOF-Manual/ROOT index 999c6c3e..84a87015 100755 --- a/examples/technical_report/Isabelle_DOF-Manual/ROOT +++ b/examples/technical_report/Isabelle_DOF-Manual/ROOT @@ -27,3 +27,5 @@ session "Isabelle_DOF-Manual" = "Isabelle_DOF" + "figures/srac-as-es-application.png" "figures/srac-definition.png" "figures/Isabelle_DOF-logo.pdf" + "figures/header_CSP_pdf.png" + "figures/header_CSP_source.png"