Commit f78c707 1 parent 2169ddc commit f78c707 Copy full SHA for f78c707
File tree 2 files changed +102
-4
lines changed
2 files changed +102
-4
lines changed Original file line number Diff line number Diff line change 483
483
</else >
484
484
</choose >
485
485
</macro >
486
+ <macro name =" originally-published" >
487
+ <group delimiter =" , " >
488
+ <group delimiter =" : " >
489
+ <text variable =" original-publisher-place" />
490
+ <text variable =" original-publisher" />
491
+ </group >
492
+ <choose >
493
+ <if is-uncertain-date =" original-date" >
494
+ <date variable =" original-date" form =" numeric" date-parts =" year" prefix =" [" suffix =" ?]" />
495
+ </if >
496
+ <else >
497
+ <date variable =" original-date" form =" numeric" date-parts =" year" />
498
+ </else >
499
+ </choose >
500
+ </group >
501
+ </macro >
502
+ <macro name =" reprint-note" >
503
+ <!-- needs localization-->
504
+ <choose >
505
+ <if variable =" original-date issued" match =" all" >
506
+ <choose >
507
+ <!-- for whatever reason in notes, when we have both original and new publishers, reprint doesn't appear-->
508
+ <if variable =" original-publisher original-publisher-place" match =" none" >
509
+ <text value =" repr." />
510
+ </if >
511
+ </choose >
512
+ </if >
513
+ </choose >
514
+ </macro >
515
+ <macro name =" reprint" >
516
+ <!-- needs localization-->
517
+ <choose >
518
+ <if variable =" original-date issued" match =" all" >
519
+ <text value =" reprint" text-case =" capitalize-first" />
520
+ </if >
521
+ </choose >
522
+ </macro >
486
523
<macro name =" issued" >
487
524
<choose >
488
525
<if variable =" issued" >
627
664
</choose >
628
665
<text macro =" event" />
629
666
</group >
630
- <text macro =" publisher" />
667
+ <group delimiter =" ; " >
668
+ <text macro =" originally-published" />
669
+ <group delimiter =" , " >
670
+ <text macro =" reprint-note" />
671
+ <text macro =" publisher" />
672
+ </group >
673
+ </group >
631
674
<text macro =" issued" />
632
675
</group >
633
676
</else-if >
659
702
<text variable =" genre" text-case =" capitalize-first" />
660
703
</if >
661
704
</choose >
662
- <text macro =" publisher" />
705
+ <group delimiter =" . " >
706
+ <text macro =" originally-published" />
707
+ <group delimiter =" , " >
708
+ <text macro =" reprint" />
709
+ <text macro =" publisher" />
710
+ </group >
711
+ </group >
663
712
<text macro =" issued" />
664
713
</group >
665
714
</else-if >
Original file line number Diff line number Diff line change 483
483
</else >
484
484
</choose >
485
485
</macro >
486
+ <macro name =" originally-published" >
487
+ <group delimiter =" , " >
488
+ <group delimiter =" : " >
489
+ <text variable =" original-publisher-place" />
490
+ <text variable =" original-publisher" />
491
+ </group >
492
+ <choose >
493
+ <if is-uncertain-date =" original-date" >
494
+ <date variable =" original-date" form =" numeric" date-parts =" year" prefix =" [" suffix =" ?]" />
495
+ </if >
496
+ <else >
497
+ <date variable =" original-date" form =" numeric" date-parts =" year" />
498
+ </else >
499
+ </choose >
500
+ </group >
501
+ </macro >
502
+ <macro name =" reprint-note" >
503
+ <!-- needs localization-->
504
+ <choose >
505
+ <if variable =" original-date issued" match =" all" >
506
+ <choose >
507
+ <!-- for whatever reason in notes, when we have both original and new publishers, reprint doesn't appear-->
508
+ <if variable =" original-publisher original-publisher-place" match =" none" >
509
+ <text value =" repr." />
510
+ </if >
511
+ </choose >
512
+ </if >
513
+ </choose >
514
+ </macro >
515
+ <macro name =" reprint" >
516
+ <!-- needs localization-->
517
+ <choose >
518
+ <if variable =" original-date issued" match =" all" >
519
+ <text value =" reprint" text-case =" capitalize-first" />
520
+ </if >
521
+ </choose >
522
+ </macro >
486
523
<macro name =" issued" >
487
524
<choose >
488
525
<if variable =" issued" >
627
664
</choose >
628
665
<text macro =" event" />
629
666
</group >
630
- <text macro =" publisher" />
667
+ <group delimiter =" ; " >
668
+ <text macro =" originally-published" />
669
+ <group delimiter =" , " >
670
+ <text macro =" reprint-note" />
671
+ <text macro =" publisher" />
672
+ </group >
673
+ </group >
631
674
<text macro =" issued" />
632
675
</group >
633
676
</else-if >
659
702
<text variable =" genre" text-case =" capitalize-first" />
660
703
</if >
661
704
</choose >
662
- <text macro =" publisher" />
705
+ <group delimiter =" . " >
706
+ <text macro =" originally-published" />
707
+ <group delimiter =" , " >
708
+ <text macro =" reprint" />
709
+ <text macro =" publisher" />
710
+ </group >
711
+ </group >
663
712
<text macro =" issued" />
664
713
</group >
665
714
</else-if >
You can’t perform that action at this time.
0 commit comments