+ [HT23] Holt, D. and GAP Team, T.,
+ cohomolo, Cohomology groups of finite groups on finite modules,
+ Version 1.6.11
+ (2023)
+ (Refereed GAP package),
+ https://gap-packages.github.io/cohomolo.
+
+
+
+bibtex: |
+ @misc{ cohomolo1.6.11,
+ author = {Holt, D. and GAP Team, T.},
+ title = {{cohomolo}, Cohomology groups of finite groups on
+ finite modules, {V}ersion 1.6.11},
+ month = {Jan},
+ year = {2023},
+ note = {Refereed GAP package},
+ howpublished = {\href {https://gap-packages.github.io/cohomolo}
+ {\texttt{https://gap-packages.github.io/}\discretionary
+ {}{}{}\texttt{cohomolo}}},
+ keywords = {Cohomology; Schur Multiplier; Covering group},
+ printedkey = {HT23}
+ }
+
diff --git a/_includes/button-bibtex.html b/_includes/button-bibtex.html
new file mode 100644
index 0000000..aad02da
--- /dev/null
+++ b/_includes/button-bibtex.html
@@ -0,0 +1 @@
+
diff --git a/_layouts/default.html b/_layouts/default.html
index b49612e..b6f9000 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -4,14 +4,18 @@
GAP package {{ site.data.package.name }}
+ {% if site.data.package.keywords and site.data.package.keywords.size > 0 %}
+
+ {% endif %}
+
-
+
+
+
+
{{ site.data.package.name }}
@@ -55,7 +60,9 @@
{{ site.data.package.name }}
diff --git a/index.md b/index.md
index d40a2c3..04c8a27 100644
--- a/index.md
+++ b/index.md
@@ -10,6 +10,10 @@ The current version of this package is version {{site.data.package.version}}, re
For more information, please refer to [the package manual]({{site.data.package.doc-html}}).
There is also a [README](README.html) file.
+{% if site.data.package.license %}
+ License: [{{ site.data.package.license }}](https://spdx.org/licenses/{{ site.data.package.license }})
+{% endif %}
+
## Dependencies
This package requires GAP version {{site.data.package.GAP}}
@@ -43,6 +47,20 @@ The following additional GAP packages are not required, but suggested:
{% endfor %}
{% endif %}
+{% if site.data.package.citeas %}
+## Citing
+
+Please, cite this package as
+
+{{site.data.package.citeas}}
+
+You can get more info by typing `Cite("{{ site.data.package.name }}");` in the gap prompt.
+
+{% include button-bibtex.html %}
+
+{% endif %}
+
+
{% if site.github.issues_url %}
## Feedback
diff --git a/update.g b/update.g
index 2a0edb8..2f35b3f 100644
--- a/update.g
+++ b/update.g
@@ -68,7 +68,10 @@ GeneratePackageYML:=function(pkg)
SetPrintFormattingStatus(stream, false);
AppendTo(stream, "name: ", pkg.PackageName, "\n");
- AppendTo(stream, "version: ", pkg.Version, "\n");
+ AppendTo(stream, "version: \"", pkg.Version, "\"\n");
+ if IsBound(pkg.License) then
+ AppendTo(stream, "license: \"", pkg.License, "\"\n");
+ fi;
# convert date from DD/MM/YYYY to ISO 8601, i.e. YYYY-MM-DD
#
@@ -168,7 +171,23 @@ GeneratePackageYML:=function(pkg)
fi;
fi;
- # TODO: use Keywords?
+ if IsBound(pkg.Keywords) and
+ Length(pkg.Keywords) > 0 then
+ AppendTo(stream, "keywords: |\n");
+ AppendTo(stream, " ", JoinStringsWithSeparator(pkg.Keywords,", "),".\n");
+ fi;
+
+ AppendTo(stream, "citeas: |\n");
+ for tmp in SplitString(StringBibXMLEntry(ParseBibXMLextString(BibEntry(pkg)).entries[1],"HTML"),"\n") do
+ AppendTo(stream, " ", tmp, "\n");
+ od;
+ AppendTo(stream, "\n");
+
+ AppendTo(stream, "bibtex: |\n");
+ for tmp in SplitString(StringBibXMLEntry(ParseBibXMLextString(BibEntry(pkg)).entries[1],"BibTeX"),"\n") do
+ AppendTo(stream, " ", tmp, "\n");
+ od;
+ AppendTo(stream, "\n");
CloseStream(stream);
end;