@@ -274,6 +274,20 @@ all the other tests should have been done... -->
274
274
</choose >
275
275
</group >
276
276
</macro >
277
+ <macro name =" render-legislation" >
278
+ <group delimiter =" , " >
279
+ <!-- if no volume, assume bill -->
280
+ <group delimiter =" " >
281
+ <text variable =" title" font-style =" italic" />
282
+ <text variable =" references" prefix =" (" suffix =" )" />
283
+ </group >
284
+ <group delimiter =" " >
285
+ <text variable =" container-title" />
286
+ <date form =" text" variable =" issued" date-parts =" year" />
287
+ </group >
288
+ <text variable =" section" />
289
+ </group >
290
+ </macro >
277
291
<macro name =" render-patent" >
278
292
<group delimiter =" " >
279
293
<text variable =" title" quotes =" true" suffix =" ," />
@@ -386,6 +400,11 @@ Not implemented: "cited to" for cases construct short casenames adding ref to ar
386
400
</names >
387
401
</substitute >
388
402
</names >
403
+ <choose >
404
+ <if type =" article-journal" >
405
+ <text variable =" title-short" quotes =" true" prefix =" , " />
406
+ </if >
407
+ </choose >
389
408
</if >
390
409
<else >
391
410
<choose >
@@ -445,9 +464,12 @@ Not implemented: "cited to" for cases construct short casenames adding ref to ar
445
464
<group >
446
465
<group delimiter =" , " >
447
466
<choose >
448
- <if type =" bill legislation" match =" any" >
449
- <text macro =" render-bill " />
467
+ <if type =" legislation" match =" any" >
468
+ <text macro =" render-legislation " />
450
469
</if >
470
+ <else-if type =" bill" match =" any" >
471
+ <text macro =" render-bill" />
472
+ </else-if >
451
473
<else-if type =" song" match =" any" >
452
474
<text macro =" render-song" />
453
475
</else-if >
@@ -507,9 +529,9 @@ Not implemented: "cited to" for cases construct short casenames adding ref to ar
507
529
<choose >
508
530
<if type =" legal_case" match =" any" >
509
531
<text variable =" references" prefix =" , " />
532
+ <text variable =" title-short" prefix =" [" suffix =" ]" font-style =" italic" />
510
533
</if >
511
534
</choose >
512
- <text variable =" title-short" prefix =" [" suffix =" ]" font-style =" italic" />
513
535
</group >
514
536
</else >
515
537
</choose >
0 commit comments