Juris-M / jm-styles

Juris-M styles: extended CSL styles with jurisdiction support
68 stars 24 forks source link

JM leg cit custom term name? #26

Closed pomeloy closed 1 year ago

pomeloy commented 1 year ago

First of all, big thanks to @georgd for tackling Austrian/German legal citation styles.

Not sure if this is a layer 8 issue but how would I go about using the custom term "randnummer" in a footnote? Right now I am avoiding this issue by changing "randnummer" to "line" in https://github.com/Juris-M/jm-styles/blob/8f60707ea32d28369f7d04eddc991b4fa7e8a237/jm-leg-cit-literaturverzeichnis.csl#L47

georgd commented 1 year ago

You have to put rn. or Rn. with the number in the page field. I never remember the proper case...

pomeloy commented 1 year ago

Thank you! It's lowercase rn. Do you happen to know the mechanics of how this is handled by Juris-M?

Got it. Unsurprisingly it's part of the CSL-m parsing. https://github.com/Juris-M/citeproc-js/blob/master/src/load.js#L117