glossary
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Mon, 20 Feb 2012 12:26:57 +0000
changeset 1615 5549c0fb1393
parent 1614 30b5f248a3c3
child 1616 3e1e0d7800cd
glossary
model/working-copy/Makefile
model/working-copy/glossary.js
--- a/model/working-copy/Makefile	Mon Feb 20 12:20:46 2012 +0000
+++ b/model/working-copy/Makefile	Mon Feb 20 12:26:57 2012 +0000
@@ -3,11 +3,19 @@
 HGID=`hg parents --template='{node|short}'`
 
 make.glossary.js: glossary.html Makefile
+	@$(MAKE) documentation
 	@$(MAKE) hgid
 	@echo "glossary_string= " >> glossary.js
 	cat glossary.html | awk '{ print "'\''"  $$0 " '\'' + " }' >> glossary.js
 	echo "' ' ;" >> glossary.js
 
 hgid:
-	@echo "glossary_hg='http://dvcs.w3.org/hg/prov/file/$(HGID)/model/working-copy/glossary.html';"  > glossary.js
+	@echo "glossary_hg='http://dvcs.w3.org/hg/prov/file/$(HGID)/model/working-copy/glossary.html';"  >> glossary.js
 
+documentation:
+	@echo "//Automatically generated file, don't edit!"  > glossary.js
+	@echo "//Include this glossary.js file in your specification"  >> glossary.js
+	@echo "//  with <script src=\"glossary.js\" class=\"remove\"></script>"  >> glossary.js
+	@echo "//Insert glossary definitions with the following "  >> glossary.js
+	@echo "// <div class=\"glossary-ref\" ref=\"glossary-generation\"></div>"  >> glossary.js
+
--- a/model/working-copy/glossary.js	Mon Feb 20 12:20:46 2012 +0000
+++ b/model/working-copy/glossary.js	Mon Feb 20 12:26:57 2012 +0000
@@ -1,4 +1,9 @@
-glossary_hg='http://dvcs.w3.org/hg/prov/file/e4fd2ac1a464/model/working-copy/glossary.html';
+//Automatically generated file, don't edit!
+//Include this glossary.js file in your specification
+//  with <script src="glossary.js" class="remove"></script>
+//Insert glossary definitions with the following 
+// <div class="glossary-ref" ref="glossary-generation"></div>
+glossary_hg='http://dvcs.w3.org/hg/prov/file/30b5f248a3c3/model/working-copy/glossary.html';
 glossary_string= 
 ' ' + 
 '<html> ' + 
@@ -34,16 +39,16 @@
 '</span> ' + 
 ' ' + 
 '<span class="glossary" id="glossary-plan">   ' + 
-'A <dfn id="concept-plan">Plan</dfn> is an entity that represent a set of ' + 
+'A <dfn id="concept-plan">plan</dfn> is an entity that represent a set of ' + 
 'actions or steps intended by one or more agents to achieve some goals.  ' + 
 '</span> ' + 
 ' ' + 
 '<span class="glossary" id="glossary-collection">   ' + 
-'A <dfn id="concept-collection">Collection</dfn> is an entity that has internal structure. PROV-DM defines provenance constructs for a very general type of collection, namely a set of key-value pairs (referred to as a <em>map</em> or, in some programming languages, a <em>dictionary</em> or <em>associative array</em>).  ' + 
+'A <dfn id="concept-collection">collection</dfn> is an entity that has internal structure. PROV-DM defines provenance constructs for a very general type of collection, namely a set of key-value pairs (referred to as a <em>map</em> or, in some programming languages, a <em>dictionary</em> or <em>associative array</em>).  ' + 
 '</span> ' + 
 ' ' + 
 '<span class="glossary" id="glossary-accountEntity">   ' + 
-'A <dfn id="concept-accountEntity">AccountEntity</dfn> is an entity that is contains a bundle of provenance assertions.  ' + 
+'A <dfn id="concept-accountEntity">accountentity</dfn> is an entity that is contains a bundle of provenance assertions.  ' + 
 '</span> ' + 
 ' ' + 
 '<span class="glossary" id="glossary-provenance">   ' +