Skip to content

Commit

Permalink
Two additional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Aug 24, 2019
1 parent 79cd149 commit 02e270d
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 0 deletions.
58 changes: 58 additions & 0 deletions fixtures/local/form_UppercaseSubtitleWithNumber.txt
@@ -0,0 +1,58 @@
>>===== MODE =====>>
citation
<<===== MODE =====<<



>>===== RESULT =====>>
6.1: Should not trigger implicit short title
<<===== RESULT =====<<


>>===== CITATION-ITEMS =====>>
[
[
{
"id": "ITEM-1"
}
]
]
<<===== CITATION-ITEMS =====<<



>>===== OPTIONS =====>>
{
"uppercase_subtitles": true,
"implicit_short_title": true
}
<<===== OPTIONS =====<<

>>===== CSL =====>>
<style
xmlns="http://purl.org/net/xbiblio/csl"
class="note"
version="1.0">
<info>
<id />
<title />
<updated>2009-08-10T04:49:00+09:00</updated>
</info>
<citation>
<layout>
<text variable="title" form="short"/>
</layout>
</citation>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
{
"id": "ITEM-1",
"title": "6.1 : should not trigger implicit short title",
"type": "article-journal"
}
]
<<===== INPUT =====<<
85 changes: 85 additions & 0 deletions fixtures/local/range_PageMinimal.txt
@@ -0,0 +1,85 @@
>>===== MODE =====>>
bibliography
<<===== MODE =====<<

>>===== DESCRIPTION =====>>
should pass test style_test001
<<===== DESCRIPTION =====<<

>>===== RESULT =====>>
<div class="csl-bib-body">
<div class="csl-entry">22–22</div>
</div>
<<===== RESULT =====<<

>>===== CSL =====>>
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="minimal">
<info>
<title>Vancouver</title>
<id>http://www.zotero.org/styles/vancouver</id>
<link href="http://www.zotero.org/styles/vancouver" rel="self"/>
<link href="http://www.nlm.nih.gov/bsd/uniform_requirements.html" rel="documentation"/>
<author>
<name>Michael Berkowitz</name>
<email>mberkowi@gmu.edu</email>
</author>
<contributor>
<name>Sean Takats</name>
<email>stakats@gmu.edu</email>
</contributor>
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<category citation-format="numeric"/>
<category field="medicine"/>
<summary>Vancouver style as outlined by International Committee of Medical Journal Editors Uniform Requirements for Manuscripts Submitted to Biomedical Journals: Sample References</summary>
<updated>2014-09-06T16:03:01+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<citation collapse="citation-number">
<layout>
<text variable="citation-number"/>
</layout>
</citation>
<bibliography>
<layout>
<number variable="page"/>
</layout>
</bibliography>

<<===== CSL =====<<

>>===== INPUT =====>>
[
{
"type": "article-journal",
"title": "Correlation of dental calcification and skeletal maturity indicators",
"author": [
{
"given": "Rana Modassir Shamsher",
"family": "Khan"
},
{
"given": "Abida",
"family": "Ijaz"
}
],
"container-title": "Annals of King Edward Medical University",
"volume": "17",
"issue": "1",
"page": "22-22",
"issued": {
"raw": "2011"
},
"language": "en",
"DOI": "10.21649/akemu.v17i1.264",
"ISSN": "2079-0694",
"source": "www.annalskemu.org",
"multi": {
"main": {},
"_keys": {}
}
}
]
<<===== INPUT =====<<

0 comments on commit 02e270d

Please sign in to comment.