From 640929ea71c63f35df4be4a6a56d995bd8e4e0c3 Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Tue, 8 Sep 2020 07:41:09 +0100 Subject: [PATCH] Removed listings-based Isar setup. --- .../Isabelle_DOF-Manual/02_Background.thy | 2 +- .../document/lstisadof-manual.sty | 104 ------------------ 2 files changed, 1 insertion(+), 105 deletions(-) diff --git a/examples/technical_report/Isabelle_DOF-Manual/02_Background.thy b/examples/technical_report/Isabelle_DOF-Manual/02_Background.thy index 5fab9f1..3111902 100755 --- a/examples/technical_report/Isabelle_DOF-Manual/02_Background.thy +++ b/examples/technical_report/Isabelle_DOF-Manual/02_Background.thy @@ -87,7 +87,7 @@ text\ keywords (* Registration of keywords defined locally *) requirement (* A command for describing requirements *) \} - where \<^boxed_theory_text>\Example\ is the abstract name of the text-file, \<^boxed_isar>\Main\ refers to an + where \<^boxed_theory_text>\Example\ is the abstract name of the text-file, \<^boxed_theory_text>\Main\ refers to an imported theory (recall that the import relation must be acyclic) and \<^boxed_theory_text>\keywords\ are used to separate commands from each other. \ diff --git a/examples/technical_report/Isabelle_DOF-Manual/document/lstisadof-manual.sty b/examples/technical_report/Isabelle_DOF-Manual/document/lstisadof-manual.sty index cd6c535..a25e2ae 100755 --- a/examples/technical_report/Isabelle_DOF-Manual/document/lstisadof-manual.sty +++ b/examples/technical_report/Isabelle_DOF-Manual/document/lstisadof-manual.sty @@ -80,112 +80,9 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% -\newcommand{\subscr}[1]{\ensuremath{_{\text{#1}}}} -\newcommand{\supscr}[1]{\ensuremath{^{\text{#1}}}} -\lstdefinestyle{isar}{% - language=% - ,basicstyle=\ttfamily% - ,showspaces=false% - ,showlines=false% - ,columns=flexible% - ,keepspaces - ,morecomment=[s]{(*}{*)}% - % ,moredelim=*[s][\rmfamily]{\{*}{*\}}% - ,moredelim = **[is][\beginlstdelim{\{*}{*\}}{black}]{\{*}{*\}} - ,showstringspaces=false% - ,moredelim=*[is][\supscr]{}{}% - ,moredelim=*[is][\subscr]{}{}% - ,literate={% - {...}{\,\ldots\,}3% - {}{\ensuremath{\isacartoucheopen}}1% - {}{\ensuremath{\isacartoucheopen}}1% - %{<@>}{@}1% - {"}{}0% - {é}{\'e}1% - {~}{\ }1% - {::}{:\!:}1% - {}{\ensuremath{\isacartoucheclose}}1% - {}{\ensuremath{\isacartoucheclose}}1% - {\\}{\ensuremath{\Gamma}}1% - {\\}{\ensuremath{\theta}}1% - {\\}{\ensuremath{\times}}1% - {\\}{\ensuremath{\equiv}}1% - {\\}{\ensuremath{\sigma}}1% - {\\}{\ensuremath{\geq}}1% - {level0}{level\textsubscript{0}}6% - {\\}{\ensuremath{\Rightarrow}}1% - {\\}{\ensuremath{\rightarrow}}1% - {\\}{\ensuremath{\rightarrow}}1% - {\\}{\ensuremath{\land}}1% - {\\}{\ensuremath{\lor}}1% - {\\}{\ensuremath{\lfloor}}1% - {\\}{\ensuremath{\rfloor}}1% - %{\\}{\ensuremath{\lparr}}1% - %{\\}{\ensuremath{\rparr}}1% - {\\}{\ensuremath{\le}}1% - {\\}{\ensuremath{\delta}}1% - {\\}{\ensuremath{\lambda}}1% - {\\}{\ensuremath{\vert}}1% - {\}{\ensuremath{\sigma}}1% - {\\}{\ensuremath{\isasymlparr}}1% - {\\}{\ensuremath{\isasymrparr}}1% - {\\}{\ensuremath{\leftrightarrow}}1% - {\{*}{\raise.3ex\hbox{$\scriptscriptstyle\langle$}}1% - {*\}}{\raise.3ex\hbox{$\scriptscriptstyle\rangle$}}1% - {\\}{\raise.3ex\hbox{$\scriptscriptstyle\langle$}}1% - {\\}{\raise.3ex\hbox{$\scriptscriptstyle\langle$}}1% - {\\}{\raise.3ex\hbox{$\scriptscriptstyle\rangle$}}1% - {\\}{\raise.3ex\hbox{$\scriptscriptstyle\rangle$}}1% - {\\}{\ensuremath{\forall}}1% - {\\}{\ensuremath{\exists}}1% - {\\}{\ensuremath{\in}}1% - {\\}{\ensuremath{\delta}}1% - {\\}{\ensuremath{\mathbb{R}}}1% - {\\}{\ensuremath{\neq}}1% - {\\}{\ensuremath{\exists}}1% - {\\}{\ensuremath{\bigwedge\,}}1% - {}{<\ensuremath{\text{\textit{string}}}>}9% - {\\}{\ensuremath{\mathopen{\lbrack\mkern-3mu\lbrack}}}1% - {\\}{\ensuremath{\mathopen{\lbrace\mkern-4.5mu\mid}}}1% - {\\}{\ensuremath{\mathclose{\rbrack\mkern-3mu\rbrack}}}1% - {\\}{\ensuremath{\mathclose{\mid\mkern-4.5mu\rbrace}}}1% - }% - % % Defining "tags" (text-antiquotations) based on 1-keywords - ,tag=**[s]{@\{}{\}}% - ,tagstyle=\color{CornflowerBlue}% - ,markfirstintag=true% - ,keywordstyle=\bfseries% - ,keywords={} - % Defining 2-keywords - ,keywordstyle=[2]{\color{Blue!60}\bfseries}% - ,alsoletter={*,-} - ,morekeywords=[2]{case, then, show, theory, begin, end, ML,section,subsection,paragraph,chapter,text}% - %,moredelim=[s][\textit]{<}{>} - % Defining 3-keywords - ,keywordstyle=[3]{\color{OliveGreen!60}\bfseries}% - ,morekeywords=[3]{doc_class,declare_reference,update_instance*, - open_monitor*, close_monitor*, declare_reference*,section*,text*,title*,abstract*}% - % Defining 4-keywords - ,keywordstyle=[4]{\color{black!60}\bfseries}% - ,morekeywords=[4]{where, imports, keywords}% - % Defining 5-keywords - ,keywordstyle=[5]{\color{BrickRed!70}\bfseries}% - ,morekeywords=[5]{datatype, by, fun, Definition*, definition, - type_synonym, typedecl, - consts, assumes, and, shows, proof, next, qed, lemma, theorem}% - % Defining 6-keywords - ,keywordstyle=[6]{\itshape}% - ,morekeywords=[6]{meta-args, ref, expr, class_id}% - % -}% -%% - \providecolor{isar}{named}{blue} -\def\inlineisar{\lstinline[style=isar,breaklines=true,mathescape,breakatwhitespace=true]} - \renewcommand{\isacommand}[1]{\textcolor{OliveGreen!60}{\ttfamily\bfseries #1}} \newcommand{\inlineisarbox}[1]{#1} - \NewTColorBox[]{isarbox}{}{ ,boxrule=0pt ,boxsep=0pt @@ -201,7 +98,6 @@ east,font=\bfseries\footnotesize\color{white}] at (frame.north east) {Isar};} } - %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%