src/Pure/pure_syn.ML
changeset 61464 d35ff80f27fb
parent 61463 8e46cea6a45a
child 62453 b93cc7d73431
--- a/src/Pure/pure_syn.ML	Sat Oct 17 21:15:10 2015 +0200
+++ b/src/Pure/pure_syn.ML	Sat Oct 17 21:26:14 2015 +0200
@@ -50,8 +50,8 @@
     (Parse.opt_target -- Parse.document_source >> Thy_Output.document_command {markdown = true});
 
 val _ =
-  Outer_Syntax.command ("text_raw", @{here}) "raw LaTeX text"
-    (Parse.document_source >> (fn s => Thy_Output.document_command {markdown = true} (NONE, s)));
+  Outer_Syntax.command ("text_raw", @{here}) "LaTeX text (without surrounding environment)"
+    (Parse.opt_target -- Parse.document_source >> Thy_Output.document_command {markdown = true});
 
 val _ =
   Outer_Syntax.command ("theory", @{here}) "begin theory"