--- a/model/prov-dm.html Wed Jun 13 15:12:31 2012 -0500
+++ b/model/prov-dm.html Wed Jun 13 21:49:45 2012 +0100
@@ -91,6 +91,19 @@
});
}
+ function updateDfn() {
+ var count=1;
+ $('dfn').each(function(index) {
+
+ var myid=$(this).addClass('internalDFN').attr('id');
+
+ $(this).after($('<sup>').append($('<a>').attr('href','#'+myid).append("◊"))); //◊//♦
+
+ console.log( "dfn for " + myid + " ");
+
+ });
+ }
+
function updateExamplesRefs() {
$('.anexample-ref').each(function(index) {
@@ -136,6 +149,7 @@
updateFigCaptions();
updateExamples();
updateExamplesRefs();
+
});
</script>
@@ -310,7 +324,7 @@
// Add extraReferences to bibliography database
preProcess: [addExtraReferences],
- postProcess: [updateSectionRefs],
+ postProcess: [updateSectionRefs, updateDfn],
};
</script>
</head>