uniform use of theory base name for presentation;
authorwenzelm
Mon, 17 Apr 2017 20:33:18 +0200
changeset 65497 7966bd7c6461
parent 65496 ca8dcb2a500c
child 65498 2af863e28204
uniform use of theory base name for presentation;
src/Pure/PIDE/resources.ML
--- a/src/Pure/PIDE/resources.ML	Mon Apr 17 20:12:20 2017 +0200
+++ b/src/Pure/PIDE/resources.ML	Mon Apr 17 20:33:18 2017 +0200
@@ -254,7 +254,7 @@
           warning ("Cannot present theory with skipped proofs: " ^ quote name)
         else
           let val tex_source = Thy_Output.present_thy thy res toks |> Buffer.content;
-          in if document then Present.theory_output name tex_source else () end
+          in if document then Present.theory_output (Long_Name.base_name name) tex_source else () end
       end;
 
   in (thy, present, size text) end;