我将Nominal2
导入我的主要理论文件,在Isabelle / jEdit中,我可以使用atom_decl
,因此它可以正常工作。在ROOT中,我尝试了各种尝试来指定Nominal2
,例如
session "techreport" = "HOL" +
options [document = pdf, document_output = "output"]
theories [document = false]
Nominal2
theories
IsarIntroduction
files "document/root.tex"
但我得到bad input
或No such file: "Nominal2.thy"
。我试图从IsarIntroduction
的目录和root.tex
的目录中指定相对路径,但是徒劳无功。
如何指定Nominal2
理论的路径?
更新:我为Isabelle / JEdit使用了特意构建的Nominal2图像
答案 0 :(得分:1)
你也应该像在Isabelle / jEdit中那样建立会话(图像)Nominal2。例如:
session "techreport" = "Nominal2" +
options [document = pdf, document_output = "output"]
theories
IsarIntroduction
files "document/root.tex"
答案 1 :(得分:0)
一些摆弄让我找到了解决方案。
No such file: "Nominal2.thy"
消息来自isabelle build
进程,该进程看不到Isabelle / jEdit使用的Nominal2
预先构建的图像。因此,在主要理论文件Nominal2
以及IsarIntroduction.thy
文件中提供ROOT
的完整路径可以解决问题。
但有一点需要注意:我有一个超过两百页的文档,其中包含Infinite_Set.thy
的所有开发。包含的日志
Loading theory "Infinite_Set" (required by "IsarIntroduction"
via "Nominal2" via "Nominal2_Base")
所以我必须包括
theories [document = false]
"Nominal2-Isabelle2013-1/Nominal/Nominal2"
"~~/src/HOL/Library/Infinite_Set"
在ROOT
中以防止这种情况发生。