Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced functional materials #5080

Merged
merged 2 commits into from
Oct 28, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Some fixes for Advanced Functional Material
Add Biotechnology journal as dependent based on styleguide
  • Loading branch information
adam3smith committed Oct 28, 2020
commit 8c3e529e08e0b126b3aebfbdd5106bf0a0338453
86 changes: 38 additions & 48 deletions advanced-functional-materials.csl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-US">
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Advanced Functional Materials</title>
<id>http://www.zotero.org/styles/advanced-functional-materials</id>
Expand All @@ -15,6 +14,9 @@
<name>Ivan Bushmarinov</name>
<email>ib@ineos.ac.ru</email>
</contributor>
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<category citation-format="numeric"/>
<category field="chemistry"/>
<issn>1616-301X</issn>
Expand All @@ -24,19 +26,23 @@
<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>
<macro name="editor">
<names variable="editor">
<names variable="editor" prefix="(" suffix=")">
<label form="short" suffix=": " text-case="capitalize-first"/>
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter="; " delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="capitalize-first"/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name delimiter=", " delimiter-precedes-last="always" initialize-with=". "/>
<label form="short" prefix=", " text-case="capitalize-first"/>
<substitute>
<names variable="editor"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="publisher">
<group delimiter=": ">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
Expand All @@ -47,12 +53,16 @@
<text variable="volume"/>
</group>
</macro>
<macro name="series">
<text variable="collection-title"/>
</macro>
<macro name="pages">
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
<choose>
<if variable="page" match="any">
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</if>
<else-if type="article-journal">
<text variable="DOI" prefix="DOI "/>
</else-if>
</choose>
</macro>
<macro name="book-container">
<group delimiter=" ">
Expand All @@ -61,7 +71,7 @@
</group>
</macro>
<macro name="issued">
<date variable="issued" delimiter=" ">
<date variable="issued" delimiter=" " font-weight="bold">
<date-part name="year"/>
</date>
</macro>
Expand Down Expand Up @@ -119,58 +129,38 @@
<text macro="pages"/>
</group>
</else-if>
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<group delimiter="; ">
<text variable="title" font-style="italic"/>
<text macro="editor" prefix=" "/>
<text macro="series"/>
<text macro="edition"/>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="issued"/>
</group>
<group delimiter=", ">
<text macro="volume"/>
<text macro="pages"/>
</group>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<group delimiter="; ">
<text macro="book-container"/>
<text macro="editor"/>
<text macro="series"/>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="issued"/>
</group>
<group delimiter=", ">
<text macro="volume"/>
<text macro="pages"/>
<group delimiter=", ">
<group delimiter=" ">
<text macro="book-container"/>
<text macro="editor"/>
</group>
<text macro="publisher"/>
<text macro="issued"/>
<text macro="pages"/>
</group>
</else-if>
<else-if type="article-journal">
<else-if type="article-journal article-magazine" match="any">
<group delimiter=" ">
<text variable="container-title" font-style="italic" form="short"/>
<group delimiter=", ">
<text macro="issued" font-weight="bold"/>
<text macro="issued"/>
<text variable="volume" font-style="italic"/>
<text variable="page-first" form="long"/>
</group>
</group>
</else-if>
<else>
<group delimiter=" ">
<group delimiter=". ">
<text variable="title"/>
<text variable="container-title" font-style="italic" form="short"/>
</group>
<group delimiter=", ">
<text macro="issued" font-weight="bold"/>
<text variable="volume" font-style="italic"/>
<text variable="page"/>
<group delimiter=", ">
<group delimiter=" ">
<text variable="title" font-style="italic"/>
<text macro="editor"/>
</group>
<text macro="edition"/>
<text macro="volume"/>
<text macro="publisher"/>
<text macro="issued"/>
<text macro="pages"/>
</group>
</else>
</choose>
Expand Down
17 changes: 17 additions & 0 deletions dependent/biotechnology-journal.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" default-locale="en-US">
<info>
<title>Biotechnology Journal</title>
<title-short>BTJ</title-short>
<id>http://www.zotero.org/styles/biotechnology-journal</id>
<link href="http://www.zotero.org/styles/biotechnology-journal" rel="self"/>
<link href="http://www.zotero.org/styles/advanced-functional-materials" rel="independent-parent"/>
<link href="https://onlinelibrary.wiley.com/journal/18607314/homepage/2446_for_authors.html" rel="documentation"/>
<category citation-format="numeric"/>
<category field="biology"/>
<issn>1860-6768</issn>
<eissn>1860-7314</eissn>
<updated>2020-10-01T16:18:03+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>
</style>