src/Pure/Tools/rail.ML
changeset 73761 ef1a18e20ace
parent 71675 55cb4271858b
child 73780 466fae6bf22e
equal deleted inserted replaced
73760:f4be1b0d7a51 73761:ef1a18e20ace
   382         "\\rail@end\n"
   382         "\\rail@end\n"
   383       end;
   383       end;
   384   in Latex.string (Latex.environment "railoutput" (implode (map output_rule rules))) end;
   384   in Latex.string (Latex.environment "railoutput" (implode (map output_rule rules))) end;
   385 
   385 
   386 val _ = Theory.setup
   386 val _ = Theory.setup
   387   (Thy_Output.antiquotation_raw_embedded \<^binding>\<open>rail\<close> (Scan.lift Args.text_input)
   387   (Document_Output.antiquotation_raw_embedded \<^binding>\<open>rail\<close> (Scan.lift Args.text_input)
   388     (fn ctxt => output_rules ctxt o read ctxt));
   388     (fn ctxt => output_rules ctxt o read ctxt));
   389 
   389 
   390 end;
   390 end;
   391 
   391 
   392 end;
   392 end;