Add a citation help partial with corpus, KorAP and annotation parts
Add a citation help partial that lists how to cite a KorAP instance: the
corpus it serves, KorAP itself, and the annotation and classification
tools its data was prepared with. Instances include it wherever they
present citation information, e.g. on a documentation page.
It is assembled from three parts -- corpus, korap and annotation -- so
that an instance can replace individual parts and inherit the rest.
Kalamar ships no corpus of its own, so the corpus part is a placeholder
that instances replace by the citations for their corpus, while the
korap and annotation parts are normally inherited unchanged.
Every entry carries a COinS (Z3988) span, which lets reference managers
such as Zotero import it with one click. The section headings are
localized in kalamar.dict and kept free of corpus-specific names.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Change-Id: Ib9ccc607fe5387027b8d151901d364f6589b62ac
diff --git a/t/custom/partial/citation.html.ep b/t/custom/partial/citation.html.ep
index bc92d8f..d47c05d 100644
--- a/t/custom/partial/citation.html.ep
+++ b/t/custom/partial/citation.html.ep
@@ -1,5 +1,5 @@
<section>
- <h4><%= loc 'recentCorpusPub' %></h4>
+ <h4><%= loc 'corpusPub' %></h4>
<p class="bibentry">IDS (2023): <cite><a href="https://www.ids-mannheim.de/digspra/kl/projekte/korpora/">Deutsches Referenzkorpus / Archiv der Korpora geschriebener Gegenwartssprache</a></cite> 2023-I (Release vom 31.03.2023).<br />Mannheim: Leibniz-Institut für Deutsche Sprache.
</p>
@@ -18,7 +18,7 @@
</section>
<section>
- <h4><%= loc 'recentToolPub' %></h4>
+ <h4><%= loc 'korapPub' %></h4>
<p class="bibentry">Diewald, Nils/Bodmer, Franck/Harders, Peter/Irimia, Elena/Kupietz, Marc/Margaretha, Eliza/Stallkamp, Helge (2021): <cite><a class="extern" href="https://nbn-resolving.org/urn:nbn:de:bsz:mh39-103342">KorAP und EuReCo – Recherchieren in mehrsprachigen vergleichbaren Korpora</a></cite><br />In: Lobin, Henning/Witt, Andreas/Wöllstein, Angelika (Hrsg.): Deutsch in Europa. Sprachpolitisch, grammatisch, methodisch. Jahrbuch des Instituts für Deutsche Sprache 2020. (= Jahrbuch des Instituts für Deutsche Sprache 2020). Berlin/Boston: de Gruyter, 287-294.
<span class='Z3988' title='url_ver=Z39.88-2004&ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzotero.org%3A2&rft_id=urn%3Aisbn%3A978-3-11-073519-2&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.atitle=KorAP%20und%20EuReCo%20%E2%80%93%20Recherchieren%20in%20mehrsprachigen%20vergleichbaren%20Korpora&rft.btitle=Deutsch%20in%20Europa.%20Sprachpolitisch%2C%20grammatisch%2C%20methodisch.&rft.place=Berlin%20%5Bu.a.%5D&rft.publisher=de%20Gruyter&rft.series=Jahrbuch%20%2F%20Leibniz-Institut%20f%C3%BCr%20Deutsche%20Sprache%20(IDS)%20-%202020%20-&rft.aufirst=Nils&rft.aulast=Diewald&rft.au=Nils%20Diewald&rft.au=Franck%20Bodmer&rft.au=Peter%20Harders&rft.au=Elena%20Irimia&rft.au=Marc%20Kupietz&rft.au=Eliza%20Margaretha&rft.au=Helge%20Stallkamp&rft.au=Henning%20Lobin&rft.au=Andreas%20Witt&rft.au=Angelika%20W%C3%B6llstein&rft.date=2021&rft.pages=287-293&rft.spage=287&rft.epage=293&rft.isbn=978-3-11-073519-2'></span>
diff --git a/t/custom/partial/citation/corpus.html.ep b/t/custom/partial/citation/corpus.html.ep
new file mode 100644
index 0000000..54000b2
--- /dev/null
+++ b/t/custom/partial/citation/corpus.html.ep
@@ -0,0 +1,5 @@
+<section>
+ <h4><%= loc 'corpusPub' %></h4>
+
+ <p class="bibentry">Example Institute (2026): <cite>The Example Corpus</cite>.</p>
+</section>