| author | Christian Urban <urbanc@in.tum.de> | 
| Sat, 10 Jan 2009 12:57:48 +0000 | |
| changeset 65 | c8e9a4f97916 | 
| parent 59 | b5914f3c643c | 
| child 69 | 19106a9975c1 | 
| permissions | -rw-r--r-- | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 1 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 2 | theory Antiquotes | 
| 47 
4daf913fdbe1
hakked latex so that it does not display ML {* *}; general tuning
 Christian Urban <urbanc@in.tum.de> parents: 
46diff
changeset | 3 | imports "../Base" | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 4 | begin | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 5 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 6 | |
| 65 
c8e9a4f97916
tuned and added a section about creating keyword files
 Christian Urban <urbanc@in.tum.de> parents: 
59diff
changeset | 7 | |
| 
c8e9a4f97916
tuned and added a section about creating keyword files
 Christian Urban <urbanc@in.tum.de> parents: 
59diff
changeset | 8 | |
| 47 
4daf913fdbe1
hakked latex so that it does not display ML {* *}; general tuning
 Christian Urban <urbanc@in.tum.de> parents: 
46diff
changeset | 9 | section {* Useful Document Antiquotations *}
 | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 10 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 11 | text {*
 | 
| 47 
4daf913fdbe1
hakked latex so that it does not display ML {* *}; general tuning
 Christian Urban <urbanc@in.tum.de> parents: 
46diff
changeset | 12 |   {\bf Problem:} 
 | 
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 13 | How to keep your ML-code inside a document synchronised with the actual code?\smallskip | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 14 | |
| 47 
4daf913fdbe1
hakked latex so that it does not display ML {* *}; general tuning
 Christian Urban <urbanc@in.tum.de> parents: 
46diff
changeset | 15 |   {\bf Solution:} This can be achieved using document antiquotations.\smallskip
 | 
| 
4daf913fdbe1
hakked latex so that it does not display ML {* *}; general tuning
 Christian Urban <urbanc@in.tum.de> parents: 
46diff
changeset | 16 | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 17 | Document antiquotations can be used for ensuring consistent type-setting of | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 18 | various entities in a document. They can also be used for sophisticated | 
| 65 
c8e9a4f97916
tuned and added a section about creating keyword files
 Christian Urban <urbanc@in.tum.de> parents: 
59diff
changeset | 19 |   \LaTeX-hacking. If you type @{text "Ctrl-c Ctrl-a h A"} inside ProofGeneral, you
 | 
| 
c8e9a4f97916
tuned and added a section about creating keyword files
 Christian Urban <urbanc@in.tum.de> parents: 
59diff
changeset | 20 | obtain a list of all available document antiquotations and their options. | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 21 | |
| 65 
c8e9a4f97916
tuned and added a section about creating keyword files
 Christian Urban <urbanc@in.tum.de> parents: 
59diff
changeset | 22 | Below we give the code for two additional antiquotations that can be used to typeset | 
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 23 | ML-code and also to check whether the given code actually compiles. This | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 24 | provides a sanity check for the code and also allows one to keep documents | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 25 | in sync with other code, for example Isabelle. | 
| 47 
4daf913fdbe1
hakked latex so that it does not display ML {* *}; general tuning
 Christian Urban <urbanc@in.tum.de> parents: 
46diff
changeset | 26 | |
| 58 | 27 |   We first describe the antiquotation @{text "@{ML_checked \"expr\"}"}. This
 | 
| 59 | 28 | antiquotation takes a piece of code as argument. The code is checked | 
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 29 |   by sending the ML-expression @{text [quotes] "val _ = \<dots>"} containing the
 | 
| 58 | 30 |   given argument to the ML-compiler (i.e.~the function @{ML "ML_Context.eval_in"}
 | 
| 59 | 31 | in Line 4 below). The complete code of the antiquotation is as follows: | 
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 32 | |
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 33 | *} | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 34 | |
| 59 | 35 | ML %linenumbers {*fun ml_val code_txt = "val _ = " ^ code_txt
 | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 36 | |
| 59 | 37 | fun output_ml src ctxt code_txt = | 
| 38 | (ML_Context.eval_in (SOME ctxt) false Position.none (ml_val code_txt); | |
| 47 
4daf913fdbe1
hakked latex so that it does not display ML {* *}; general tuning
 Christian Urban <urbanc@in.tum.de> parents: 
46diff
changeset | 39 | ThyOutput.output_list (fn _ => fn s => Pretty.str s) src ctxt | 
| 59 | 40 | (space_explode "\n" code_txt)) | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 41 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 42 | val _ = ThyOutput.add_commands | 
| 59 | 43 |  [("ML_checked", ThyOutput.args (Scan.lift Args.name) output_ml)]
 | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 44 | *} | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 45 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 46 | text {*
 | 
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 47 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 48 |   Note that the parser @{ML "(Scan.lift Args.name)"} in line 9 parses a string, 
 | 
| 59 | 49 | in this case the code given as argument. As mentioned before, this argument | 
| 50 |   is send to the ML-compiler in the line 4 using the function @{ML ml_val},
 | |
| 51 | which constructs an apropriate ML-expression. | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 52 |   If the code is ``approved'' by the compiler, then the output function @{ML
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 53 | "ThyOutput.output_list (fn _ => fn s => Pretty.str s)"} in the next line pretty prints the | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 54 | code. This function expects that the code is a list of strings where each | 
| 59 | 55 | string correspond to a line in the output. Therefore the use of | 
| 56 |   @{ML "(space_explode \"\\n\" txt)" for txt} 
 | |
| 57 | which produces this list according to linebreaks. There are a number of options for antiquotations | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 58 |   that are observed by @{ML ThyOutput.output_list} when printing the code (for
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 59 |   example @{text "[display]"}, @{text "[quotes]"} and @{text "[source]"}).
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 60 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 61 |   \begin{readmore}
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 62 |   For more information about options of antiquotations see \rsccite{sec:antiq}).
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 63 |   \end{readmore}
 | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 64 | |
