Skip to content

Commit b2c0c1e

Browse files
authored
APA: in-text title in title-case (JabRef#4725)
1 parent 88c68d2 commit b2c0c1e

8 files changed

+79
-79
lines changed

apa-6th-edition.csl

+13-13
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335
<text macro="patent-number"/>
336336
</if>
337337
<else-if type="treaty">
338-
<text variable="title" form="short"/>
338+
<text variable="title" form="short" text-case="title"/>
339339
</else-if>
340340
<else-if type="personal_communication">
341341
<choose>
@@ -344,7 +344,7 @@
344344
<names variable="author">
345345
<name and="symbol" delimiter=", " initialize-with=". "/>
346346
<substitute>
347-
<text variable="title" form="short" quotes="true"/>
347+
<text variable="title" form="short" text-case="title" quotes="true"/>
348348
</substitute>
349349
</names>
350350
<!-- This should be localized -->
@@ -359,10 +359,10 @@
359359
<names variable="translator"/>
360360
<choose>
361361
<if variable="container-title">
362-
<text variable="title" form="short" quotes="true"/>
362+
<text variable="title" form="short" text-case="title" quotes="true"/>
363363
</if>
364364
<else>
365-
<text variable="title" form="short" font-style="italic"/>
365+
<text variable="title" form="short" text-case="title" font-style="italic"/>
366366
</else>
367367
</choose>
368368
<text macro="format-short" prefix="[" suffix="]"/>
@@ -380,10 +380,10 @@
380380
<names variable="translator"/>
381381
<choose>
382382
<if variable="container-title">
383-
<text variable="title" form="short" quotes="true"/>
383+
<text variable="title" form="short" text-case="title" quotes="true"/>
384384
</if>
385385
<else>
386-
<text variable="title" form="short" font-style="italic"/>
386+
<text variable="title" form="short" text-case="title" font-style="italic"/>
387387
</else>
388388
</choose>
389389
<text macro="format-short" prefix="[" suffix="]"/>
@@ -401,7 +401,7 @@
401401
<if variable="container-title">
402402
<choose>
403403
<if type="book entry entry-dictionary entry-encyclopedia">
404-
<text variable="title" form="short" quotes="true"/>
404+
<text variable="title" form="short" text-case="title" quotes="true"/>
405405
</if>
406406
<else>
407407
<names variable="translator"/>
@@ -420,16 +420,16 @@
420420
<text variable="title" font-style="italic"/>
421421
</else-if>
422422
<else-if type="bill legislation" match="any">
423-
<text variable="title" form="short"/>
423+
<text variable="title" form="short" text-case="title"/>
424424
</else-if>
425425
<else-if variable="reviewed-author" type="review review-book" match="any">
426426
<text macro="format-short" prefix="[" suffix="]"/>
427427
</else-if>
428428
<else-if type="post post-weblog webpage" variable="container-title" match="any">
429-
<text variable="title" form="short" quotes="true"/>
429+
<text variable="title" form="short" text-case="title" quotes="true"/>
430430
</else-if>
431431
<else>
432-
<text variable="title" form="short" font-style="italic"/>
432+
<text variable="title" form="short" text-case="title" font-style="italic"/>
433433
</else>
434434
</choose>
435435
<text macro="format-short" prefix="[" suffix="]"/>
@@ -691,20 +691,20 @@
691691
<!-- Delimiting by , rather than "of" to avoid incorrect grammar -->
692692
<group delimiter=", ">
693693
<text variable="genre" text-case="capitalize-first"/>
694-
<text variable="title" form="short" font-style="italic"/>
694+
<text variable="title" form="short" text-case="title" font-style="italic"/>
695695
</group>
696696
</if>
697697
<else>
698698
<!-- This should be localized -->
699699
<group delimiter=" ">
700700
<text value="Review of"/>
701-
<text variable="title" form="short" font-style="italic"/>
701+
<text variable="title" form="short" text-case="title" font-style="italic"/>
702702
</group>
703703
</else>
704704
</choose>
705705
</if>
706706
<else>
707-
<text variable="title" form="short" quotes="true"/>
707+
<text variable="title" form="short" text-case="title" quotes="true"/>
708708
</else>
709709
</choose>
710710
</if>

apa-annotated-bibliography.csl

+8-8
Original file line numberDiff line numberDiff line change
@@ -461,13 +461,13 @@
461461
<text macro="bracketed-intext" prefix="[" suffix="]"/>
462462
</if>
463463
<else-if type="bill">
464-
<!-- If a bill has no number or container-title, assume it is a hearing; italic and title case -->
464+
<!-- If a bill has no number or container-title, assume it is a hearing; italic -->
465465
<choose>
466466
<if variable="number container-title" match="none">
467467
<text variable="title" form="short" font-style="italic" text-case="title"/>
468468
</if>
469469
<else-if variable="title">
470-
<text variable="title" form="short"/>
470+
<text variable="title" form="short" text-case="title"/>
471471
</else-if>
472472
<else>
473473
<group delimiter=" ">
@@ -491,18 +491,18 @@
491491
</else-if>
492492
<else-if type="legislation treaty" match="any">
493493
<!-- Legislation and treaties not italicized or quoted -->
494-
<text variable="title" form="short"/>
494+
<text variable="title" form="short" text-case="title" />
495495
</else-if>
496496
<else-if type="post webpage" match="any">
497497
<!-- Webpages are always italicized -->
498-
<text variable="title" form="short" font-style="italic"/>
498+
<text variable="title" form="short" font-style="italic" text-case="title" />
499499
</else-if>
500500
<else-if variable="container-title" match="any">
501501
<!-- Other types are italicized or quoted based on presence of container-title. As in title macro. -->
502-
<text variable="title" form="short" quotes="true"/>
502+
<text variable="title" form="short" quotes="true" text-case="title" />
503503
</else-if>
504504
<else>
505-
<text variable="title" form="short" font-style="italic"/>
505+
<text variable="title" form="short" font-style="italic" text-case="title" />
506506
</else>
507507
</choose>
508508
</macro>
@@ -1127,11 +1127,11 @@
11271127
<choose>
11281128
<if variable="reviewed-title">
11291129
<!-- Not possible to distinguish TV series episode from other reviewed works [Ex. 69] -->
1130-
<text variable="reviewed-title" form="short" font-style="italic"/>
1130+
<text variable="reviewed-title" form="short" font-style="italic" text-case="title"/>
11311131
</if>
11321132
<else>
11331133
<!-- Assume title is title of reviewed work -->
1134-
<text variable="title" form="short" font-style="italic"/>
1134+
<text variable="title" form="short" font-style="italic" text-case="title"/>
11351135
</else>
11361136
</choose>
11371137
</macro>

apa-no-ampersand.csl

+8-8
Original file line numberDiff line numberDiff line change
@@ -461,13 +461,13 @@
461461
<text macro="bracketed-intext" prefix="[" suffix="]"/>
462462
</if>
463463
<else-if type="bill">
464-
<!-- If a bill has no number or container-title, assume it is a hearing; italic and title case -->
464+
<!-- If a bill has no number or container-title, assume it is a hearing; italic -->
465465
<choose>
466466
<if variable="number container-title" match="none">
467467
<text variable="title" form="short" font-style="italic" text-case="title"/>
468468
</if>
469469
<else-if variable="title">
470-
<text variable="title" form="short"/>
470+
<text variable="title" form="short" text-case="title"/>
471471
</else-if>
472472
<else>
473473
<group delimiter=" ">
@@ -491,18 +491,18 @@
491491
</else-if>
492492
<else-if type="legislation treaty" match="any">
493493
<!-- Legislation and treaties not italicized or quoted -->
494-
<text variable="title" form="short"/>
494+
<text variable="title" form="short" text-case="title" />
495495
</else-if>
496496
<else-if type="post webpage" match="any">
497497
<!-- Webpages are always italicized -->
498-
<text variable="title" form="short" font-style="italic"/>
498+
<text variable="title" form="short" font-style="italic" text-case="title" />
499499
</else-if>
500500
<else-if variable="container-title" match="any">
501501
<!-- Other types are italicized or quoted based on presence of container-title. As in title macro. -->
502-
<text variable="title" form="short" quotes="true"/>
502+
<text variable="title" form="short" quotes="true" text-case="title" />
503503
</else-if>
504504
<else>
505-
<text variable="title" form="short" font-style="italic"/>
505+
<text variable="title" form="short" font-style="italic" text-case="title" />
506506
</else>
507507
</choose>
508508
</macro>
@@ -1127,11 +1127,11 @@
11271127
<choose>
11281128
<if variable="reviewed-title">
11291129
<!-- Not possible to distinguish TV series episode from other reviewed works [Ex. 69] -->
1130-
<text variable="reviewed-title" form="short" font-style="italic"/>
1130+
<text variable="reviewed-title" form="short" font-style="italic" text-case="title"/>
11311131
</if>
11321132
<else>
11331133
<!-- Assume title is title of reviewed work -->
1134-
<text variable="title" form="short" font-style="italic"/>
1134+
<text variable="title" form="short" font-style="italic" text-case="title"/>
11351135
</else>
11361136
</choose>
11371137
</macro>

apa-no-doi-no-issue.csl

+13-13
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
<text macro="patent-number"/>
337337
</if>
338338
<else-if type="treaty">
339-
<text variable="title" form="short"/>
339+
<text variable="title" form="short" text-case="title"/>
340340
</else-if>
341341
<else-if type="personal_communication">
342342
<choose>
@@ -345,7 +345,7 @@
345345
<names variable="author">
346346
<name and="symbol" delimiter=", " initialize-with=". "/>
347347
<substitute>
348-
<text variable="title" form="short" quotes="true"/>
348+
<text variable="title" form="short" text-case="title" quotes="true"/>
349349
</substitute>
350350
</names>
351351
<!-- This should be localized -->
@@ -360,10 +360,10 @@
360360
<names variable="translator"/>
361361
<choose>
362362
<if variable="container-title">
363-
<text variable="title" form="short" quotes="true"/>
363+
<text variable="title" form="short" text-case="title" quotes="true"/>
364364
</if>
365365
<else>
366-
<text variable="title" form="short" font-style="italic"/>
366+
<text variable="title" form="short" text-case="title" font-style="italic"/>
367367
</else>
368368
</choose>
369369
<text macro="format-short" prefix="[" suffix="]"/>
@@ -381,10 +381,10 @@
381381
<names variable="translator"/>
382382
<choose>
383383
<if variable="container-title">
384-
<text variable="title" form="short" quotes="true"/>
384+
<text variable="title" form="short" text-case="title" quotes="true"/>
385385
</if>
386386
<else>
387-
<text variable="title" form="short" font-style="italic"/>
387+
<text variable="title" form="short" text-case="title" font-style="italic"/>
388388
</else>
389389
</choose>
390390
<text macro="format-short" prefix="[" suffix="]"/>
@@ -402,7 +402,7 @@
402402
<if variable="container-title">
403403
<choose>
404404
<if type="book entry entry-dictionary entry-encyclopedia">
405-
<text variable="title" form="short" quotes="true"/>
405+
<text variable="title" form="short" text-case="title" quotes="true"/>
406406
</if>
407407
<else>
408408
<names variable="translator"/>
@@ -421,16 +421,16 @@
421421
<text variable="title" font-style="italic"/>
422422
</else-if>
423423
<else-if type="bill legislation" match="any">
424-
<text variable="title" form="short"/>
424+
<text variable="title" form="short" text-case="title"/>
425425
</else-if>
426426
<else-if variable="reviewed-author" type="review review-book" match="any">
427427
<text macro="format-short" prefix="[" suffix="]"/>
428428
</else-if>
429429
<else-if type="post post-weblog webpage" variable="container-title" match="any">
430-
<text variable="title" form="short" quotes="true"/>
430+
<text variable="title" form="short" text-case="title" quotes="true"/>
431431
</else-if>
432432
<else>
433-
<text variable="title" form="short" font-style="italic"/>
433+
<text variable="title" form="short" text-case="title" font-style="italic"/>
434434
</else>
435435
</choose>
436436
<text macro="format-short" prefix="[" suffix="]"/>
@@ -706,20 +706,20 @@
706706
<!-- Delimiting by , rather than "of" to avoid incorrect grammar -->
707707
<group delimiter=", ">
708708
<text variable="genre" text-case="capitalize-first"/>
709-
<text variable="title" form="short" font-style="italic"/>
709+
<text variable="title" form="short" text-case="title" font-style="italic"/>
710710
</group>
711711
</if>
712712
<else>
713713
<!-- This should be localized -->
714714
<group delimiter=" ">
715715
<text value="Review of"/>
716-
<text variable="title" form="short" font-style="italic"/>
716+
<text variable="title" form="short" text-case="title" font-style="italic"/>
717717
</group>
718718
</else>
719719
</choose>
720720
</if>
721721
<else>
722-
<text variable="title" form="short" quotes="true"/>
722+
<text variable="title" form="short" text-case="title" quotes="true"/>
723723
</else>
724724
</choose>
725725
</if>

apa-old-doi-prefix.csl

+13-13
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
<text macro="patent-number"/>
337337
</if>
338338
<else-if type="treaty">
339-
<text variable="title" form="short"/>
339+
<text variable="title" form="short" text-case="title"/>
340340
</else-if>
341341
<else-if type="personal_communication">
342342
<choose>
@@ -345,7 +345,7 @@
345345
<names variable="author">
346346
<name and="symbol" delimiter=", " initialize-with=". "/>
347347
<substitute>
348-
<text variable="title" form="short" quotes="true"/>
348+
<text variable="title" form="short" text-case="title" quotes="true"/>
349349
</substitute>
350350
</names>
351351
<!-- This should be localized -->
@@ -360,10 +360,10 @@
360360
<names variable="translator"/>
361361
<choose>
362362
<if variable="container-title">
363-
<text variable="title" form="short" quotes="true"/>
363+
<text variable="title" form="short" text-case="title" quotes="true"/>
364364
</if>
365365
<else>
366-
<text variable="title" form="short" font-style="italic"/>
366+
<text variable="title" form="short" text-case="title" font-style="italic"/>
367367
</else>
368368
</choose>
369369
<text macro="format-short" prefix="[" suffix="]"/>
@@ -381,10 +381,10 @@
381381
<names variable="translator"/>
382382
<choose>
383383
<if variable="container-title">
384-
<text variable="title" form="short" quotes="true"/>
384+
<text variable="title" form="short" text-case="title" quotes="true"/>
385385
</if>
386386
<else>
387-
<text variable="title" form="short" font-style="italic"/>
387+
<text variable="title" form="short" text-case="title" font-style="italic"/>
388388
</else>
389389
</choose>
390390
<text macro="format-short" prefix="[" suffix="]"/>
@@ -402,7 +402,7 @@
402402
<if variable="container-title">
403403
<choose>
404404
<if type="book entry entry-dictionary entry-encyclopedia">
405-
<text variable="title" form="short" quotes="true"/>
405+
<text variable="title" form="short" text-case="title" quotes="true"/>
406406
</if>
407407
<else>
408408
<names variable="translator"/>
@@ -421,16 +421,16 @@
421421
<text variable="title" font-style="italic"/>
422422
</else-if>
423423
<else-if type="bill legislation" match="any">
424-
<text variable="title" form="short"/>
424+
<text variable="title" form="short" text-case="title"/>
425425
</else-if>
426426
<else-if variable="reviewed-author" type="review review-book" match="any">
427427
<text macro="format-short" prefix="[" suffix="]"/>
428428
</else-if>
429429
<else-if type="post post-weblog webpage" variable="container-title" match="any">
430-
<text variable="title" form="short" quotes="true"/>
430+
<text variable="title" form="short" text-case="title" quotes="true"/>
431431
</else-if>
432432
<else>
433-
<text variable="title" form="short" font-style="italic"/>
433+
<text variable="title" form="short" text-case="title" font-style="italic"/>
434434
</else>
435435
</choose>
436436
<text macro="format-short" prefix="[" suffix="]"/>
@@ -692,20 +692,20 @@
692692
<!-- Delimiting by , rather than "of" to avoid incorrect grammar -->
693693
<group delimiter=", ">
694694
<text variable="genre" text-case="capitalize-first"/>
695-
<text variable="title" form="short" font-style="italic"/>
695+
<text variable="title" form="short" text-case="title" font-style="italic"/>
696696
</group>
697697
</if>
698698
<else>
699699
<!-- This should be localized -->
700700
<group delimiter=" ">
701701
<text value="Review of"/>
702-
<text variable="title" form="short" font-style="italic"/>
702+
<text variable="title" form="short" text-case="title" font-style="italic"/>
703703
</group>
704704
</else>
705705
</choose>
706706
</if>
707707
<else>
708-
<text variable="title" form="short" quotes="true"/>
708+
<text variable="title" form="short" text-case="title" quotes="true"/>
709709
</else>
710710
</choose>
711711
</if>

0 commit comments

Comments
 (0)