BibTeX generic citation style

titleBibTeX generic citation style
IDhttp://www.zotero.org/styles/bibtex
rightsThis work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License
updated2012-09-14T21:22:32+00:00
link (self)http://www.zotero.org/styles/bibtex
link (documentation)http://www.bibtex.org/
author Markus Schaffner
contributor Richard Karnesky (karnesky+zotero@gmail.com) http://arc.nucapt.northwestern.edu/Richard_Karnesky
contributor Brenton M. Wiernik (zotero@wiernik.org)
citation-format label
field generic-base

Example Output

Inline citations

Mares_2001
Ahlquist_Breunig_2009_Campbell_Pedersen_2007_Isaacson_2011_Mares_2001
Ahlquist_Breunig_2009_Borges_1999_Fenner_Crosas_Grethe_Kennedy_Hermjakob_Rocca-Serra_Durand_Berjon_Karcher_Martone_et al._2019_Foderaro_2012_Hawking_1966_Mares_2001_Hancké_Rhodes_Thatcher_2007_CSL search by example_2012_Zelle_Shaw_Dijken_2016

Bibliography

@book{Ahlquist_Breunig_2009, address={Cologne}, type={MPIfG Discussion Paper}, title={Country clustering in comparative political economy}, number={09–5}, institution={Max-Planck Institute for the Study of Societies}, author={Ahlquist, John S. and Breunig, Christian}, year={2009} }
@book{Borges_1999, address={New York, NY}, edition={3}, title={Selected non-fictions}, volume={1}, ISBN={0-670-84947-2}, publisher={Viking}, author={Borges, Jorge Luis}, editor={Weinberger, Eliot, Allen, Esther and Levine, Suzanne Jill and Weinberger, Eliot}, year={1999}, language={en-US} }
@article{Campbell_Pedersen_2007, title={The varieties of capitalism and hybrid success}, volume={40}, ISSN={1552-3829}, url={https://journals.sagepub.com/doi/abs/10.1177/0010414006286542}, DOI={10.1177/0010414006286542}, abstractNote={The varieties of capitalism literature maintains that advanced capitalist countries whose institutions best fit either the liberal or coordinated market economy types will perform better than countries whose institutions are mixed. This is because hybrids are less likely to yield functionally beneficial institutional complementarities. The authors challenge this assertion. Denmark has performed as well as many purer cases during the 1990s. And Denmark has recently developed a more hybrid form than is generally recognized by (a) increasing the exposure of actors to market forces and (b) decentralizing collective learning and decision making. The institutional complementarities associated with such hybridization have contributed to its success; however, these complementarities are based on institutional heterogeneity rather than homogeneity. This is demonstrated by analyses of three cases: Danish labor markets, vocational training, and industrial policy. The implication of the authors’ argument is that the varieties of capitalism theory is logically flawed.}, number={3}, journal={Comparative Political Studies}, author={Campbell, John L. and Pedersen, Ove K.}, year={2007}, month={Mar}, pages={307–332}, language={en-US} }
@article{Fenner_Crosas_Grethe_Kennedy_Hermjakob_Rocca-Serra_Durand_Berjon_Karcher_Martone_et al._2019, title={A data citation roadmap for scholarly data repositories}, volume={6}, ISSN={2052-4463}, url={http://www.nature.com/articles/s41597-019-0031-8}, DOI={10.1038/s41597-019-0031-8}, abstractNote={This article presents a practical roadmap for scholarly data repositories to implement data citation in accordance with the Joint Declaration of Data Citation Principles, a synopsis and harmonization of the recommendations of major science policy bodies. The roadmap was developed by the Repositories Expert Group, as part of the Data Citation Implementation Pilot (DCIP) project, an initiative of FORCE11.org and the NIH-funded BioCADDIE project. The roadmap makes 11 specific recommendations, grouped into three phases of implementation: a) required steps needed to support the Joint Declaration of Data Citation Principles, b) recommended steps that facilitate article/data publication workflows, and c) optional steps that further improve data citation support provided by data repositories. We describe the early adoption of these recommendations 18 months after they have first been published, looking specifically at implementations of machine-readable metadata on dataset landing pages.}, number={1}, journal={Scientific Data}, author={Fenner, Martin and Crosas, Mercè and Grethe, Jeffrey S. and Kennedy, David and Hermjakob, Henning and Rocca-Serra, Phillippe and Durand, Gustavo and Berjon, Robin and Karcher, Sebastian and Martone, Maryann and Clark, Tim}, year={2019}, month={Apr}, pages={28}, language={En} }
@article{Foderaro_2012, address={New York}, title={Rooftop greenhouse will boost city farming}, ISSN={0362-4331}, journal={New York Times}, author={Foderaro, Lisa W.}, year={2012}, month={Apr}, pages={A20}, language={en-US} }
@phdthesis{Hawking_1966, address={Cambridge, UK}, type={Doctoral thesis}, title={Properties of expanding universes}, url={https://www.repository.cam.ac.uk/handle/1810/251038}, DOI={10.17863/CAM.11283}, abstractNote={Some implications and consequences of the expansion of the universe are examined. In Chapter 1 it is shown that this expansion creates grave difficulties for the Hoyle-Narlikar theory of gravitation. Chapter 2 deals with perturbations of an expanding homogeneous and isotropic universe. The conclusion is reached that galaxies cannot be formed as a result of the growth of perturbations that were initially small. The propagation and absorption of gravitational radiation is also investigated in this approximation. In Chapter 3 gravitational radiation in an expanding universe is examined by a method of asymptotic expansions. The “peeling off” behaviour and the asymptotic group are derived. Chapter 4 deals with the occurrence of singularities in cosmological models. It is shown that a singularity is inevitable provided that certain very general conditions are satisfied.}, school={University of Cambridge}, author={Hawking, Stephen}, year={1966}, month={Mar}, language={en} }
@book{Isaacson_2011, address={New York, NY}, title={Steve Jobs}, ISBN={978-1-4516-4853-9}, publisher={Simon & Schuster}, author={Isaacson, Walter}, year={2011}, month={Oct}, language={en-US} }
@inbook{Mares_2001, address={New York}, title={Firms and the welfare state: When, why, and how does social policy matter to employers?}, booktitle={Varieties of capitalism. The institutional foundations of comparative advantage}, publisher={Oxford University Press}, author={Mares, Isabela}, editor={Hall, Peter A. and Soskice, David}, year={2001}, pages={184–213} }
@misc{Zelle_Shaw_Dijken_2016, title={Method for acetate consumption during ethanolic fermentation of cellulosic feedstocks}, callNumber={US15/150,534}, url={https://patents.google.com/patent/US20160265005A1/en?inventor=rintze+zelle&oq=rintze+zelle}, number={US20160265005A1}, author={Zelle, Rintze M. and Shaw, Arthur J., IV and Dijken, Johannes Pieter van}, year={2016}, month={Sep} }
@book{Hancké_Rhodes_Thatcher_2007, address={Oxford and New York, NY}, title={Beyond varieties of capitalism: Conflict, contradiction, and complementarities in the European economy}, ISBN={978-0-19-920648-3}, publisher={Oxford University Press}, year={2007}, language={en} }
@misc{CSL search by example_2012, url={http://editor.citationstyles.org/searchByExample/}, journal={Citation Style Editor}, year={2012} }

CSL code

<?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>BibTeX generic citation style</title>
    <id>http://www.zotero.org/styles/bibtex</id>
    <link href="http://www.zotero.org/styles/bibtex" rel="self"/>
    <link href="http://www.bibtex.org/" rel="documentation"/>
    <author>
      <name>Markus Schaffner</name>
    </author>
    <contributor>
      <name>Richard Karnesky</name>
      <email>karnesky+zotero@gmail.com</email>
      <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
    </contributor>
    <contributor>
      <name>Brenton M. Wiernik</name>
      <email>zotero@wiernik.org</email>
    </contributor>
    <category citation-format="label"/>
    <category field="generic-base"/>
    <updated>2012-09-14T21:22:32+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="zotero2bibtexType">
    <choose>
      <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
        <text value="book"/>
      </if>
      <else-if type="chapter" match="any">
        <text value="inbook"/>
      </else-if>
      <else-if type="article article-journal article-magazine article-newspaper" match="any">
        <text value="article"/>
      </else-if>
      <else-if type="thesis" match="any">
        <text value="phdthesis"/>
      </else-if>
      <else-if type="manuscript" match="any">
        <text value="unpublished"/>
      </else-if>
      <else-if type="paper-conference" match="any">
        <text value="inproceedings"/>
      </else-if>
      <else-if type="report" match="any">
        <text value="techreport"/>
      </else-if>
      <else>
        <text value="misc"/>
      </else>
    </choose>
  </macro>
  <macro name="citeKey">
    <group delimiter="_">
      <text macro="author-short" text-case="lowercase"/>
      <text macro="issued-year"/>
    </group>
  </macro>
  <macro name="author-short">
    <names variable="author">
      <name form="short" delimiter="_" delimiter-precedes-last="always" et-al-min="11" et-al-use-first="10"/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
        <choose>
          <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
            <text variable="title" form="short"/>
          </if>
          <else>
            <text variable="title" form="short"/>
          </else>
        </choose>
      </substitute>
    </names>
  </macro>
  <macro name="issued-year">
    <date variable="issued">
      <date-part name="year"/>
    </date>
  </macro>
  <macro name="issued-month">
    <date variable="issued">
      <date-part name="month" form="short" strip-periods="true"/>
    </date>
  </macro>
  <macro name="author">
    <names variable="author">
      <name sort-separator=", " delimiter=" and " delimiter-precedes-last="always" name-as-sort-order="all"/>
    </names>
  </macro>
  <macro name="editor-translator">
    <names variable="editor translator" delimiter=", ">
      <name sort-separator=", " delimiter=" and " delimiter-precedes-last="always" name-as-sort-order="all"/>
    </names>
  </macro>
  <macro name="title">
    <text variable="title"/>
  </macro>
  <macro name="number">
    <text variable="issue"/>
    <text variable="number"/>
  </macro>
  <macro name="container-title">
    <choose>
      <if type="chapter paper-conference" match="any">
        <text variable="container-title" prefix=" booktitle={" suffix="}"/>
      </if>
      <else>
        <text variable="container-title" prefix=" journal={" suffix="}"/>
      </else>
    </choose>
  </macro>
  <macro name="publisher">
    <choose>
      <if type="thesis">
        <text variable="publisher" prefix=" school={" suffix="}"/>
      </if>
      <else-if type="report">
        <text variable="publisher" prefix=" institution={" suffix="}"/>
      </else-if>
      <else>
        <text variable="publisher" prefix=" publisher={" suffix="}"/>
      </else>
    </choose>
  </macro>
  <macro name="pages">
    <text variable="page"/>
  </macro>
  <macro name="edition">
    <!-- This should probably be ordinal? -->
    <text variable="edition"/>
  </macro>
  <citation disambiguate-add-year-suffix="true" disambiguate-add-names="false" disambiguate-add-givenname="false" collapse="year">
    <sort>
      <key macro="author"/>
      <key variable="issued"/>
    </sort>
    <layout delimiter="_">
      <text macro="citeKey"/>
    </layout>
  </citation>
  <bibliography hanging-indent="false">
    <sort>
      <key macro="author"/>
      <key variable="issued"/>
    </sort>
    <layout>
      <text macro="zotero2bibtexType" prefix=" @"/>
      <group prefix="{" suffix=" }" delimiter=", ">
        <text macro="citeKey"/>
        <text variable="publisher-place" prefix=" address={" suffix="}"/>
        <!--Fix This-->
        <text variable="chapter-number" prefix=" chapter={" suffix="}"/>
        <!--Fix This-->
        <text macro="edition" prefix=" edition={" suffix="}"/>
        <text variable="genre" prefix=" type={" suffix="}"/>
        <text variable="collection-title" prefix=" series={" suffix="}"/>
        <text macro="title" prefix=" title={" suffix="}"/>
        <text variable="volume" prefix=" volume={" suffix="}"/>
        <text variable="license" prefix=" rights={" suffix="}"/>
        <text variable="ISBN" prefix=" ISBN={" suffix="}"/>
        <text variable="ISSN" prefix=" ISSN={" suffix="}"/>
        <text variable="call-number" prefix=" callNumber={" suffix="}"/>
        <text variable="archive_location" prefix=" archiveLocation={" suffix="}"/>
        <text variable="URL" prefix=" url={" suffix="}"/>
        <text variable="DOI" prefix=" DOI={" suffix="}"/>
        <text variable="abstract" prefix=" abstractNote={" suffix="}"/>
        <text variable="note" prefix=" note={" suffix="}"/>
        <text macro="number" prefix=" number={" suffix="}"/>
        <text macro="container-title"/>
        <text macro="publisher"/>
        <text macro="author" prefix=" author={" suffix="}"/>
        <text macro="editor-translator" prefix=" editor={" suffix="}"/>
        <text macro="issued-year" prefix=" year={" suffix="}"/>
        <text macro="issued-month" prefix=" month={" suffix="}"/>
        <text macro="pages" prefix=" pages={" suffix="}"/>
        <text variable="collection-title" prefix=" collection={" suffix="}"/>
        <text variable="keyword" prefix=" keywords={" suffix="}"/>
        <text variable="language" prefix="language={" suffix="}"/>
        <text variable="annote" prefix="annote={" suffix="}"/>
      </group>
    </layout>
  </bibliography>
</style>