This commit is contained in:
tavo 2024-11-14 14:37:32 -06:00
parent 26ce7d4d43
commit e44af6c002
2 changed files with 165 additions and 0 deletions

1
.gitignore vendored
View file

@ -246,3 +246,4 @@ org.gnome.Ptyxis/
connections.db connections.db
emacs/ emacs/
systemd/ systemd/
balenaEtcher/

164
snippets/aip.csl Normal file
View file

@ -0,0 +1,164 @@
<?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>American Institute of Physics 4th edition</title>
<title-short>AIP</title-short>
<id>http://www.zotero.org/styles/american-institute-of-physics</id>
<link href="http://www.zotero.org/styles/american-institute-of-physics" rel="self"/>
<link href="http://www.aip.org/pubservs/style/4thed/toc.html" rel="documentation"/>
<link href="https://publishing.aip.org/wp-content/uploads/2021/03/AIP_Style_4thed.pdf" rel="documentation"/>
<!-- No attempt to make compound citations is made here <http://forums.zotero.org/discussion/4288/>-->
<author>
<name>Richard Karnesky</name>
<email>karnesky+zotero@gmail.com</email>
<uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
</author>
<contributor>
<name>Patrick O'Brien</name>
</contributor>
<category citation-format="numeric"/>
<category field="physics"/>
<summary>Common style used by AIP publications.</summary>
<updated>2024-03-27T11:18: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>
<macro name="author">
<names variable="author">
<name and="text" delimiter-precedes-last="always" initialize-with="."/>
<label form="long" prefix=", " suffix=" "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<label form="verb" suffix=" "/>
<name delimiter=", " initialize-with="." and="text"/>
</names>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="day-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" form="long" suffix=" "/>
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group prefix="(" suffix=")" delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place" text-case="title"/>
<text macro="year-date"/>
</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"/>
</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 entry-spacing="0">
<layout suffix=".">
<text variable="citation-number" vertical-align="sup"/>
<text macro="author" prefix=" " suffix=", "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=" ">
<group delimiter=", ">
<text variable="title" text-case="title" font-style="italic"/>
<text macro="edition"/>
</group>
<group delimiter=", ">
<text macro="publisher"/>
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</group>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=", ">
<text variable="title" quotes="true"/>
<group delimiter=" ">
<text term="in"/>
<text variable="container-title" form="short" text-case="title" font-style="italic"/>
</group>
<text macro="editor"/>
<text macro="edition"/>
<text macro="publisher"/>
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</group>
</else-if>
<else-if type="patent">
<group delimiter=" ">
<text variable="number" prefix=" "/>
<text macro="day-date" prefix="(" suffix=")"/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=", ">
<text variable="title" text-case="title"/>
<text variable="genre"/>
<text variable="publisher"/>
<text macro="year-date"/>
</group>
</else-if>
<else>
<group delimiter=", ">
<text variable="title" quotes="true"/>
<group delimiter=" ">
<text variable="container-title" form="short" text-case="title"/>
<group>
<text variable="volume" font-weight="bold"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
</group>
<group delimiter=" ">
<text variable="page"/>
<text macro="year-date" prefix="(" suffix=")"/>
</group>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>