synthetic-honeybee

invalid csl

Mar 12th, 2025 (edited)
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 19.02 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="sl-SI">
  3.     <info>
  4.         <title>Univerza v Ljubljani - Biotehniška fakulteta</title>
  5.         <title-short>BF-UNI-LJ</title-short>
  6.         <id>
  7.             http://www.zotero.org/styles/biotehniska-fakulteta-univerza-v-ljubljani
  8.         </id>
  9.         <!--link href="http://www.zotero.org/styles/biotehniska-fakulteta-univerza-v-ljubljani"
  10.              rel="documentation"/-->
  11.         <!--link href="http://www.zotero.org/styles/harvard-university-of-cape-town"
  12.              rel="documentation"/-->
  13.         <!--link href="https://www.bf.uni-lj.si/mma/Navodila_za_pripravo_zakljucnih_pisnih_izdelkov_na_BF.pdf/2024060613572646/?m=1717675046"
  14.              rel="documentation"/-->
  15.         <!-- Sample data: https://gist.github.com/ -->
  16.         <author>
  17.             <name>Name Surname</name>
  18.         </author>
  19.         <category citation-format="author-date"/>
  20.         <category field="generic-base"/>
  21.         <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This
  22.             work is licensed under a Creative Commons Attribution-ShareAlike 3.0
  23.             License
  24.         </rights>
  25.         <updated>2025-03-05T11:59:08+00:00</updated>
  26.     </info>
  27.  
  28.     <locale xml:lang="sl-SI">
  29.         <terms>
  30.             <term name="volume" form="short">v.</term>
  31.             <term name="available at">available</term>
  32.             <term name="open-quote"></term>
  33.             <term name="close-quote"></term>
  34.             <term name="open-inner-quote"></term>
  35.             <term name="close-inner-quote"></term>
  36.             <term name="et-al">in sod.</term>
  37.             <term name="editortranslator" form="short">
  38.                 <single>ur. in; prev.</single>
  39.                 <multiple>ur. in; prev.</multiple>
  40.             </term>
  41.             <term name="translator" form="short">
  42.                 <single>prev.</single>
  43.                 <multiple>prev.</multiple>
  44.             </term>
  45.             <term name="collection-editor">ur.</term>
  46.             <term name="in">V:</term>
  47.             <term name="in press">v tisku</term>
  48.         </terms>
  49.     </locale>
  50.  
  51.  
  52.     <macro name="editor-translator">
  53.         <choose>
  54.             <if variable="editor collection-editor" match="any">
  55.  
  56.                 <names variable="editor">
  57.                     <name name-as-sort-order="all" sort-separator=" "
  58.                          initialize-with=". " delimiter=", "
  59.                          delimiter-precedes-last="never"/>
  60.                     <label form="short" prefix=" (" suffix=")"/>
  61.                     <substitute>
  62.                         <names variable="collection-editor"/>
  63.                     </substitute>
  64.                 </names>
  65.  
  66.             </if>
  67.         </choose>
  68.         <choose>
  69.             <if variable="translator">
  70.                 <names variable="translator">
  71.                     <label form="verb" text-case="capitalize-first" suffix=" "/>
  72.                     <name and="text" delimiter=", "/>
  73.                 </names>
  74.             </if>
  75.         </choose>
  76.     </macro>
  77.  
  78.  
  79.     <macro name="author">
  80.         <names variable="author">
  81.             <name name-as-sort-order="all" sort-separator=" "
  82.                  initialize-with=". " delimiter=", "
  83.                  delimiter-precedes-last="never" et-al-min="50"
  84.                  et-al-use-first="1"/>
  85.             <label form="short" prefix=" " text-case="capitalize-first"/>
  86.             <substitute>
  87.                 <names variable="editor"/>
  88.                 <names variable="translator"/>
  89.                 <!--names variable="collection-editor" /-->
  90.                 <choose>
  91.                     <if type="bill book graphic legal_case legislation motion_picture report song webpage"
  92.                        match="any">
  93.                         <text variable="title"/>
  94.                     </if>
  95.                     <else-if type="standard" match="any">
  96.                         <text variable="number" text-case="capitalize-first"/>
  97.                     </else-if>
  98.                     <else>
  99.                         <text variable="title" text-case="capitalize-first"/>
  100.                     </else>
  101.                 </choose>
  102.             </substitute>
  103.         </names>
  104.     </macro>
  105.  
  106.     <macro name="author-short">
  107.         <names variable="author">
  108.             <name form="short" and="text" delimiter=", " initialize-with="."
  109.                  delimiter-precedes-last="never" et-al-min="3"
  110.                  et-al-use-first="1"/>
  111.             <substitute>
  112.                 <names variable="editor"/>
  113.                 <names variable="translator"/>
  114.                 <choose>
  115.                     <if type="bill book graphic legal_case legislation motion_picture report song"
  116.                        match="any">
  117.                         <!-- Note that webpage title is italicized in bibliography, but quoted in text -->
  118.                         <text variable="title" form="short"/>
  119.                     </if>
  120.                     <else>
  121.                         <text variable="title" form="short"
  122.                              text-case="capitalize-first"/>
  123.                     </else>
  124.                 </choose>
  125.             </substitute>
  126.         </names>
  127.     </macro>
  128.  
  129.  
  130.     <macro name="author-count">
  131.         <names variable="author">
  132.             <name form="count"/>
  133.         </names>
  134.     </macro>
  135.  
  136.  
  137.     <macro name="date-issued">
  138.         <!--
  139.          Show "in press" for journal articles with non-numeric pages
  140.          (i.e. "in press" in page field)
  141.        -->
  142.         <choose>
  143.             <if type="article-journal" match="none">
  144.                 <text macro="date-issued-year"/>
  145.             </if>
  146.             <else-if variable="page" match="none">
  147.                 <text macro="date-issued-year"/>
  148.             </else-if>
  149.             <else-if is-numeric="page">
  150.                 <text macro="date-issued-year"/>
  151.             </else-if>
  152.             <else>
  153.                 <text term="in press" prefix="(" suffix=")"/>
  154.             </else>
  155.         </choose>
  156.     </macro>
  157.  
  158.  
  159.     <macro name="date-issued-no-parentheses">
  160.         <!--
  161.          Same as date-issued, but no parentheses around "in press"
  162.        -->
  163.         <choose>
  164.             <if type="article-journal" match="none">
  165.                 <text macro="date-issued-year"/>
  166.             </if>
  167.             <else-if variable="page" match="none">
  168.                 <text macro="date-issued-year"/>
  169.             </else-if>
  170.             <else-if is-numeric="page">
  171.                 <text macro="date-issued-year"/>
  172.             </else-if>
  173.             <else>
  174.                 <text term="in press"/>
  175.             </else>
  176.         </choose>
  177.     </macro>
  178.  
  179.  
  180.     <macro name="date-issued-year">
  181.         <choose>
  182.             <if variable="issued">
  183.                 <date variable="issued">
  184.                     <date-part name="year"/>
  185.                 </date>
  186.             </if>
  187.             <else>
  188.                 <text term="no date" form="short"/>
  189.             </else>
  190.         </choose>
  191.     </macro>
  192.  
  193.  
  194.     <macro name="access">
  195.         <choose>
  196.             <if variable="DOI">
  197.                 <text variable="DOI" prefix="https://doi.org/"/>
  198.             </if>
  199.             <else-if variable="URL">
  200.                 <group delimiter=" ">
  201.                     <group>
  202.                         <!-- text term="" suffix=": " text-case="capitalize-first"/ -->
  203.                         <text variable="URL"/>
  204.                     </group>
  205.                     <text macro="date-access"/>
  206.                 </group>
  207.             </else-if>
  208.  
  209.             <!--
  210.              Perhaps this breaks something in some cases. However, commenting out this section seems
  211.              to help in most cases.
  212.            -->
  213.  
  214.             <!-- else-if variable="source accessed" match="all">
  215.              <group delimiter=" ">
  216.                <text variable="source"/>
  217.                <text macro="date-access"/>
  218.              </group>
  219.            </else-if-->
  220.         </choose>
  221.     </macro>
  222.  
  223.  
  224.     <macro name="date-access">
  225.         <date variable="accessed" prefix="(" suffix=")">
  226.             <date-part name="day" form="numeric" prefix=" "/>
  227.             <date-part name="month" form="short" prefix=". "/>
  228.             <date-part name="year" prefix=" "/>
  229.         </date>
  230.     </macro>
  231.  
  232.  
  233.     <macro name="title">
  234.         <choose>
  235.             <if type="bill book graphic legal_case legislation motion_picture report song webpage patent"
  236.                match="any">
  237.                 <text variable="title" font-style="normal" suffix=""/>
  238.             </if>
  239.             <else>
  240.                 <text variable="title" suffix=""/>
  241.             </else>
  242.         </choose>
  243.     </macro>
  244.  
  245.  
  246.     <macro name="book-details">
  247.         <group delimiter=". ">
  248.             <group>
  249.                 <number variable="edition" form="ordinal" suffix=" "/>
  250.                 <label variable="edition" form="short"/>
  251.             </group>
  252.             <text macro="editor-translator"/>
  253.             <group delimiter=", " prefix="(" suffix=")">
  254.                 <text variable="collection-title"/>
  255.                 <group delimiter=" ">
  256.                     <!-- label variable="issue" form="short"/-->
  257.                     <!-- <text variable="collection-number"/> -->
  258.                     <text variable="volume"/>
  259.                 </group>
  260.             </group>
  261.             <text macro="publisher"/>
  262.         </group>
  263.     </macro>
  264.  
  265.  
  266.     <macro name="publisher">
  267.         <group delimiter=", ">
  268.             <text variable="publisher-place"/>
  269.             <text variable="publisher"/>
  270.         </group>
  271.     </macro>
  272.  
  273.  
  274.     <!-- Still need to figure this section out -->
  275.     <citation disambiguate-add-year-suffix="true" year-suffix-delimiter=","
  276.              disambiguate-add-names="true" disambiguate-add-givenname="false"
  277.              collapse="year-suffix">
  278.         <sort>
  279.             <key macro="date-issued-no-parentheses"/>
  280.             <key macro="author"/>
  281.         </sort>
  282.         <layout prefix="(" suffix=")" delimiter="; ">
  283.             <group delimiter=", ">
  284.                 <text macro="author-short"/>
  285.                 <text macro="date-issued-no-parentheses"/>
  286.             </group>
  287.             <group>
  288.                 <choose>
  289.                     <if locator="page" match="any">
  290.                         <text variable="locator" prefix=": "/>
  291.                     </if>
  292.                     <else>
  293.                         <label variable="locator" form="short" prefix=", "/>
  294.                         <text variable="locator" prefix=" "/>
  295.                     </else>
  296.                 </choose>
  297.             </group>
  298.         </layout>
  299.     </citation>
  300.  
  301.     <bibliography entry-spacing="0">
  302.         <sort>
  303.             <key macro="author-short" names-min="1" names-use-first="1"/>
  304.             <key macro="author-count" names-min="3" names-use-first="3"/>
  305.             <key macro="author" names-min="3" names-use-first="1"/>
  306.             <key macro="date-issued-no-parentheses"/>
  307.         </sort>
  308.  
  309.         <layout>
  310.             <group delimiter=". ">
  311.                 <text macro="author" suffix=""/>
  312.  
  313.                 <choose>
  314.                     <if type="standard" match="any">
  315.                     </if>
  316.                     <else>
  317.                         <text macro="date-issued" suffix=""/>
  318.                     </else>
  319.                 </choose>
  320.  
  321.                 <text macro="title"/>
  322.                 <group delimiter=", ">
  323.                     <choose>
  324.                         <if type="bill book graphic legal_case legislation motion_picture post-weblog song"
  325.                            match="any">
  326.                             <text macro="book-details"/>
  327.                         </if>
  328.  
  329.                         <else-if type="article-journal article-magazine"
  330.                                 match="any">
  331.                             <group delimiter=", ">
  332.                                 <text variable="container-title" font-style="normal"/>
  333.                                 <group delimiter=": ">
  334.                                     <choose>
  335.                                         <if variable="volume issue" match="any">
  336.                                             <group delimiter=", ">
  337.                                                 <text variable="volume"/>
  338.                                                 <text variable="issue"/>
  339.                                             </group>
  340.                                         </if>
  341.                                         <else>
  342.                                             <date variable="issued" prefix="("
  343.                                                  suffix=")">
  344.                                                 <date-part name="month" form="long"/>
  345.                                                 <date-part name="day" prefix=", "/>
  346.                                             </date>
  347.                                         </else>
  348.                                     </choose>
  349.                                     <text variable="page"/>
  350.                                 </group>
  351.                             </group>
  352.                         </else-if>
  353.  
  354.                         <else-if type="article-newspaper" match="any">
  355.                             <group delimiter=" ">
  356.                                 <text variable="container-title"
  357.                                      font-style="normal"/>
  358.                                 <text variable="publisher-place" prefix="("
  359.                                      suffix=")"/>
  360.                             </group>
  361.                             <group delimiter=": ">
  362.                                 <date variable="issued">
  363.                                     <date-part name="day" suffix=" "/>
  364.                                     <date-part name="month" form="long"/>
  365.                                 </date>
  366.                                 <text variable="page"/>
  367.                             </group>
  368.                         </else-if>
  369.  
  370.                         <else-if type="thesis" match="any">
  371.                             <group delimiter=", ">
  372.                                 <text variable="publisher-place"/>
  373.                                 <text variable="publisher"/>
  374.                             </group>
  375.                         </else-if>
  376.  
  377.                         <else-if type="paper-conference" match="any">
  378.                             <group delimiter=" ">
  379.                                 <text term="in" text-case="capitalize-first"
  380.                                      suffix=" "/>
  381.                                 <text variable="container-title" font-style="normal"
  382.                                      suffix=". "/>
  383.                                 <!--text variable="volume" /-->
  384.                                 <text variable="event" suffix=", "/>
  385.                                 <text variable="event-place" suffix=", "/>
  386.  
  387.                                 <choose>
  388.                                     <if variable="event-date">
  389.                                         <date variable="event-date" delimiter=" " suffix=".">
  390.                                             <date-part name="day" range-delimiter=". - " suffix="."/>
  391.                                             <date-part name="month" suffix=" "/>
  392.                                             <date-part name="year"/>
  393.                                         </date>
  394.                                     </if>
  395.                                     <else>
  396.                                         <date variable="issued" delimiter=" " suffix=".">
  397.                                             <date-part name="day" range-delimiter=". - " suffix="."/>
  398.                                             <date-part name="month" suffix=" "/>
  399.                                             <date-part name="year"/>
  400.                                         </date>
  401.                                     </else>
  402.                                 </choose>
  403.  
  404.                                 <text macro="editor-translator" suffix="."/>
  405.                                 <text macro="publisher" suffix=":"/>
  406.                                 <text variable='page'/>
  407.                             </group>
  408.                         </else-if>
  409.  
  410.                         <else-if type="chapter entry-encyclopedia entry-dictionary"
  411.                                 match="any">
  412.                             <group>
  413.                                 <text term="in" text-case="capitalize-first"
  414.                                      suffix=" "/>
  415.                                 <text variable="container-title" font-style="normal"
  416.                                      suffix=". "/>
  417.                                 <text macro="book-details" suffix=": "/>
  418.                                 <text variable="page"/>
  419.                              </group>
  420.                         </else-if>
  421.  
  422.                         <else-if type="patent" match="any">
  423.                             <group font-style="normal">
  424.                                 <text variable="number"/>
  425.                             </group>
  426.                         </else-if>
  427.  
  428.                         <else-if type="report" match="any">
  429.                             <group font-style="normal">
  430.                                 <text macro="editor-translator" suffix=" "/>
  431.                                 <text macro="publisher"/>
  432.                             </group>
  433.                         </else-if>
  434.  
  435.                         <else-if type="standard" match="any">
  436.                             <group font-style="normal" delimiter=". ">
  437.                                 <text macro="date-issued-year"/>
  438.                             </group>
  439.                         </else-if>
  440.  
  441.                         <else-if type="article" match="any">
  442.                             <group delimiter=". ">
  443.                                 <group delimiter=" ">
  444.                                     <text variable="genre"/>
  445.                                     <text variable="number"/>
  446.                                 </group>
  447.                                 <text macro="publisher"/>
  448.                             </group>
  449.                         </else-if>
  450.                     </choose>
  451.  
  452.                     <choose>
  453.                         <if type=
  454.                                    "
  455.                                        article-journal
  456.                                        article-magazine
  457.                                        paper-conference
  458.                                        thesis
  459.                                        book
  460.                                        chapter
  461.                                        entry-encyclopedia
  462.                                        entry-dictionary
  463.                                        webpage
  464.                                    "
  465.                            match="any">
  466.                             <text macro="access"/>
  467.                         </if>
  468.                     </choose>
  469.                 </group>
  470.             </group>
  471.         </layout>
  472.     </bibliography>
  473. </style>
Advertisement
Add Comment
Please, Sign In to add comment