Skip to content

Commit 1e416ef

Browse files
committed
Oxford Guide to Style: Correct subseuent locator
1 parent 84b2394 commit 1e416ef

7 files changed

+44
-18
lines changed

diffs/new-harts-rules-author-date.diff

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<updated>2025-11-05T00:00:00+00:00</updated>
3636
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
3737
</info>
38-
@@ -3110,9 +3111,7 @@
38+
@@ -3112,9 +3113,7 @@
3939
</macro>
4040
<!-- 4.6. Date -->
4141
<macro name="source-date">
@@ -46,7 +46,7 @@
4646
</macro>
4747
<!-- Date elements -->
4848
<macro name="source-date-issued-full">
49-
@@ -3251,9 +3250,7 @@
49+
@@ -3253,9 +3252,7 @@
5050
</choose>
5151
</macro>
5252
<macro name="source-date-original">
@@ -57,7 +57,7 @@
5757
</macro>
5858
<macro name="source-date-original-full">
5959
<!-- Give full date for more ephemeral types; reflected in `date-year-sort` -->
60-
@@ -3715,9 +3712,9 @@
60+
@@ -3724,9 +3721,9 @@
6161
</choose>
6262
</group>
6363
</macro>
@@ -70,7 +70,7 @@
7070
</layout>
7171
</citation>
7272
<!-- Bibliography -->
73-
@@ -3830,17 +3827,16 @@
73+
@@ -3839,17 +3836,16 @@
7474
<bibliography hanging-indent="true">
7575
<sort>
7676
<key macro="author-bib"/>

diffs/new-harts-rules-notes-initials-publisher.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<updated>2025-11-05T00:00:00+00:00</updated>
2929
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
3030
</info>
31-
@@ -3080,7 +3081,7 @@
31+
@@ -3082,7 +3083,7 @@
3232
<text form="short" term="no-place"/>
3333
</else-if>
3434
</choose>
@@ -37,7 +37,7 @@
3737
</group>
3838
</if>
3939
<else>
40-
@@ -3100,7 +3101,7 @@
40+
@@ -3102,7 +3103,7 @@
4141
<if match="any" type="book chapter classic entry entry-dictionary entry-encyclopedia interview musical_score pamphlet paper-conference report">
4242
<group delimiter=": ">
4343
<text variable="original-publisher-place"/>

diffs/new-harts-rules-notes-no-url.diff

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- templates/new-harts-rules-template.csl
22
+++ development/new-harts-rules-notes-no-url.csl
3-
@@ -5,10 +5,10 @@
3+
@@ -5,10 +5,11 @@
44
type="application/relax-ng-compact-syntax" schematypens="http://purl.oclc.org/dsdl/schematron"?>
55
<style and="text" class="note" default-locale="en-GB" demote-non-dropping-particle="display-and-sort" et-al-min="4" et-al-use-first="1" page-range-format="minimal" version="1.0" xmlns="http://purl.org/net/xbiblio/csl">
66
<info>
@@ -12,10 +12,11 @@
1212
+ <title-short>NHR (notes [17.2], no URLs)</title-short>
1313
+ <id>http://www.zotero.org/styles/new-harts-rules-notes-no-url</id>
1414
+ <link href="http://www.zotero.org/styles/new-harts-rules-notes-no-url" rel="self"/>
15+
+ <link href="http://www.zotero.org/styles/new-harts-rules-notes" rel="template"/>
1516
<link href="https://en.wikipedia.org/wiki/Hart's_Rules" rel="documentation"/>
1617
<author>
1718
<name>Andrew Dunning</name>
18-
@@ -30,7 +30,7 @@
19+
@@ -30,7 +31,7 @@
1920
<category field="social_science"/>
2021
<category field="sociology"/>
2122
<category field="theology"/>
@@ -24,7 +25,7 @@
2425
<updated>2025-11-05T00:00:00+00:00</updated>
2526
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
2627
</info>
27-
@@ -3550,7 +3550,7 @@
28+
@@ -3559,7 +3560,7 @@
2829
</group>
2930
</else-if>
3031
</choose>

