bib: adopt Bluebook Law Review CSL style for all regulatory citations #300

Closed
opened 2026-03-27 04:46:56 +00:00 by kert · 0 comments
Owner

Replace hardcoded format.py formatters with proper CSL processing using the Bluebook Law Review style (Tierney 2026, QPPJ8LXZ in Zotero).

Current state: format.py has 5 hardcoded formatters that approximate APA/Bluebook but miss:

  • Proper FR citation format (Volume FR Page)
  • Small caps for institutional authors
  • Correct short-form (id., supra) generation
  • Pinpoint locator positioning per source type
  • Session law format (Pub. L. No.)

The Tierney paper documents the exact CSL field mappings for:

  • Statute → nameOfAct, codeSection, dateEnacted
  • CFR → same Statute type with C.F.R. in nameOfAct
  • FR rules → proper Volume FR Page format
  • Session laws → Bill type with Pub. L. No.
  • Manuscripts → constitutional provisions, procedural rules

Approach: either integrate citeproc-js via PyV8/duktape, or rewrite format.py to follow the CSL field mapping conventions documented in the paper.

Replace hardcoded format.py formatters with proper CSL processing using the Bluebook Law Review style (Tierney 2026, QPPJ8LXZ in Zotero). Current state: format.py has 5 hardcoded formatters that approximate APA/Bluebook but miss: - Proper FR citation format (Volume FR Page) - Small caps for institutional authors - Correct short-form (id., supra) generation - Pinpoint locator positioning per source type - Session law format (Pub. L. No.) The Tierney paper documents the exact CSL field mappings for: - Statute → nameOfAct, codeSection, dateEnacted - CFR → same Statute type with C.F.R. in nameOfAct - FR rules → proper Volume FR Page format - Session laws → Bill type with Pub. L. No. - Manuscripts → constitutional provisions, procedural rules Approach: either integrate citeproc-js via PyV8/duktape, or rewrite format.py to follow the CSL field mapping conventions documented in the paper.
kert added this to the P32: CMS Manual Library — benefits, fraud, and program integrity references milestone 2026-03-27 04:46:56 +00:00
kert closed this issue 2026-03-27 05:24:38 +00:00
Sign in to join this conversation.