Juris-M / citeproc-js

A JavaScript implementation of the Citation Style Language (CSL) https://citeproc-js.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

citeform flag doesn’t work with Juris-M beta and citeproc-test-runner

georgd opened this issue · comments

(Edit: I moved the citeform tests in a new branch so we could release a basic de module.)

Working on juris-de.csl (https://github.com/georgd/style-modules/blob/wip_de_citeform/juris-de.csl).

The tests are https://github.com/georgd/jm-style-tests/blob/master/jm-leg-cit-rechtsquellenverzeichnis-literaturverzeichnis/deCaseBVerfGE_test050.txt and https://github.com/georgd/jm-style-tests/blob/master/jm-leg-cit-rechtsquellenverzeichnis-literaturverzeichnis/deCaseBVerwGBuchholz_test51.txt.

I added a debugging test to juris-main which always fails with citeproc-test-runner:

       <div class="csl-bib-body">
      -  <div class="csl-entry">no citeform BVerwG, Buchholz.</div>
      +  <div class="csl-entry">citeform 2 BVerwG, Beschl. v. 9.1.1999 – 11 C 8/97, Buchholz 310 § 65 VwGO Nr. 131.</div>

When testing inside the citeproc-js folder, the test isn’t executed at all (so I probably haven’t loaded the file correctly – how would I do that? I copied it to citeproc-js/juris-modules) but the court abbreviation is appended with a '1' in cases with a cite-form="1" (the first test with container-title="BVerfGE").

@fbennett could you please have a look at it?