diffs/new-harts-rules-notes-publisher.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<updated>2025-11-05T00:00:00+00:00</updated>
2626
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
2727
</info>
28-
@@ -3080,7 +3081,7 @@
28+
@@ -3082,7 +3083,7 @@
2929
<text form="short" term="no-place"/>
3030
</else-if>
3131
</choose>
@@ -34,7 +34,7 @@
3434
</group>
3535
</if>
3636
<else>
37-
@@ -3100,7 +3101,7 @@
37+
@@ -3102,7 +3103,7 @@
3838
<if match="any" type="book chapter classic entry entry-dictionary entry-encyclopedia interview musical_score pamphlet paper-conference report">
3939
<group delimiter=": ">
4040
<text variable="original-publisher-place"/>

diffs/new-harts-rules-numbered.diff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<updated>2025-11-05T00:00:00+00:00</updated>
3636
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
3737
</info>
38-
@@ -3715,9 +3716,12 @@
38+
@@ -3724,9 +3725,12 @@
3939
</choose>
4040
</group>
4141
</macro>
@@ -51,7 +51,7 @@
5151
</layout>
5252
</citation>
5353
<!-- Bibliography -->
54-
@@ -3827,7 +3831,7 @@
54+
@@ -3836,7 +3840,7 @@
5555
</else>
5656
</choose>
5757
</macro>
@@ -60,7 +60,7 @@
6060
<sort>
6161
<key macro="author-bib"/>
6262
<key macro="title-and-descriptions"/>
63-
@@ -3840,7 +3844,7 @@
63+
@@ -3849,7 +3853,7 @@
6464
<key macro="source-archive"/>
6565
</sort>
6666
<layout suffix=".">

diffs/oxford-guide-to-style-notes.diff

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
</group>
7171
</macro>
7272
<macro name="source-serial-identifier-volume">
73-
@@ -2460,8 +2453,6 @@
73+
@@ -2462,8 +2455,6 @@
7474
</group>
7575
</if>
7676
</choose>
@@ -79,7 +79,7 @@
7979
<text macro="source-event"/>
8080
</group>
8181
</macro>
82-
@@ -2830,8 +2821,7 @@
82+
@@ -2832,8 +2823,7 @@
8383
<choose>
8484
<if match="any" variable="collection-editor container-author editor editorial-director">
8585
<!-- monographic usage -->
@@ -89,7 +89,7 @@
8989
<text macro="source-publication-and-date"/>
9090
</if>
9191
</choose>
92-
@@ -2839,8 +2829,7 @@
92+
@@ -2841,8 +2831,7 @@
9393
<!-- `patent` date in identification (cf. CMOS18 14.158) -->
9494
<else-if type="patent"/>
9595
<else>
@@ -99,7 +99,23 @@
9999
<text macro="source-publication-and-date"/>
100100
</else>
101101
</choose>
102-
@@ -3435,9 +3424,7 @@
102+
@@ -3406,13 +3395,12 @@
103+
<!-- Do not provide `volume` or `part-number` for defined section -->
104+
<text macro="label-locator"/>
105+
</if>
106+
- <!-- for OGS: -->
107+
- <!-- <else-if match="none" variable="part-number">
108+
+ <else-if match="none" variable="part-number">
109+
<group delimiter=". ">
110+
<text macro="label-volume"/>
111+
<text macro="label-locator"/>
112+
</group>
113+
- </else-if> -->
114+
+ </else-if>
115+
<else>
116+
<text macro="label-volume"/>
117+
<text macro="label-part-number"/>
118+
@@ -3444,9 +3432,7 @@
103119
<!-- usually `archive`, `archive-place` but sometimes also `archive-place`, `archive` (NHR 18.6.5); the latter is more common elsewhere (OGS 15.11.1 and MHRA4 7.7) -->
104120
<text variable="archive_collection"/>
105121
<text variable="archive_location"/>

templates/new-harts-rules-template.csl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2366,6 +2366,8 @@
23662366
</if>
23672367
<else>
23682368
<text variable="volume"/>
2369+
<!-- for Roman volume numbers: -->
2370+
<!-- <text macro="label-volume"/> -->
23692371
<text macro="label-issue"/>
23702372
</else>
23712373
</choose>
@@ -3404,6 +3406,13 @@
34043406
<!-- Do not provide `volume` or `part-number` for defined section -->
34053407
<text macro="label-locator"/>
34063408
</if>
3409+
<!-- for OGS: -->
3410+
<!-- <else-if match="none" variable="part-number">
3411+
<group delimiter=". ">
3412+
<text macro="label-volume"/>
3413+
<text macro="label-locator"/>
3414+
</group>
3415+
</else-if> -->
34073416
<else>
34083417
<text macro="label-volume"/>
34093418
<text macro="label-part-number"/>

0 commit comments

Comments
 (0)