diff --git a/metadata/templates/using.tpl b/metadata/templates/using.tpl --- a/metadata/templates/using.tpl +++ b/metadata/templates/using.tpl @@ -1,58 +1,58 @@ {% extends "base.tpl" %} {% block headline %} Referring to AFP Entries {% endblock %} {% block content %}
Once you have downloaded the AFP, you can include its articles and theories in your own developments. If you would like to make your work available to others without having to include the AFP articles you depend on, here is how to do it.
-If you are using Isabelle2021, and have downloaded your AFP directory to
- isabelle components -u command.
+
+
+Linux/Mac
+Assuming you have downloaded and unzipped the afp to - echo "/home/myself/afp/thys" >> ~/.isabelle/Isabelle2021/ROOTS + isabelle components -u /home/myself/afp-This adds the path /home/myself/afp/thys/ to the ROOTS file, which
-Isabelle will scan by default. You can also manually edit and/or create that
-ROOTS file. There are many other ways to achieve the same outcome, this is just
-one option.
-
+
+Windows
-For Windows, the idea is the same just the path is slightly different. If the
-AFP is in - echo "/cygdrive/c/afp/thys" >> ~/.isabelle/Isabelle2021/ROOTS + isabelle components -u /cygdrive/c/afp+ Use
-You can now refer to article ABC from the AFP in another theory via
imports "ABC.Some_ABC_Theory" This allows you to distribute your material separately from any AFP theories. Users of your distribution also need to install the AFP in the above manner.
|
|
Referring to AFP Entries
|