src/Pure/Thy/sessions.scala
changeset 76883 186e07be32c3
parent 76873 713eb7f2230e
child 76884 a004c5322ea4
--- a/src/Pure/Thy/sessions.scala	Tue Jan 03 15:32:54 2023 +0100
+++ b/src/Pure/Thy/sessions.scala	Tue Jan 03 15:42:25 2023 +0100
@@ -706,7 +706,7 @@
         if File.is_bib(file.file_name)
       } yield {
         val path = dir + document_dir + file
-        Bibtex.Entries.parse(File.read(path), file_pos = path.expand.implode)
+        Bibtex.Entries.parse(File.read(path), file_pos = File.standard_path(path))
       }).foldRight(Bibtex.Entries.empty)(_ ::: _)
 
     def record_proofs: Boolean = options.int("record_proofs") >= 2
@@ -1450,7 +1450,7 @@
     def the_heap(name: String): Path =
       find_heap(name) getOrElse
         error("Missing heap image for session " + quote(name) + " -- expected in:\n" +
-          cat_lines(input_dirs.map(dir => "  " + dir.expand.implode)))
+          cat_lines(input_dirs.map(dir => "  " + File.standard_path(dir))))
 
 
     /* database */