src/Pure/Admin/news.scala
changeset 65089 1d219d76873b
parent 65083 9a0e34edfad1
child 65988 8040d2563593
--- a/src/Pure/Admin/news.scala	Thu Mar 02 16:25:17 2017 +0100
+++ b/src/Pure/Admin/news.scala	Thu Mar 02 16:46:22 2017 +0100
@@ -14,6 +14,8 @@
   def generate_html()
   {
     val target = Path.explode("~~/doc")
+    val target_fonts = target + Path.explode("fonts")
+    Isabelle_System.mkdirs(target_fonts)
 
     File.write(target + Path.explode("NEWS.html"),
       HTML.begin_document("NEWS") +
@@ -22,7 +24,9 @@
       "</pre>\n" +
       HTML.end_document)
 
-    for (font <- Isabelle_System.fonts()) File.copy(font, target)
+
+    for (font <- Isabelle_System.fonts(html = true))
+      File.copy(font, target_fonts)
 
     File.copy(Path.explode("~~/etc/isabelle.css"), target)
   }