src/Pure/Thy/present.scala
changeset 65089 1d219d76873b
parent 65083 9a0e34edfad1
child 65344 b99283eed13c
--- a/src/Pure/Thy/present.scala	Thu Mar 02 16:25:17 2017 +0100
+++ b/src/Pure/Thy/present.scala	Thu Mar 02 16:46:22 2017 +0100
@@ -100,9 +100,10 @@
     name: String)
   {
     val session_prefix = browser_info + Path.basic(info.chapter) + Path.basic(name)
+    val session_fonts = session_prefix + Path.explode("fonts")
 
     if (info.options.bool("browser_info")) {
-      Isabelle_System.mkdirs(session_prefix)
+      Isabelle_System.mkdirs(session_fonts)
 
       val session_graph = session_prefix + Path.basic("session_graph.pdf")
       File.copy(graph_file, session_graph.file)
@@ -111,7 +112,7 @@
       File.copy(Path.explode("~~/etc/isabelle.css"), session_prefix)
 
       for (font <- Isabelle_System.fonts(html = true))
-        File.copy(font, session_prefix)
+        File.copy(font, session_fonts)
     }
   }
 }