[source=false] for quoted antiquotation avoids quote-escapes in output;
authorwenzelm
Thu, 14 Aug 2008 21:06:07 +0200
changeset 27881 f0d543629376
parent 27880 4ab10bfe8a7f
child 27882 eaa9fef9f4c1
[source=false] for quoted antiquotation avoids quote-escapes in output;
doc-src/IsarRef/Thy/Document_Preparation.thy
doc-src/IsarRef/Thy/document/Document_Preparation.tex
--- a/doc-src/IsarRef/Thy/Document_Preparation.thy	Thu Aug 14 20:29:38 2008 +0200
+++ b/doc-src/IsarRef/Thy/Document_Preparation.thy	Thu Aug 14 21:06:07 2008 +0200
@@ -159,7 +159,7 @@
   terms and types, which are to be presented in the final output
   produced by the Isabelle document preparation system.
 
-  Thus embedding of ``@{text "@{term [show_types] \"f x = a + x\"}"}''
+  Thus embedding of ``@{text [source=false] "@{term [show_types] \"f x = a + x\"}"}''
   within a text block would cause
   \isa{{\isacharparenleft}f{\isasymColon}{\isacharprime}a\ {\isasymRightarrow}\ {\isacharprime}a{\isacharparenright}\ {\isacharparenleft}x{\isasymColon}{\isacharprime}a{\isacharparenright}\ {\isacharequal}\ {\isacharparenleft}a{\isasymColon}{\isacharprime}a{\isacharparenright}\ {\isacharplus}\ x} to appear in the final {\LaTeX} document.  Also note that theorem
   antiquotations may involve attributes as well.  For example,
--- a/doc-src/IsarRef/Thy/document/Document_Preparation.tex	Thu Aug 14 20:29:38 2008 +0200
+++ b/doc-src/IsarRef/Thy/document/Document_Preparation.tex	Thu Aug 14 21:06:07 2008 +0200
@@ -175,7 +175,7 @@
   terms and types, which are to be presented in the final output
   produced by the Isabelle document preparation system.
 
-  Thus embedding of ``\isa{{\isachardoublequote}{\isacharat}{\isacharbraceleft}term\ {\isacharbrackleft}show{\isacharunderscore}types{\isacharbrackright}\ {\isachardoublequote}f\ x\ {\isacharequal}\ a\ {\isacharplus}\ x{\isachardoublequote}{\isacharbraceright}{\isachardoublequote}}''
+  Thus embedding of ``\isa{{\isacharat}{\isacharbraceleft}term\ {\isacharbrackleft}show{\isacharunderscore}types{\isacharbrackright}\ {\isachardoublequote}f\ x\ {\isacharequal}\ a\ {\isacharplus}\ x{\isachardoublequote}{\isacharbraceright}}''
   within a text block would cause
   \isa{{\isacharparenleft}f{\isasymColon}{\isacharprime}a\ {\isasymRightarrow}\ {\isacharprime}a{\isacharparenright}\ {\isacharparenleft}x{\isasymColon}{\isacharprime}a{\isacharparenright}\ {\isacharequal}\ {\isacharparenleft}a{\isasymColon}{\isacharprime}a{\isacharparenright}\ {\isacharplus}\ x} to appear in the final {\LaTeX} document.  Also note that theorem
   antiquotations may involve attributes as well.  For example,