doc-src/antiquote_setup.ML
author wenzelm
Sat, 26 Apr 2008 13:20:16 +0200
changeset 26751 2b97ea3130c2
parent 26742 5a86bc79431c
child 26756 6634a641b961
permissions -rw-r--r--
added setup for Isar entities; tuned;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24584
01e83ffa6c54 fixed title
haftmann
parents: 24204
diff changeset
     1
(*  Title:      Doc/antiquote_setup.ML
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
     2
    ID:         $Id$
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
     3
    Author:     Makarius
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
     4
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
     5
Auxiliary antiquotations for the Isabelle manuals.
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
     6
*)
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
     7
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
     8
structure AntiquoteSetup: sig end =
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
     9
struct
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    10
22094
008794185f4d renamed IsarOutput to ThyOutput;
wenzelm
parents: 22090
diff changeset
    11
structure O = ThyOutput;
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    12
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    13
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    14
(* misc utils *)
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    15
26751
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
    16
val clean_string =
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
    17
  translate_string (fn "_" => "-" | ">" => "$>$" | "#" => "\\#" | c => c);
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
    18
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    19
val str_of_source = space_implode " " o map Args.string_of o #2 o #1 o Args.dest_src;
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    20
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    21
fun tweak_line s =
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    22
  if ! O.display then s else Symbol.strip_blanks s;
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    23
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    24
val pretty_text = Pretty.chunks o map Pretty.str o map tweak_line o Library.split_lines;
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    25
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    26
fun pretty_term ctxt t = Syntax.pretty_term (Variable.auto_fixes t ctxt) t;
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    27
fun pretty_thm ctxt = pretty_term ctxt o Thm.full_prop_of;
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    28
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    29
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    30
(* verbatim text *)
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    31
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    32
val verbatim = space_implode "\\verb,|," o map (enclose "\\verb|" "|") o space_explode "|";
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    33
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    34
val _ = O.add_commands
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    35
 [("verbatim", O.args (Scan.lift Args.name) (fn _ => fn _ =>
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    36
      split_lines #> map verbatim #> space_implode "\\isasep\\isanewline%\n"))];
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    37
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    38
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    39
(* ML text *)
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    40
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    41
local
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    42
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    43
fun ml_val (txt1, "") = "fn _ => (" ^ txt1 ^ ");"
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    44
  | ml_val (txt1, txt2) = "fn _ => (" ^ txt1 ^ ": " ^ txt2 ^ ");";
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    45
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    46
fun ml_type (txt1, "") = "val _ = NONE : (" ^ txt1 ^ ") option;"
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    47
  | ml_type (txt1, txt2) = "val _ = [NONE : (" ^ txt1 ^ ") option, NONE : (" ^ txt2 ^ ") option];";
22289
41ce4f5c97c9 added antiquotation for exceptions
haftmann
parents: 22094
diff changeset
    48
23651
6e0b8b6012c9 renamed ML_exc to ML_exn;
wenzelm
parents: 22289
diff changeset
    49
fun ml_exn (txt1, "") = "fn _ => (" ^ txt1 ^ ": exn);"
6e0b8b6012c9 renamed ML_exc to ML_exn;
wenzelm
parents: 22289
diff changeset
    50
  | ml_exn (txt1, txt2) = "fn _ => (" ^ txt1 ^ ": " ^ txt2 ^ " -> exn);";
22289
41ce4f5c97c9 added antiquotation for exceptions
haftmann
parents: 22094
diff changeset
    51
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    52
fun ml_structure (txt, _) = "functor DUMMY_FUNCTOR() = struct structure DUMMY = " ^ txt ^ " end;"
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    53
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    54
fun ml_functor _ = "val _ = ();";  (*no check!*)
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    55
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    56
fun index_ml kind ml src ctxt (txt1, txt2) =
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    57
  let
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    58
    val txt = if txt2 = "" then txt1 else
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    59
      if kind = "type" then txt1 ^ " = " ^ txt2
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    60
      else if kind = "exception" then txt1 ^ " of " ^ txt2
22289
41ce4f5c97c9 added antiquotation for exceptions
haftmann
parents: 22094
diff changeset
    61
      else txt1 ^ ": " ^ txt2;
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    62
    val txt' = if kind = "" then txt else kind ^ " " ^ txt;
22289
41ce4f5c97c9 added antiquotation for exceptions
haftmann
parents: 22094
diff changeset
    63
    val _ = writeln (ml (txt1, txt2));
26455
1757a6e049f4 reorganized signature of ML_Context;
wenzelm
parents: 26385
diff changeset
    64
    val _ = ML_Context.eval_in (SOME (Context.Proof ctxt)) false Position.none (ml (txt1, txt2));
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    65
  in
26751
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
    66
    "\\indexml" ^ kind ^ enclose "{" "}" (clean_string txt1) ^
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    67
    ((if ! O.source then str_of_source src else txt')
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    68
    |> (if ! O.quotes then quote else I)
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    69
    |> (if ! O.display then enclose "\\begin{verbatim}\n" "\n\\end{verbatim}"
26751
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
    70
        else split_lines #> map verbatim #> space_implode "\\isasep\\isanewline%\n"))
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    71
  end;
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    72
26461
da989545e59c some styling
haftmann
parents: 26455
diff changeset
    73
fun output_ml ctxt src =
da989545e59c some styling
haftmann
parents: 26455
diff changeset
    74
  if ! O.display then enclose "\\begin{verbatim}\n" "\n\\end{verbatim}"
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    75
  else
26461
da989545e59c some styling
haftmann
parents: 26455
diff changeset
    76
    split_lines
da989545e59c some styling
haftmann
parents: 26455
diff changeset
    77
    #> map (space_implode "\\verb,|," o map (enclose "\\verb|" "|") o space_explode "|")
da989545e59c some styling
haftmann
parents: 26455
diff changeset
    78
    #> space_implode "\\isasep\\isanewline%\n";
da989545e59c some styling
haftmann
parents: 26455
diff changeset
    79
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    80
fun ml_args x = O.args (Scan.lift (Args.name -- Scan.optional (Args.colon |-- Args.name) "")) x;
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    81
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    82
in
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    83
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    84
val _ = O.add_commands
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    85
 [("index_ML", ml_args (index_ml "" ml_val)),
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    86
  ("index_ML_type", ml_args (index_ml "type" ml_type)),
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    87
  ("index_ML_exn", ml_args (index_ml "exception" ml_exn)),
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    88
  ("index_ML_structure", ml_args (index_ml "structure" ml_structure)),
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    89
  ("index_ML_functor", ml_args (index_ml "functor" ml_functor)),
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    90
  ("ML_functor", O.args (Scan.lift Args.name) output_ml),
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    91
  ("ML_text", O.args (Scan.lift Args.name) output_ml)];
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    92
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    93
end;
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
    94
23846
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
    95
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
    96
(* theorems with names *)
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
    97
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
    98
local
23846
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
    99
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   100
fun output_named_thms src ctxt xs =
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   101
  map (apfst (pretty_thm ctxt)) xs        (*always pretty in order to exhibit errors!*)
23846
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   102
  |> (if ! O.quotes then map (apfst Pretty.quote) else I)
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   103
  |> (if ! O.display then
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   104
    map (fn (p, name) =>
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   105
      Output.output (Pretty.string_of (Pretty.indent (! O.indent) p)) ^
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   106
      "\\rulename{" ^ Output.output (Pretty.str_of (pretty_text name)) ^ "}")
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   107
    #> space_implode "\\par\\smallskip%\n"
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   108
    #> enclose "\\begin{isabelle}%\n" "%\n\\end{isabelle}"
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   109
  else
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   110
    map (fn (p, name) =>
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   111
      Output.output (Pretty.str_of p) ^
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   112
      "\\rulename{" ^ Output.output (Pretty.str_of (pretty_text name)) ^ "}")
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   113
    #> space_implode "\\par\\smallskip%\n"
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   114
    #> enclose "\\isa{" "}");
bfedd1a024fc Added named_thms antiquotation.
berghofe
parents: 23651
diff changeset
   115
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
   116
in
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
   117
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
   118
val _ = O.add_commands
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   119
 [("named_thms", O.args (Scan.repeat (Attrib.thm --
26751
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   120
      Scan.lift (Args.parens Args.name))) output_named_thms)];
21375
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
   121
ae8a112b62d7 Auxiliary antiquotations for Isabelle manuals.
wenzelm
parents:
diff changeset
   122
end;
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   123
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   124
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   125
(* theory files *)
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   126
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   127
val _ = O.add_commands
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   128
 [("thy_file", O.args (Scan.lift Args.name) (O.output (fn _ => fn name =>
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   129
      (ThyLoad.check_thy Path.current name; Pretty.str name))))];
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   130
26751
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   131
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   132
(* Isar entities (with index) *)
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   133
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   134
local
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   135
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   136
val arg = enclose "{" "}" o clean_string;
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   137
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   138
fun output_entity index kind src ctxt (logic, name) =
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   139
  (case index of
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   140
    NONE => ""
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   141
  | SOME is_def =>
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   142
      "\\index" ^ (if is_def then "def" else "ref") ^ arg logic ^ arg kind ^ arg name)
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   143
  ^
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   144
  (Output.output (if ! O.source then str_of_source src else name)
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   145
    |> (if ! O.quotes then quote else I)
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   146
    |> (if ! O.display then enclose "\\begin{isabelle}%\n" "%\n\\end{isabelle}"
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   147
        else enclose "\\isa{" "}"));
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   148
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   149
fun entity index kind =
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   150
  O.args (Scan.lift (Scan.optional (Args.parens Args.name) "" -- Args.name))
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   151
    (output_entity index kind);
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   152
    
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   153
fun entity_antiqs kind =
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   154
 [(kind, entity NONE kind),
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   155
  (kind ^ "_def", entity (SOME true) kind), 
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   156
  (kind ^ "_ref", entity (SOME false) kind)];
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   157
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   158
in
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   159
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   160
val _ = O.add_commands
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   161
 (entity_antiqs "syntax" @
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   162
  entity_antiqs "command" @
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   163
  entity_antiqs "keyword" @
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   164
  entity_antiqs "element" @
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   165
  entity_antiqs "method" @
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   166
  entity_antiqs "attribute" @
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   167
  entity_antiqs "fact" @
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   168
  entity_antiqs "term" @
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   169
  entity_antiqs "case" @
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   170
  entity_antiqs "antiquotation");
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   171
26742
5a86bc79431c misc cleanup;
wenzelm
parents: 26710
diff changeset
   172
end;
26751
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   173
2b97ea3130c2 added setup for Isar entities;
wenzelm
parents: 26742
diff changeset
   174
end;