src/Pure/Tools/rail.ML
changeset 74882 947bb3e09a88
parent 74790 3ce6fb9db485
child 74887 56247fdb8bbb
--- a/src/Pure/Tools/rail.ML	Sun Dec 05 15:54:46 2021 +0100
+++ b/src/Pure/Tools/rail.ML	Sun Dec 05 16:26:03 2021 +0100
@@ -384,7 +384,7 @@
         output "" rail' @
         Latex.string "\\rail@end\n"
       end;
-  in Latex.environment_text "railoutput" (maps output_rule rules) end;
+  in Latex.environment "railoutput" (maps output_rule rules) end;
 
 val _ = Theory.setup
   (Document_Output.antiquotation_raw_embedded \<^binding>\<open>rail\<close> (Scan.lift Args.text_input)