In-text/Inline citation modification
Hi guys,
How can I change just the In-text citation while keeping the reference style?
I need to use the Cell style for the references in my thesis. But I am facing two problems with its In-text citation format ("Name, year"):
1) Unnecessary space consume
2) Impossibility to cite references that are in websites. The following message appears as In-text citation: "CSL Style Error: reference with no printed form".
I am allowed and would like to use a numeric citation format "(1)". I have been trying to change just the In-text citation style in Zotero while keeping the reference Cell style but without success.
I am new in Zotero. Is this actually possible?
How can I change just the In-text citation while keeping the reference style?
I need to use the Cell style for the references in my thesis. But I am facing two problems with its In-text citation format ("Name, year"):
1) Unnecessary space consume
2) Impossibility to cite references that are in websites. The following message appears as In-text citation: "CSL Style Error: reference with no printed form".
I am allowed and would like to use a numeric citation format "(1)". I have been trying to change just the In-text citation style in Zotero while keeping the reference Cell style but without success.
I am new in Zotero. Is this actually possible?
https://www.zotero.org/styles?q=id:the-american-journal-of-human-genetics looks like it would do what you want (though with a superscript number instead of (1) in the text)
1. Select Documents Preferences in the Zotero Tab on Word
2. Select the cell citation style pre-install in zotero and click “manage styles”
3. Click on style editor
4. Click and selected “cell” if its not selected and then place the cursor in the text and press “ctrl + a”
5. Press “delete”
6. Copy the code below:
<?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>Cell journals (numeric)</title>
<id>http://www.zotero.org/styles/cell-numeric</id>
<link href="http://www.zotero.org/styles/cell-numeric" rel="self"/>
<link href="http://www.cell.com/current-biology/authors" rel="documentation"/>
<author>
<name>Sebastian Karcher</name>
</author>
<contributor>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</contributor>
<category citation-format="numeric"/>
<category field="biology"/>
<summary>The style for Cell Journals using numerical citations, such as Current Biology</summary>
<updated>2016-07-28T09:56:00+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>
<macro name="editor">
<names variable="editor" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", "/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
<et-al font-style="italic"/>
<label form="short" prefix=" "/>
<substitute>
<names variable="editor"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="access">
<choose>
<if variable="URL">
<text value="Available at:" suffix=" "/>
<text variable="URL"/>
<group prefix=" [" suffix="]">
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</if>
</choose>
</macro>
<macro name="title">
<text variable="title"/>
</macro>
<macro name="publisher">
<group prefix="(" delimiter=": " suffix=")">
<text variable="publisher-place"/>
<text variable="publisher"/>
</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 prefix="[" suffix="]" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="11" et-al-use-first="10" second-field-align="flush">
<sort>
<key variable="citation-number"/>
</sort>
<layout suffix=".">
<text variable="citation-number" suffix="."/>
<text macro="author"/>
<date variable="issued" prefix=" (" suffix=").">
<date-part name="year"/>
</date>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=" " prefix=" ">
<text macro="title"/>
<text macro="edition"/>
<text macro="editor"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=" " prefix=" ">
<text macro="title" suffix="."/>
<text term="in" text-case="capitalize-first"/>
<text variable="container-title"/>
<text variable="collection-title" suffix="."/>
</group>
<text macro="editor" prefix=", "/>
<group suffix=".">
<text macro="publisher" prefix=" "/>
<group prefix=", ">
<label variable="page" suffix=" " form="short"/>
<text variable="page"/>
</group>
</group>
</else-if>
<else>
<text macro="title" prefix=" " suffix="."/>
<group delimiter=", " prefix=" " suffix=".">
<group delimiter=" ">
<text variable="container-title" form="short"/>
<text variable="volume" font-style="italic"/>
</group>
<text variable="page"/>
</group>
</else>
</choose>
<text prefix=" " macro="access"/>
</layout>
</bibliography>
</style>
7. Paste in the empty field and click “save as” at the top left hand corner
8. Name it “cell numeric” and click save (remember where you saved the file)
9. Go to zotero preferences and click the little “+” button at the bottom right
10. Go to the folder whereyou saved the newly created citation style and select the file.
11. Done!!!
12. Now you can go to “document preferences”, select the newly installed citation style, then refresh!
13. Done done!!!
14. Update coming soon (we have square brackets not semi-circles)!!!