かんたんな説明
警察をめぐるイングランドの裁判所の判決についての短い評釈です。よりどころにした判例、法律、論文はすべて、英国の法学部で使われる方式で、ページ下の番号付きの注に引用されます。
できあがり
法学雑誌の判例評釈シリーズの抜き刷りです。警察がどんなときに注意義務を負うかを扱った2018年の英国最高裁判所の判決、Robinson v Chief Constable of West Yorkshire Policeについての4ページです。判型は162 × 240mmで左右対称、書体はLibre Baskervilleの9.4/13.6pt。1ページ目はクラレット色の帯で始まり、判例名を60ptのイタリックで組みます。著者は典拠をそれぞれ参照箇所付きのキー[@caparo1990, 617–18]で書き、PostextはそれをOSCOLAで23の脚注に組みます。OSCOLAは英国の法学部の引用基準です。判例名はイタリック、法律はローマン、AC、HL、ednのあとにピリオドを打たず、直前の注と同じ典拠にはibid、それより後では「Robinson (n 1) [55]」と書きます。典拠は実在のものですが、著者と雑誌は架空です。
このレシピが答える質問
- 英国の法律文書のOSCOLA形式で、判例や法令を脚注に引用するには?
- シカゴ・スタイルで引用を脚注にし、2回目以降は短縮形にするには?
手短な答え
// The text cites with [@robinson2018, para 21]; OSCOLA is a note style, so each citation
// becomes a footnote: the case in full the first time, "ibid" when the note before cites
// the same authority, "Robinson (n 1) [55]" after that. Case names come out italic,
// statutes roman, and no abbreviation takes a full stop (AC, HL, UKSC, edn, n, s).
registerCitationEngine(createCiteprocEngine({ styles: STYLES, locales: LOCALES }));
const citations = {
style: 'custom', customStyle: OSCOLA, // the bundled 'oscola', patched above
locale: 'en-GB', // OSCOLA's words stay English in the Spanish edition too
notes: 'footnote',
link: false, // a case comment has no bibliography to link to
bibliography: { auto: false }, // OSCOLA articles cite in the notes only
};
// The citation notes share the numbering and the look of the author's own [^notes].
const footnotes = {
placement: 'column', numbering: 'chapter',
fontSize: pt(7.8), lineHeight: pt(10.2), spaceBetween: pt(2.2),
textAlign: 'left', // ragged: long report citations would open wide gaps if justified
separator: { width: 0.25, lineWidth: pt(0.5), color: col('rule') },
};
材料
- 種類
- Libre Baskerville, Libre Caslon Display, Libre Franklin (SIL OFL 1.1)
- 素材
- なし:画像はすべてコードで描画
作り方
#1 · 典拠ごとにOSCOLAの注
コードは上の手短な答えにあります。OSCOLAは注の方式なので、[@robinson2018, para 21]はピリオドのあとに上付きの番号を残し、その文言はページの地に送られます。注1は判例を完全な形で示します(Robinson v Chief Constable of West Yorkshire Police [2018] UKSC 4, [2018] AC 736)。直後に同じ判例を引く注2は「ibid [21]」、ほかの判例が間に入ったあとの注8は「Robinson (n 1) [26–27]」となります。ロー・レビューの論文は注の中でしか引用しないので、bibliography.auto: falseで最終ページに文献一覧を出さないようにします。
#2 · 判例はデータ。判例集の印字どおりに書く
判例はtype: legal_caseのCSL項目です。事件名はtitle、裁判所はauthority、判例集のシリーズはcontainer-title、最初のページはpageに入れます。Appeal Casesのように年が巻を特定する場合、OSCOLAは判例集の年を角括弧に入れるので、このレシピではその年をvolumeに書き、巻の番号をそのあとに続けます。volume: "[1990] 2"で「[1990] 2 AC 605 (HL)」となります。2001年より後の判決にはニュートラル・サイテーションもあります。authority: UKSC、number: "4"、issued: 2018で「[2018] UKSC 4」となり、そのあとに判例集が続きます。法律はtype: legislationで、年を題に入れてissuedは付けないので、年が二度印字されません。[@hra1998, § 6]は条を「s 6」として引用します。
#3 · 同梱スタイルへの2つの修正
// The bundled oscola.csl writes a paragraph pinpoint in brackets only in a case's first
// note: a later note printed "Robinson (n 1) para 55" and "ibid 27", and a repeated
// statute "ibid 7". These two replacements give "Robinson (n 1) [55]", "ibid [27]" and
// "ibid s 7", as OSCOLA prints them.
const LOCATOR = `<macro name="label-locator"><choose>
<if type="legal_case" locator="paragraph">
<text variable="locator" prefix="[" suffix="]"/></if>
<else-if locator="page"><text variable="locator"/></else-if>
<else><group delimiter=" "><label form="short" strip-periods="true" variable="locator"/>
<text variable="locator"/></group></else>
</choose></macro>`;
const OSCOLA = STYLES.oscola
.replace(/<macro name="label-locator">[\s\S]*?<\/macro>/, LOCATOR)
.replace(/(<if position="ibid-with-locator">[\s\S]*?)<text variable="locator"\/>/,
'$1<text macro="label-locator"/>');
同梱のoscola.cslが段落の参照箇所を角括弧で囲むのは、判例の最初の注だけです。それより後の注では「para 55」や「ibid 27」と印字され、同じ法律への2回目の注では「s」が落ちていました。修正では、ビルドの前にスタイルのXMLのマクロ1つと1行を置き換え、その結果をカスタムスタイルとして渡すので、本文と文献データは変わりません。
#4 · 帯の上の判例名
const BAND = 124; // mm from the trim's top
const big = (id, content, family, size, color, y, extra = {}) => ({
kind: 'text', id, content, fontFamily: family, fontSize: pt(size), lineHeight: 1.08, color,
align: 'left', overflow: 'wrap', ...extra,
placement: { ...at('container', 'top-left', 0, y), size: { width: mm(118), height: 'auto' } },
});
const opener = {
enabled: true,
minHeight: mm(BAND - MARGIN.top + 8), // the text starts 8 mm under the band
slot: { elements: [
{ kind: 'box', id: 'band', style: { backgroundColor: col('claret') },
placement: { ...at('page', 'top-left'), size: { width: 'fill', height: mm(BAND) } } },
big('kicker', '{attr.kicker}', LABEL, 7.4, col('tint'), 2,
{ fontWeight: 600, letterSpacing: pt(1.4), textTransform: 'uppercase' }),
big('case', '{attr.case}', TEXT, 60, col('paper'), 9, { italic: true }),
big('parties', '{attr.parties}', TEXT, 12.5, col('tint'), 33, { italic: true }),
big('citation', '{attr.citation}', TEXT, 10.5, col('tint'), 40),
{ kind: 'box', id: 'hairline', style: { backgroundColor: col('tint') },
placement: { ...at('container', 'top-left', 0, 51),
size: { width: mm(30), height: pt(0.6) } } },
big('title', '{titleText}', DISPLAY, 27, col('paper'), 57),
big('byline', '{attr.byline}', LABEL, 8.5, col('tint'), 82,
{ fontWeight: 500, letterSpacing: pt(0.5) }),
] },
};
帯は仕上がり線から124mm下まで伸びます。判例名、当事者、引用は見出しの属性なので、シリーズの別の評釈ではMarkdownを変えるだけですみます。OSCOLAは判例名をイタリックにするので、RobinsonはLibre Baskerville Italicの60ptで組み、その下の引用は注の中と同じくローマンのままにします。
const palette = {
ink: '#1f1b1a', claret: '#5e1b26', tint: '#ecdcd8', rule: '#bfb4ad', muted: '#6b625d',
paper: '#fcfaf6',
};
// Each colour carries its hex and the palette entry it follows.
const col = (id) => ({ hex: palette[id], model: 'hex', paletteId: id });
const colorPalette = Object.entries({ ...palette, 'main-color': palette.claret })
.map(([id, hex]) => ({ id, name: id, value: { hex, model: 'hex' } }));
レシピの全体
// ═══ Postext Cookbook · Nº 099 · A legal opinion cited in OSCOLA ══════════════════
// https://postext.dev/en/cookbook/legal-opinion-oscola
// Code: MIT · Text: original (CC BY 4.0) · Pictures: none
// Fonts: Libre Baskerville, Libre Caslon Display, Libre Franklin (OFL 1.1) · Needs postext ≥ 1.65.0
import {
buildDocumentWithFonts, renderPageToCanvas, registerCitationEngine,
} from 'https://esm.sh/postext';
import { renderToPdf, decompressWoff2 } from 'https://esm.sh/postext-pdf';
import { createCiteprocEngine, STYLES, LOCALES } from 'https://esm.sh/postext-citeproc';
const LANG = 'en'; // @lang: the language of the sample document ('en' | 'es')
const RECIPE = 'legal-opinion-oscola';
// ─── 1 · Design ─────────────────────────────────────────────────────────────
// #region palette: a law-report claret for the band, ink and cream paper for the rest
const palette = {
ink: '#1f1b1a', claret: '#5e1b26', tint: '#ecdcd8', rule: '#bfb4ad', muted: '#6b625d',
paper: '#fcfaf6',
};
// Each colour carries its hex and the palette entry it follows.
const col = (id) => ({ hex: palette[id], model: 'hex', paletteId: id });
const colorPalette = Object.entries({ ...palette, 'main-color': palette.claret })
.map(([id, hex]) => ({ id, name: id, value: { hex, model: 'hex' } }));
// #endregion
const TEXT = 'Libre Baskerville', DISPLAY = 'Libre Caslon Display', LABEL = 'Libre Franklin';
const TRIM = { width: 162, height: 240 }; // a law-journal offprint
const MARGIN = { top: 23, bottom: 22, inner: 19, outer: 21 };
const LEAD = 13.6; // pt
const at = (to, edge, x = 0, y = 0) => ({ anchor: { to, edge }, offset: { x: mm(x), y: mm(y) } });
// #region oscola: two patches to the bundled OSCOLA style, applied before the build
// The bundled oscola.csl writes a paragraph pinpoint in brackets only in a case's first
// note: a later note printed "Robinson (n 1) para 55" and "ibid 27", and a repeated
// statute "ibid 7". These two replacements give "Robinson (n 1) [55]", "ibid [27]" and
// "ibid s 7", as OSCOLA prints them.
const LOCATOR = `<macro name="label-locator"><choose>
<if type="legal_case" locator="paragraph">
<text variable="locator" prefix="[" suffix="]"/></if>
<else-if locator="page"><text variable="locator"/></else-if>
<else><group delimiter=" "><label form="short" strip-periods="true" variable="locator"/>
<text variable="locator"/></group></else>
</choose></macro>`;
const OSCOLA = STYLES.oscola
.replace(/<macro name="label-locator">[\s\S]*?<\/macro>/, LOCATOR)
.replace(/(<if position="ibid-with-locator">[\s\S]*?)<text variable="locator"\/>/,
'$1<text macro="label-locator"/>');
// #endregion
組み立てたscript.jsはそのまま動きます。任意のページのモジュールスクリプトに貼り付けるか、レシピをCodePenで開いてください。 GitHub上のレシピのフォルダー ↗ (新しいタブで開きます)
アレンジ
#同梱のままのスタイルで印字する
修正前の出力と比べるには、同梱のidを使います。すると、それより後の注の段落の参照箇所は「para 55」となります。
- style: 'custom', customStyle: OSCOLA, // the bundled 'oscola', patched above
+ style: 'oscola',#注を末尾にまとめる
本文のあとに注を印字する雑誌もあります。引用は完全形と短縮形、そして番号をそのまま保ちます。
- placement: 'column', numbering: 'chapter',
+ placement: 'chapterEnd', numbering: 'chapter',よくあるつまずき
- 巻が単なる数字の判例集(
volume: "2")は年を丸括弧で印字し、「(1990) 2 AC」となります。OSCOLAがこの形を使うのは、Commonwealth Law Reportsのように年をまたいで巻番号を通すシリーズです(注7)。Appeal CasesとWeekly Law Reportsでは、角括弧付きの年をvolumeに書いてください。 - ロケーターの前の
sはページ(ドイツ語のSeite)を意味し、条ではありません。§ 6と書きます。6(1)のような項はロケーターとして読まれないので、項は文中で示し、条を引用します。 - OSCOLAでは論文に参考文献を付けず、このスタイルには判例一覧と法令一覧を分けて出す機能もありません。そうした一覧が必要な学位論文では、
:::bibliographyから1つにソートした一覧が得られ、二次文献が先に、続いて判例と法律が混ざって並びます。
クレジット
- 本文
- 書き下ろしの文章, CC BY 4.0
- フォント
- Libre Baskerville (SIL OFL 1.1) · Libre Caslon Display (SIL OFL 1.1) · Libre Franklin (SIL OFL 1.1)


