equal
deleted
inserted
replaced
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; |