src/Pure/Thy/thy_output.ML
changeset 54702 3daeba5130f0
parent 53171 a5e54d4d9081
child 55111 5792f5106c40
equal deleted inserted replaced
54701:4ed7454aebde 54702:3daeba5130f0
   659 
   659 
   660   ml_text (Binding.name "ML_text") (K (K [])));
   660   ml_text (Binding.name "ML_text") (K (K [])));
   661 
   661 
   662 end;
   662 end;
   663 
   663 
   664 end;
   664 
       
   665 (* URLs *)
       
   666 
       
   667 val _ = Theory.setup
       
   668   (antiquotation (Binding.name "url") (Scan.lift (Parse.position Parse.name))
       
   669     (fn {context = ctxt, ...} => fn (name, pos) =>
       
   670       (Position.report pos (Markup.url name); enclose "\\url{" "}" name)));
       
   671 
       
   672 end;