| 47 
4daf913fdbe1
hakked latex so that it does not display ML {* *}; general tuning
 Christian Urban <urbanc@in.tum.de> parents: 
46diff
changeset | 65 |   Since we used the argument @{ML "Position.none"}, the compiler cannot give specific 
 | 
| 59 | 66 | information about the line number, in case an error is detected. We | 
| 67 | can improve the code above slightly by writing | |
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 68 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 69 | *} | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 70 | |
| 59 | 71 | ML %linenumbers {* fun output_ml src ctxt (code_txt,pos) =
 | 
| 72 | (ML_Context.eval_in (SOME ctxt) false pos (ml_val code_txt); | |
| 47 
4daf913fdbe1
hakked latex so that it does not display ML {* *}; general tuning
 Christian Urban <urbanc@in.tum.de> parents: 
46diff
changeset | 73 | ThyOutput.output_list (fn _ => fn s => Pretty.str s) src ctxt | 
| 59 | 74 | (space_explode "\n" code_txt)) | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 75 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 76 | val _ = ThyOutput.add_commands | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 77 |  [("ML_checked", ThyOutput.args 
 | 
| 59 | 78 | (Scan.lift (OuterParse.position Args.name)) output_ml)] | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 79 | *} | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 80 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 81 | text {*
 | 
| 58 | 82 | where in Lines 1 and 2 the positional information is properly treated. | 
| 83 | ||
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 84 | (FIXME: say something about OuterParse.position) | 
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 85 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 86 |   We can now write in a document @{text "@{ML_checked \"2 + 3\"}"} in order to
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 87 |   obtain @{ML_checked "2 + 3"} and be sure that this code compiles until
 | 
| 58 | 88 |   somebody changes the definition of \mbox{@{ML "(op +)"}}.
 | 
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 89 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 90 | |
| 58 | 91 | The second antiquotation extends the first by allowing also to give | 
| 59 | 92 | hints what the result of the ML-code should be and to check the consistency of | 
| 93 | the actual result with these hints. For this we are going to implement the | |
| 94 | antiquotation | |
| 58 | 95 |   @{text "@{ML_response \"expr\" \"pat\"}"}
 | 
| 96 | whose first argument is the ML-code and the second is a pattern specifying | |
| 59 | 97 | the result. To add some convenience and allow dealing with large outputs, | 
| 98 | the user can give a partial specification including abbreviations | |
| 99 |   @{text [quotes] "\<dots>"}.
 | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 100 | |
| 59 | 101 |   Whereas in the antiquotation @{text "@{ML_checked \"expr\"}"} above, we have
 | 
| 102 | sent the expression | |
| 103 |   @{text [quotes] "val _ = expr"} to the compiler, in this antiquotation the wildcard
 | |
| 104 |   @{text "_"} we will be replaced by a proper pattern constructed the hints. To
 | |
| 105 |   do this we need to replace the @{text [quotes] "\<dots>"} by @{text [quotes] "_"} 
 | |
| 106 | before sending the code to the compiler. The following function will do this: | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 107 | |
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 108 | *} | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 109 | |
| 58 | 110 | ML {* 
 | 
| 59 | 111 | fun ml_pat (code_txt, pat) = | 
| 112 | let val pat' = | |
| 113 | implode (map (fn "\<dots>" => "_" | s => s) (Symbol.explode pat)) | |
| 114 | in | |
| 115 | "val " ^ pat' ^ " = " ^ code_txt | |
| 116 | end | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 117 | *} | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 118 | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 119 | text {* 
 | 
| 59 | 120 | Next we like to add a response indicator to the result using: | 
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 121 | *} | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 122 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 123 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 124 | ML {*
 | 
| 59 | 125 | fun add_response_indicator pat = | 
| 126 | map (fn s => "> " ^ s) (space_explode "\n" pat) | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 127 | *} | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 128 | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 129 | text {* 
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 130 | The rest of the code of the antiquotation is | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 131 | *} | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 132 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 133 | ML {*
 | 
| 59 | 134 | fun output_ml_response src ctxt ((code_txt,pat),pos) = | 
| 135 | (ML_Context.eval_in (SOME ctxt) false pos (ml_pat (code_txt,pat)); | |
| 136 | let | |
| 137 | val output = (space_explode "\n" code_txt) @ (add_response_indicator pat) | |
| 138 | in | |
| 139 | ThyOutput.output_list (fn _ => fn s => Pretty.str s) src ctxt output | |
| 140 | end) | |
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 141 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 142 | val _ = ThyOutput.add_commands | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 143 |  [("ML_response", 
 | 
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 144 | ThyOutput.args | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 145 | (Scan.lift (OuterParse.position (Args.name -- Args.name))) | 
| 59 | 146 | output_ml_response)] | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 147 | *} | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 148 | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 149 | text {*
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 150 | This extended antiquotation allows us to write | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 151 |   @{text [display] "@{ML_response [display] \"true andalso false\" \"false\"}"}
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 152 | to obtain | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 153 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 154 | @{ML_response [display] "true andalso false" "false"} 
 | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 155 | |
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 156 | or | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 157 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 158 | @{text [display] "@{ML_response [display] \"let val i = 3 in (i * i,\"foo\") end\" \"(9,\<dots>)\"}"}
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 159 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 160 | to obtain | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 161 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 162 | @{ML_response [display] "let val i = 3 in (i * i,\"foo\") end" "(9,\<dots>)"} 
 | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 163 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 164 | In both cases, the check by the compiler ensures that code and result match. A limitation | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 165 | of this antiquotation is that the hints can only be given for results that can actually | 
| 53 
0c3580c831a4
removed the @{ML ...} antiquotation in favour of @{ML_open ...x}
 Christian Urban <urbanc@in.tum.de> parents: 
51diff
changeset | 166 | be constructed as a pattern. This excludes values that are abstract datatypes, like | 
| 51 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 167 | theorems or cterms. | 
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 168 | |
| 
c346c156a7cd
completes the recipie on antiquotations
 Christian Urban <urbanc@in.tum.de> parents: 
47diff
changeset | 169 | *} | 
| 46 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 170 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 171 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 172 | end | 
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 173 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 174 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 175 | |
| 
81e2d73f7191
added a section about document antiquotations
 Christian Urban <urbanc@in.tum.de> parents: diff
changeset | 176 |