Skip to content

Commit

Permalink
create independent style for cellular-and-molecular-gastroenterology-…
Browse files Browse the repository at this point in the history
…and-hepatology.csl (JabRef#4852)
  • Loading branch information
POBrien333 authored Jun 12, 2020
1 parent 87b0853 commit 9e16631
Show file tree
Hide file tree
Showing 2 changed files with 206 additions and 14 deletions.
206 changes: 206 additions & 0 deletions cellular-and-molecular-gastroenterology-and-hepatology.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
<?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" default-locale="en-US">
<info>
<title>Cellular and Molecular Gastroenterology and Hepatology</title>
<title-short>CMGH</title-short>
<id>http://www.zotero.org/styles/cellular-and-molecular-gastroenterology-and-hepatology</id>
<link href="http://www.zotero.org/styles/cellular-and-molecular-gastroenterology-and-hepatology" rel="self"/>
<link href="http://www.zotero.org/styles/human-gene-therapy" rel="template"/>
<link href="https://www.cmghjournal.org/content/authorinfo" rel="documentation"/>
<link href="https://www.elsevier.com/journals/cellular-and-molecular-gastroenterology-and-hepatology/2352-345x/submitting#guidelines" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="numeric"/>
<category field="biology"/>
<issn>2352-345X</issn>
<updated>2020-06-08T09:53:50+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>
<locale xml:lang="en">
<terms>
<term name="available at">available from</term>
</terms>
</locale>
<macro name="author">
<names variable="author" suffix=". ">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=")" strip-periods="true"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" strip-periods="true" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="date">
<choose>
<if type="article-newspaper report" match="any">
<date variable="issued" form="text"/>
</if>
<else>
<date variable="issued" form="text" date-parts="year"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=". ">
<group delimiter=" ">
<text variable="genre" text-case="title"/>
<text variable="number"/>
</group>
<group delimiter=": ">
<choose>
<if type="thesis" match="none">
<text variable="publisher-place"/>
</if>
</choose>
<text variable="publisher"/>
</group>
<choose>
<if variable="URL" match="none">
<text macro="date"/>
</if>
</choose>
</group>
</macro>
<macro name="access">
<choose>
<if variable="page" match="none">
<choose>
<if variable="DOI" match="any">
<group prefix=". " delimiter=". ">
<date variable="issued" form="text" prefix="Epub ahead of print "/>
<text variable="DOI" prefix="DOI: "/>
</group>
</if>
<else>
<group delimiter=". ">
<group delimiter=": ">
<text term="available at" text-case="capitalize-first"/>
<text variable="URL"/>
</group>
<text macro="accessed-date"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="accessed-date">
<choose>
<if variable="URL">
<group delimiter=". ">
<text macro="date"/>
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" form="text"/>
</group>
</group>
</if>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal" match="any">
<text variable="container-title" form="short" strip-periods="true" font-style="normal"/>
</if>
<else>
<text variable="container-title" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book patent report thesis" match="any">
<text variable="title"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="page">
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," vertical-align="sup">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography delimiter-precedes-et-al="always" second-field-align="flush" line-spacing="2">
<layout suffix=".">
<text variable="citation-number" suffix=". "/>
<text macro="author"/>
<text macro="title"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture patent report song thesis" match="any">
<group delimiter=". " prefix=". ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter="; " prefix=". ">
<group delimiter=". ">
<group delimiter=" ">
<text term="in" suffix=":" text-case="capitalize-first"/>
<text macro="editor"/>
<text variable="container-title" font-style="normal"/>
</group>
<text macro="publisher"/>
</group>
<text macro="page"/>
</group>
</else-if>
<else-if type="article-newspaper article-magazine" match="any">
<group delimiter=", " prefix=". ">
<text macro="container-title"/>
<text macro="date"/>
<text macro="page"/>
</group>
</else-if>
<else>
<group delimiter=";" prefix=". ">
<group delimiter=" ">
<text macro="container-title"/>
<choose>
<if variable="page" match="any">
<text macro="date"/>
</if>
</choose>
</group>
<group delimiter=":">
<text variable="volume"/>
<text variable="page"/>
</group>
</group>
</else>
</choose>
<text macro="access" prefix=" "/>
</layout>
</bibliography>
</style>

This file was deleted.

0 comments on commit 9e16631

Please sign in to comment.