diff --git a/_data/package.yml b/_data/package.yml index c85fb64..ab8bba1 100644 --- a/_data/package.yml +++ b/_data/package.yml @@ -1,5 +1,6 @@ name: ModIsom -version: 2.5.4 +version: "2.5.4" +license: "GPL-2.0-or-later" date: 2023-02-27 description: | Computing automorphisms and checking isomorphisms for modular group algebras of finite p-groups @@ -35,3 +36,34 @@ abstract: | status: accepted doc-html: htm/chapters.htm doc-pdf: doc/manual.pdf +keywords: | + modular isomorphism problem, automorphism group, isomorphism testing, nilpotent algebras, nilpotent quotient, Kurosh algebras. +citeas: | +

+ [EK23] Eick, B. and Konovalov, O., + ModIsom, Computing automorphisms and checking isomorphisms for modular group algebras of finite p-groups, + Version 2.5.4 + (2023)
+ (Refereed GAP package), + https://gap-packages.github.io/modisom/. +

+ + +bibtex: | + @misc{ ModIsom2.5.4, + author = {Eick, B. and Konovalov, O.}, + title = {{ModIsom}, Computing automorphisms and checking + isomorphisms for modular group algebras of finite + p-groups, {V}ersion 2.5.4}, + month = {Feb}, + year = {2023}, + note = {Refereed GAP package}, + howpublished = {\href {https://gap-packages.github.io/modisom/} + {\texttt{https://gap-packages.github.io/}\discretionary + {}{}{}\texttt{modisom/}}}, + keywords = {modular isomorphism problem; automorphism group; + isomorphism testing; nilpotent algebras; nilpotent + quotient; Kurosh algebras}, + printedkey = {EK23} + } + 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 888e5a3..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}} @@ -38,11 +42,25 @@ The following additional GAP packages are not required, but suggested: {% if site.data.package.contributors and site.data.package.contributors.size > 0 %} ## Contributor{% if site.data.package.contributors.size != 1 %}s{% endif %} {% for person in site.data.package.contributors %} - {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %} + {% if person.url %}{{ person.name }}{% else %}{{ person.name }}{% endif %} {%- if forloop.last -%}.{% else %}, {%- endif -%} {% 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 3459828..2f35b3f 100644 --- a/update.g +++ b/update.g @@ -20,7 +20,7 @@ # Parse PackageInfo.g and regenerate _data/package.yml from it. -BindGlobal( "PrintPeopleList", function(stream, people) +PrintPeopleList := function(stream, people) local p; for p in people do AppendTo(stream, " - name: ", p.FirstNames, " ", p.LastName, "\n"); @@ -31,9 +31,9 @@ BindGlobal( "PrintPeopleList", function(stream, people) fi; od; AppendTo(stream, "\n"); -end ); +end; -BindGlobal( "PrintPackageList", function(stream, pkgs) +PrintPackageList := function(stream, pkgs) local p, pkginfo; for p in pkgs do AppendTo(stream, " - name: \"", p[1], "\"\n"); @@ -44,10 +44,10 @@ BindGlobal( "PrintPackageList", function(stream, pkgs) fi; od; AppendTo(stream, "\n"); -end ); +end; # verify date is of the form YYYY-MM-DD -BindGlobal( "IsValidISO8601Date", function(date) +IsValidISO8601Date := function(date) local day, month, year; if Length(date) <> 10 then return false; fi; if date[5] <> '-' or date[8] <> '-' then return false; fi; @@ -59,16 +59,19 @@ BindGlobal( "IsValidISO8601Date", function(date) month := date[2]; year := date[1]; return month in [1..12] and day in [1..DaysInMonth(month, year)]; -end ); +end; -BindGlobal( "GeneratePackageYML", function(pkg) +GeneratePackageYML:=function(pkg) local stream, date, authors, maintainers, contributors, formats, f, tmp; stream := OutputTextFile("_data/package.yml", false); 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,10 +171,26 @@ BindGlobal( "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 ); +end; Read("PackageInfo.g"); GeneratePackageYML(GAPInfo.PackageInfoCurrent); QUIT;