bibtex theory is always required and thus eventually consolidated;
authorwenzelm
Thu, 28 Dec 2017 22:36:15 +0100
changeset 67291 1bd9a0142d7a
parent 67290 98b6cd12f963
child 67292 386ddccfccbf
bibtex theory is always required and thus eventually consolidated;
src/Tools/jEdit/src/document_model.scala
--- a/src/Tools/jEdit/src/document_model.scala	Thu Dec 28 21:45:28 2017 +0100
+++ b/src/Tools/jEdit/src/document_model.scala	Thu Dec 28 22:36:15 2017 +0100
@@ -385,7 +385,8 @@
     file.foreach(PIDE.plugin.file_watcher.register_parent(_))
 
     val content = Document_Model.File_Content(text)
-    File_Model(session, node_name, file, content, node_required, last_perspective, pending_edits)
+    val node_required1 = node_required || Bibtex.is_bibtex_theory(node_name)
+    File_Model(session, node_name, file, content, node_required1, last_perspective, pending_edits)
   }
 }