output_entity: ignore ThyOutput.source option;
authorwenzelm
Wed, 07 May 2008 13:05:13 +0200
changeset 26843 612ca951afee
parent 26842 81308d44fe0a
child 26844 46b6306c181e
output_entity: ignore ThyOutput.source option;
doc-src/antiquote_setup.ML
--- a/doc-src/antiquote_setup.ML	Wed May 07 13:04:12 2008 +0200
+++ b/doc-src/antiquote_setup.ML	Wed May 07 13:05:13 2008 +0200
@@ -140,13 +140,13 @@
 
 val arg = enclose "{" "}" o clean_string;
 
-fun output_entity markup index kind src ctxt (logic, name) =
+fun output_entity markup index kind ctxt (logic, name) =
   (case index of
     NONE => ""
   | SOME is_def =>
       "\\index" ^ (if is_def then "def" else "ref") ^ arg logic ^ arg kind ^ arg name)
   ^
-  (Output.output (if ! O.source then str_of_source src else name)
+  (Output.output name
     |> (if markup = "" then I else enclose ("\\" ^ markup ^ "{") "}")
     |> (if ! O.quotes then quote else I)
     |> (if ! O.display then enclose "\\begin{isabelle}%\n" "%\n\\end{isabelle}"
@@ -154,7 +154,7 @@
 
 fun entity markup index kind =
   O.args (Scan.lift (Scan.optional (Args.parens Args.name) "" -- Args.name))
-    (output_entity markup index kind);
+    (K (output_entity markup index kind));
     
 fun entity_antiqs markup kind =
  [(kind, entity markup NONE kind),