Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid auto-split of titles on legal_case type
- Loading branch information
Showing
2 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
>>===== MODE =====>> | ||
citation | ||
<<===== MODE =====<< | ||
|
||
>>===== OPTIONS =====>> | ||
{ | ||
"main_title_from_short_title": true, | ||
"uppercase_subtitles": true, | ||
"implicit_short_title": true | ||
|
||
} | ||
<<===== OPTIONS =====<< | ||
|
||
|
||
>>===== RESULT =====>> | ||
# Empty short-title | ||
With variable=’title’: Smith v. Jones | ||
With variable=’title’ and form=’short’: Smith v. Jones | ||
With variable=’title-short’: | ||
With variable=’title-short’ and form=’short’: | ||
# With title-short of “Smith” | ||
With variable=’title’: Smith v. Jones | ||
With variable=’title’ and form=’short’: Smith | ||
With variable=’title-short’: Smith | ||
With variable=’title-short’ and form=’short’: Smith | ||
<<===== RESULT =====<< | ||
|
||
|
||
|
||
>>===== CITATION-ITEMS =====>> | ||
[ | ||
[ | ||
{ | ||
"id": "ITEM-1" | ||
}, | ||
{ | ||
"id": "ITEM-2" | ||
} | ||
] | ||
] | ||
<<===== CITATION-ITEMS =====<< | ||
|
||
|
||
|
||
>>===== CSL =====>> | ||
<style | ||
xmlns="http://purl.org/net/xbiblio/csl" | ||
class="note" | ||
version="1.0" | ||
default-locale="en-x-translit-ja"> | ||
<info> | ||
<id /> | ||
<title /> | ||
<updated>2009-08-10T04:49:00+09:00</updated> | ||
</info> | ||
<citation> | ||
<layout delimiter="
"> | ||
<group delimiter="
"> | ||
<text variable="genre"/> | ||
<group delimiter=" "> | ||
<group><text value=" With variable='title':"/></group> | ||
<text variable="title"/> | ||
</group> | ||
<group delimiter=" "> | ||
<group><text value=" With variable='title' and form='short':"/></group> | ||
<text variable="title" form="short"/> | ||
</group> | ||
<group delimiter=" "> | ||
<group><text value=" With variable='title-short':"/></group> | ||
<text variable="title-short"/> | ||
</group> | ||
<group delimiter=" "> | ||
<group><text value=" With variable='title-short' and form='short':"/></group> | ||
<text variable="title-short" form="short"/> | ||
</group> | ||
</group> | ||
</layout> | ||
</citation> | ||
</style> | ||
<<===== CSL =====<< | ||
|
||
>>===== INPUT =====>> | ||
[ | ||
{ | ||
"id": "ITEM-1", | ||
"type": "legal_case", | ||
"title": "Smith v. Jones", | ||
"genre": "# Empty short-title" | ||
}, | ||
{ | ||
"id": "ITEM-2", | ||
"type": "legal_case", | ||
"title": "Smith v. Jones", | ||
"title-short": "Smith", | ||
"genre": "# With title-short of 'Smith'" | ||
} | ||
] | ||
<<===== INPUT =====<< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters