Guest User

IEEE Citeproc-rs

a guest
May 20th, 2023
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 19.79 KB | Writing | 0 0
  1. <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0"
  2.    demote-non-dropping-particle="sort-only">
  3.     <info>
  4.         <title>IEEE</title>
  5.         <id>http://www.zotero.org/styles/ieee</id>
  6.         <link href="http://www.zotero.org/styles/ieee" rel="self" />
  7.         <!--  <link
  8.        href="https://ieeeauthorcenter.ieee.org/wp-content/uploads/IEEE-Reference-Guide.pdf"
  9.        rel="documentation"/> - 2018 guidelines  -->
  10.         <link
  11.            href="http://journals.ieeeauthorcenter.ieee.org/wp-content/uploads/sites/7/IEEE_Reference_Guide.pdf"
  12.            rel="documentation" />
  13.         <link
  14.            href="https://journals.ieeeauthorcenter.ieee.org/your-role-in-article-production/ieee-editorial-style-manual/"
  15.            rel="documentation" />
  16.         <author>
  17.             <name>Michael Berkowitz</name>
  18.             <email>mberkowi@gmu.edu</email>
  19.         </author>
  20.         <contributor>
  21.             <name>Julian Onions</name>
  22.             <email>julian.onions@gmail.com</email>
  23.         </contributor>
  24.         <contributor>
  25.             <name>Rintze Zelle</name>
  26.             <uri>http://twitter.com/rintzezelle</uri>
  27.         </contributor>
  28.         <contributor>
  29.             <name>Stephen Frank</name>
  30.             <uri>http://www.zotero.org/sfrank</uri>
  31.         </contributor>
  32.         <contributor>
  33.             <name>Sebastian Karcher</name>
  34.         </contributor>
  35.         <contributor>
  36.             <name>Giuseppe Silano</name>
  37.             <email>g.silano89@gmail.com</email>
  38.             <uri>http://giuseppesilano.net</uri>
  39.         </contributor>
  40.         <contributor>
  41.             <name>Patrick O'Brien</name>
  42.         </contributor>
  43.         <contributor>
  44.             <name>Brenton M. Wiernik</name>
  45.         </contributor>
  46.         <contributor>
  47.             <name>Oliver Couch</name>
  48.             <email>oliver.couch@gmail.com</email>
  49.         </contributor>
  50.         <category citation-format="numeric" />
  51.         <category field="engineering" />
  52.         <category field="generic-base" />
  53.         <summary>IEEE style as per the 2021 guidelines, V 01.29.2021.</summary>
  54.         <updated>2023-04-23T03:05:51+00:00</updated>
  55.         <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under
  56.             a Creative Commons Attribution-ShareAlike 3.0 License</rights>
  57.     </info>
  58.     <locale xml:lang="en">
  59.         <date form="text">
  60.             <date-part name="month" form="short" suffix=" " />
  61.             <date-part name="day" form="numeric-leading-zeros" suffix=", " />
  62.             <date-part name="year" />
  63.         </date>
  64.         <terms>
  65.             <term name="chapter" form="short">ch.</term>
  66.             <term name="presented at">presented at the</term>
  67.             <term name="available at">available</term>
  68.         </terms>
  69.     </locale>
  70.     <!--  Macros  -->
  71.     <macro name="status">
  72.         <choose>
  73.             <if variable="page issue volume" match="none">
  74.                 <text variable="status" text-case="capitalize-first" suffix="" font-weight="bold" />
  75.             </if>
  76.         </choose>
  77.     </macro>
  78.     <macro name="edition">
  79.         <choose>
  80.             <if
  81.                type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song"
  82.                match="any">
  83.                 <choose>
  84.                     <if is-numeric="edition">
  85.                         <group delimiter=" ">
  86.                             <number variable="edition" form="ordinal" />
  87.                             <text term="edition" form="short" />
  88.                         </group>
  89.                     </if>
  90.                     <else>
  91.                         <text variable="edition" text-case="capitalize-first" suffix="." />
  92.                     </else>
  93.                 </choose>
  94.             </if>
  95.         </choose>
  96.     </macro>
  97.     <macro name="issued">
  98.         <choose>
  99.             <if type="article-journal report" match="any">
  100.                 <date variable="issued">
  101.                     <date-part name="month" form="short" suffix=" " />
  102.                     <date-part name="year" form="long" />
  103.                 </date>
  104.             </if>
  105.             <else-if type="bill book chapter graphic legal_case legislation song thesis" match="any">
  106.                 <date variable="issued">
  107.                     <date-part name="year" form="long" />
  108.                 </date>
  109.             </else-if>
  110.             <else-if type="paper-conference" match="any">
  111.                 <date variable="issued">
  112.                     <date-part name="month" form="short" />
  113.                     <date-part name="year" prefix=" " />
  114.                 </date>
  115.             </else-if>
  116.             <else-if type="motion_picture" match="any">
  117.                 <date variable="issued" form="text" prefix="(" suffix=")" />
  118.             </else-if>
  119.             <else>
  120.                 <date variable="issued" form="text" />
  121.             </else>
  122.         </choose>
  123.     </macro>
  124.     <macro name="author">
  125.         <names variable="author">
  126.             <name and="text" et-al-min="7" et-al-use-first="1" initialize-with=". " />
  127.             <label form="short" prefix=", " text-case="capitalize-first" />
  128.             <et-al font-style="italic" />
  129.             <substitute>
  130.                 <names variable="editor" />
  131.                 <names variable="translator" />
  132.             </substitute>
  133.         </names>
  134.     </macro>
  135.     <macro name="editor">
  136.         <names variable="editor">
  137.             <name initialize-with=". " delimiter=", " and="text" />
  138.             <label form="short" prefix=", " text-case="capitalize-first" />
  139.         </names>
  140.     </macro>
  141.     <macro name="locators">
  142.         <group delimiter=", ">
  143.             <text macro="edition" />
  144.             <group delimiter=" ">
  145.                 <text term="volume" form="short" />
  146.                 <number variable="volume" form="numeric" />
  147.             </group>
  148.             <group delimiter=" ">
  149.                 <number variable="number-of-volumes" form="numeric" />
  150.                 <text term="volume" form="short" plural="true" />
  151.             </group>
  152.             <group delimiter=" ">
  153.                 <text term="issue" form="short" />
  154.                 <number variable="issue" form="numeric" />
  155.             </group>
  156.         </group>
  157.     </macro>
  158.     <macro name="title">
  159.         <choose>
  160.             <if type="bill book graphic legal_case legislation motion_picture song" match="any">
  161.                 <text variable="title" font-style="italic" />
  162.             </if>
  163.             <else>
  164.                 <text variable="title" quotes="true" />
  165.             </else>
  166.         </choose>
  167.     </macro>
  168.     <macro name="publisher">
  169.         <choose>
  170.             <if
  171.                type="bill book chapter graphic legal_case legislation motion_picture paper-conference song"
  172.                match="any">
  173.                 <group delimiter=": ">
  174.                     <text variable="publisher-place" />
  175.                     <text variable="publisher" />
  176.                 </group>
  177.             </if>
  178.             <else>
  179.                 <group delimiter=", ">
  180.                     <text variable="publisher" />
  181.                     <text variable="publisher-place" />
  182.                 </group>
  183.             </else>
  184.         </choose>
  185.     </macro>
  186.     <macro name="event">
  187.         <choose>
  188.             <!--  Published Conference Paper  -->
  189.             <if type="paper-conference speech" match="any">
  190.                 <choose>
  191.                     <if variable="container-title" match="any">
  192.                         <group delimiter=" ">
  193.                             <text term="in" />
  194.                             <text variable="container-title" font-style="italic" />
  195.                         </group>
  196.                     </if>
  197.                     <!--  Unpublished Conference Paper  -->
  198.                     <else>
  199.                         <group delimiter=" ">
  200.                             <text term="presented at" />
  201.                             <text variable="event" />
  202.                         </group>
  203.                     </else>
  204.                 </choose>
  205.             </if>
  206.         </choose>
  207.     </macro>
  208.     <macro name="access">
  209.         <choose>
  210.             <if type="webpage post post-weblog" match="any">
  211.                 <!--  https://url.com/ (accessed Mon. DD, YYYY).  -->
  212.                 <choose>
  213.                     <if variable="URL">
  214.                         <group prefix=" " delimiter=" ">
  215.                             <text variable="URL" />
  216.                             <group delimiter=" " prefix="(" suffix=").">
  217.                                 <text term="accessed" />
  218.                                 <date variable="accessed" form="text" />
  219.                             </group>
  220.                         </group>
  221.                     </if>
  222.                 </choose>
  223.             </if>
  224.             <else-if match="any" variable="DOI">
  225.                 <!--  doi: 10.1000/xyz123.  -->
  226.                 <text variable="DOI" prefix=" doi: " suffix="." />
  227.             </else-if>
  228.             <else-if variable="URL">
  229.                 <!--  Accessed: Mon. DD, YYYY. [Medium]. Available: https://URL.com/  -->
  230.                 <group delimiter=". " prefix=" " suffix=". ">
  231.                     <!--  Accessed: Mon. DD, YYYY.  -->
  232.                     <group delimiter=": ">
  233.                         <text term="accessed" text-case="capitalize-first" />
  234.                         <date variable="accessed" form="text" />
  235.                     </group>
  236.                     <!--  [Online Video].  -->
  237.                     <group prefix="[" suffix="]" delimiter=" ">
  238.                         <choose>
  239.                             <if variable="medium" match="any">
  240.                                 <text variable="medium" text-case="capitalize-first" />
  241.                             </if>
  242.                             <else>
  243.                                 <text term="online" text-case="capitalize-first" />
  244.                                 <!-- <choose>
  245.                                    <if type="motion_picture">
  246.                                        <text term="video" text-case="capitalize-first" />
  247.                                    </if>
  248.                                </choose> -->
  249.                             </else>
  250.                         </choose>
  251.                     </group>
  252.                 </group>
  253.                 <!--  Available: https://URL.com/  -->
  254.                 <group delimiter=": " prefix=" ">
  255.                     <text term="available at" text-case="capitalize-first" />
  256.                     <text variable="URL" />
  257.                 </group>
  258.             </else-if>
  259.         </choose>
  260.     </macro>
  261.     <macro name="page">
  262.         <choose>
  263.             <if type="article-journal" variable="number" match="all">
  264.                 <group delimiter=" ">
  265.                     <text value="Art." />
  266.                     <text term="issue" form="short" />
  267.                     <text variable="number" />
  268.                 </group>
  269.             </if>
  270.             <else>
  271.                 <group delimiter=" ">
  272.                     <label variable="page" form="short" />
  273.                     <text variable="page" />
  274.                 </group>
  275.             </else>
  276.         </choose>
  277.     </macro>
  278.     <macro name="citation-locator">
  279.         <group delimiter=" ">
  280.             <choose>
  281.                 <if locator="page">
  282.                     <label variable="locator" form="short" />
  283.                 </if>
  284.                 <else>
  285.                     <label variable="locator" form="short" text-case="capitalize-first" />
  286.                 </else>
  287.             </choose>
  288.             <text variable="locator" />
  289.         </group>
  290.     </macro>
  291.     <macro name="geographic-location">
  292.         <group delimiter=", " suffix=".">
  293.             <choose>
  294.                 <if variable="publisher-place">
  295.                     <text variable="publisher-place" text-case="title" />
  296.                 </if>
  297.                 <else-if variable="event-place">
  298.                     <text variable="event-place" text-case="title" />
  299.                 </else-if>
  300.             </choose>
  301.         </group>
  302.     </macro>
  303.     <!--  Series  -->
  304.     <macro name="collection">
  305.         <choose>
  306.             <if variable="collection-title" match="any">
  307.                 <text term="in" suffix=" " />
  308.                 <group delimiter=", " suffix=". ">
  309.                     <text variable="collection-title" />
  310.                     <text variable="collection-number" prefix="no. " />
  311.                     <text variable="volume" prefix="vol. " />
  312.                 </group>
  313.             </if>
  314.         </choose>
  315.     </macro>
  316.     <!--  Citation  -->
  317.     <citation collapse="citation-number">
  318.         <sort>
  319.             <key variable="citation-number" />
  320.         </sort>
  321.         <layout delimiter=", ">
  322.             <group prefix="[" suffix="]" delimiter=", ">
  323.                 <text variable="citation-number" />
  324.                 <text macro="citation-locator" />
  325.             </group>
  326.         </layout>
  327.     </citation>
  328.     <!--  Bibliography  -->
  329.     <bibliography entry-spacing="0" second-field-align="flush">
  330.         <layout>
  331.             <!--  Citation Number  -->
  332.             <text variable="citation-number" prefix="[" suffix="]" />
  333.             <!--  Author(s)  -->
  334.             <text macro="author" suffix=", " />
  335.             <!--  Rest of Citation  -->
  336.             <choose>
  337.                 <!--  Specific Formats  -->
  338.                 <if type="article-journal">
  339.                     <group delimiter=", ">
  340.                         <text macro="title" />
  341.                         <text variable="container-title" font-style="italic" form="short" />
  342.                         <text macro="locators" />
  343.                         <text macro="page" />
  344.                         <text macro="issued" />
  345.                         <text macro="status" />
  346.                     </group>
  347.                     <choose>
  348.                         <if variable="URL DOI" match="none">
  349.                             <text value="." />
  350.                         </if>
  351.                         <else>
  352.                             <text value="," />
  353.                         </else>
  354.                     </choose>
  355.                     <text macro="access" />
  356.                 </if>
  357.                 <else-if type="paper-conference speech" match="any">
  358.                     <group delimiter=", " suffix=", ">
  359.                         <text macro="title" />
  360.                         <text macro="event" />
  361.                         <text macro="editor" />
  362.                     </group>
  363.                     <text macro="collection" />
  364.                     <group delimiter=", " suffix=".">
  365.                         <text macro="publisher" />
  366.                         <text macro="issued" />
  367.                         <text macro="page" />
  368.                         <text macro="status" />
  369.                     </group>
  370.                     <text macro="access" />
  371.                 </else-if>
  372.                 <else-if type="chapter">
  373.                     <group delimiter=", " suffix=", ">
  374.                         <text macro="title" />
  375.                         <group delimiter=" ">
  376.                             <text term="in" suffix=" " />
  377.                             <text variable="container-title" font-style="italic" />
  378.                         </group>
  379.                     </group>
  380.                     <text macro="editor" suffix=", " />
  381.                     <text macro="edition" />
  382.                     <text macro="collection" />
  383.                     <group delimiter=", " suffix=".">
  384.                         <text macro="publisher" />
  385.                         <text macro="issued" />
  386.                         <text macro="page" />
  387.                     </group>
  388.                     <text macro="access" />
  389.                 </else-if>
  390.                 <else-if type="report">
  391.                     <group delimiter=", " suffix=".">
  392.                         <text macro="title" />
  393.                         <text macro="publisher" />
  394.                         <group delimiter=" ">
  395.                             <text variable="genre" />
  396.                             <text variable="number" />
  397.                         </group>
  398.                         <text macro="issued" />
  399.                     </group>
  400.                     <text macro="access" />
  401.                 </else-if>
  402.                 <else-if type="thesis">
  403.                     <group delimiter=", " suffix=".">
  404.                         <text macro="title" />
  405.                         <text variable="genre" />
  406.                         <text macro="publisher" />
  407.                         <text macro="issued" />
  408.                     </group>
  409.                     <text macro="access" />
  410.                 </else-if>
  411.                 <else-if type="webpage post-weblog post" match="any">
  412.                     <group delimiter=", " suffix=".">
  413.                         <text macro="title" />
  414.                         <text variable="container-title" font-style="italic" />
  415.                         <text macro="issued" />
  416.                     </group>
  417.                     <text macro="access" />
  418.                 </else-if>
  419.                 <else-if type="patent">
  420.                     <group delimiter=", ">
  421.                         <text macro="title" />
  422.                         <text variable="number" />
  423.                         <text macro="issued" />
  424.                     </group>
  425.                     <text macro="access" />
  426.                 </else-if>
  427.                 <!--  Online Video  -->
  428.                 <else-if type="motion_picture">
  429.                     <text macro="geographic-location" suffix=". " />
  430.                     <group delimiter=", " suffix=".">
  431.                         <text macro="title" />
  432.                         <text macro="issued" />
  433.                     </group>
  434.                     <text macro="access" />
  435.                 </else-if>
  436.                 <!--  Generic/Fallback Formats  -->
  437.                 <else-if type="bill book graphic legal_case legislation report song" match="any">
  438.                     <group delimiter=", " suffix=". ">
  439.                         <text macro="title" />
  440.                         <text macro="locators" />
  441.                     </group>
  442.                     <text macro="collection" />
  443.                     <group delimiter=", " suffix=".">
  444.                         <text macro="publisher" />
  445.                         <text macro="issued" />
  446.                         <text macro="page" />
  447.                     </group>
  448.                     <text macro="access" />
  449.                 </else-if>
  450.                 <else-if
  451.                    type="article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage"
  452.                    match="any">
  453.                     <group delimiter=", " suffix=".">
  454.                         <text macro="title" />
  455.                         <text variable="container-title" font-style="italic" />
  456.                         <text macro="locators" />
  457.                         <text macro="publisher" />
  458.                         <text macro="page" />
  459.                         <text macro="issued" />
  460.                     </group>
  461.                     <text macro="access" />
  462.                 </else-if>
  463.                 <else>
  464.                     <group delimiter=", " suffix=". ">
  465.                         <text macro="title" />
  466.                         <text variable="container-title" font-style="italic" />
  467.                         <text macro="locators" />
  468.                     </group>
  469.                     <text macro="collection" />
  470.                     <group delimiter=", " suffix=".">
  471.                         <text macro="publisher" />
  472.                         <text macro="page" />
  473.                         <text macro="issued" />
  474.                     </group>
  475.                     <text macro="access" />
  476.                 </else>
  477.             </choose>
  478.         </layout>
  479.     </bibliography>
  480. </style>
Tags: csl
Add Comment
Please, Sign In to add comment