The isNumeric constraint does a good job identifying that the "II" in "volume":"II" is a number, however, when printing it the code does not recognize the "II" as a number in (Number.php), and the "II" is not printed at all.
Note that the $this->variable has the value "II" at this point.
Maybe the solution is to simply convert the "II" into a number using the same logic in the isNumeric constraint, and then applying the correct format... ?
...and I do appreciate that we could simply have "volume":"2" instead of "volume":"II"...but I think both should work.
What do you think?
Used CSL stylesheet:
modern-humanities-research-association.csl
specifically this part
Bug reports:
The isNumeric constraint does a good job identifying that the "II" in
"volume":"II"
is a number, however, when printing it the code does not recognize the "II" as a number in (Number.php), and the "II" is not printed at all.Note that the $this->variable has the value "II" at this point.
Maybe the solution is to simply convert the "II" into a number using the same logic in the isNumeric constraint, and then applying the correct format... ?
...and I do appreciate that we could simply have
"volume":"2"
instead of"volume":"II"
...but I think both should work.What do you think?
Used CSL stylesheet:
modern-humanities-research-association.csl specifically this part
Used CSL metadata