From 72d8000f7b10146cfa0bf3f92214ae2e946abad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20M=C3=A9ric?= Date: Mon, 9 Jan 2023 15:34:59 +0100 Subject: [PATCH] Further explain evaluator option syntax for value_ text antiquotation --- .../technical_report/Isabelle_DOF-Manual/03_GuidedTour.thy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/technical_report/Isabelle_DOF-Manual/03_GuidedTour.thy b/examples/technical_report/Isabelle_DOF-Manual/03_GuidedTour.thy index ff8c52e3..9af526d8 100644 --- a/examples/technical_report/Isabelle_DOF-Manual/03_GuidedTour.thy +++ b/examples/technical_report/Isabelle_DOF-Manual/03_GuidedTour.thy @@ -701,6 +701,11 @@ term antiquotations: \<^item> \<^theory_text>\@{value_ \term\ }\ performs the evaluation of \term\ with term antiquotations, for instance \<^theory_text>\@{value_ \mcc @{cenelec-term \FT\}\}\ will print the value of the \<^const>\mcc\ attribute of the instance \FT\. + \<^theory_text>\value_\ may have an optional argument between square brackets to specify the evaluator but this + argument must be specified after a default optional argument already defined + by the text antiquotation implementation. + So one must use the following syntax if he does not want to specify the first optional argument: + \@{value_ [] [nbe] \r @{F \xcv4\}\}\. Note the empty brackets. \ (*<*)