Skip to content

Instantly share code, notes, and snippets.

Created January 30, 2014 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8703623 to your computer and use it in GitHub Desktop.
Save anonymous/8703623 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" page-range-format="expanded" version="1.1mlz1" year-range-format="expanded">
<info>
<title>Test</title>
<id>http://citationstyles.org/styles/Test</id>
<link href="http://citationstyles.org/styles/mlz-cms-full" rel="self"/>
<author>
<name>WBL</name>
<email></email>
</author>
<summary></summary>
<category field="generic-base"/>
<category citation-format="note"/>
<updated>2014-01-29T09:28:00+05:00</updated>
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<citation et-al-min="10" et-al-use-first="1" near-note-distance="1000">
<layout delimiter="; ">
<choose>
<if type="book" match="any">
<text macro="foreign-book"/>
</if>
<else-if type="article-journal">
<text macro="foreign-periodical"/>
</else-if>
</choose>
</layout>
</citation>
<locale>
<style-options punctuation-in-quote="false" skip-words="but,or,yet,so,for,and,nor,a,an,the,at,by,from,in,into,of,on,to,with,as,via,onto,over,till,is,this,that,within,vs"/>
<terms>
<term name="article">article</term>
<term name="director">director</term>
<term name="rule"/>
<term name="title">title</term>
<term name="ibid">ibid.</term>
<term name="ordinal-01">st</term>
<term name="ordinal-02">d</term>
<term name="ordinal-03">d</term>
<term name="ordinal-04">th</term>
<term form="long" name="Section">
<single>section</single>
<multiple>sections</multiple>
</term>
<term form="long" name="Chapter">
<single>chapter</single>
<multiple>chapters</multiple>
</term>
<term form="symbol" name="Chapter">
<single>c.</single>
<multiple>cc.</multiple>
</term>
<term form="symbol" name="section">
<single>§</single>
<multiple>§§</multiple>
</term>
<term form="symbol" name="paragraph">
<single>¶</single>
<multiple>¶¶</multiple>
</term>
<term form="short" name="Chapter">
<single>ch.</single>
<multiple>chs.</multiple>
</term>
<term form="short" name="Section">
<single>sec.</single>
<multiple>secs.</multiple>
</term>
<term form="short" name="director">dir.</term>
<term form="short" name="article">
<single>art.</single>
<multiple>arts.</multiple>
</term>
<term form="short" name="title">tit.</term>
<term form="short" name="chapter">ch.</term>
<term form="short" name="column">col.</term>
<term form="short" name="figure">fig.</term>
<term form="short" name="issue">no.</term>
<term form="short" name="line">
<single>l.</single>
<multiple>ll.</multiple>
</term>
<term form="short" name="note">
<single>n.</single>
<multiple>nn.</multiple>
</term>
<term form="short" name="opus">op.</term>
<term form="short" name="page">
<single>p.</single>
<multiple>pp.</multiple>
</term>
<term form="short" name="paragraph">
<single>¶</single>
<multiple>¶¶</multiple>
</term>
<term form="short" name="part">pt.</term>
<term form="short" name="section">
<single>sec.</single>
<multiple>secs.</multiple>
</term>
<term form="short" name="sub verbo">s.v.</term>
<term form="short" name="verse">vrs.</term>
<term form="short" name="volume">vol.</term>
<term form="short" name="edition">
<single>ed.</single>
<multiple>eds.</multiple>
</term>
<term form="short" name="supplement">
<single>supp.</single>
<multiple>supps.</multiple>
</term>
<term form="short" name="translator">trans.</term>
<term form="verb" name="interview">interview</term>
</terms>
<date form="text">
<date-part name="month" form="short" suffix=" "/>
<date-part name="day" form="numeric" suffix=", "/>
<date-part name="year"/>
</date>
</locale>
<macro name="foreign-secondary-subsequent">
<group delimiter=", ">
<text macro="foreign-author-short" />
<choose>
<if disambiguate="true" match="any">
<text macro="foreign-short-title" text-case="title"/>
</if>
</choose>
<group delimiter="">
<group delimiter=" ">
<text value="supra" font-style="italic"/>
<choose>
<if variable="first-reference-note-number">
<text value="note"/>
<text variable="first-reference-note-number"/>
</if>
</choose>
</group>
<choose>
<if variable="first-reference-note-number locator" match="all">
<text value=", "/>
</if>
<else-if variable="locator">
<text value=" "/>
</else-if>
</choose>
<group delimiter="">
<!-- choose>
<if locator="page">
<label variable="locator" form="short"/>
</if>
<else>
<label variable="locator"/>
</else>
</choose -->
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</group>
</macro>
<macro name="foreign-author">
<names variable="author">
<name and="symbol" delimiter-precedes-last="never" />
</names>
</macro>
<macro name="foreign-author-short">
<names variable="author">
<name form="long" initialize="true" initialize-with="." and="symbol" delimiter-precedes-last="never" />
<substitute>
<text variable="title" form="short"/>
</substitute>
</names>
</macro>
<macro name="foreign-short-title">
<choose>
<if type="book" match="any">
<text variable="title" font-variant="small-caps" form="short" text-case="title"/>
</if>
<else-if type="legal_case">
<choose>
<if position="near-note">
<choose>
<if variable="title">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text variable="title" form="short"/>
</else>
</choose>
</if>
<else>
<text variable="title" form="short"/>
</else>
</choose>
</else-if>
<else-if type="bill legislation" match="any">
<text variable="title" form="short"/>
</else-if>
<else>
<text variable="title" font-style="italic" form="short" text-case="title"/>
</else>
</choose>
</macro>
<macro name="foreign-periodical">
<choose>
<if position="first">
<text macro="foreign-periodical-first"/>
</if>
<else-if position="ibid">
<choose>
<if position="ibid-with-locator">
<text value="Ibid" font-style="italic" suffix=".,"/>
<label form="short" variable="locator"/>
<text variable="locator"/>
</if>
<else-if position="ibid">
<text value="Ibid" font-style="italic"/>
</else-if>
</choose>
</else-if>
<else-if position="near-note">
<text macro="foreign-secondary-subsequent"/>
</else-if>
<else>
<text macro="foreign-periodical-first"/>
</else>
</choose>
</macro>
<macro name="foreign-periodical-first">
<group delimiter=", ">
<text macro="foreign-author"/>
<group delimiter=" ">
<text variable="title" text-case="title" font-style="normal" prefix="“" suffix=",”"/>
<text variable="container-title" font-style="italic" font-variant="normal" font-weight="normal"/>
</group>
<group>
<number variable="volume" prefix="Vol. "/>
<number variable="issue" prefix=", No. "/>
<text macro="foreign-issued" prefix=""/>
</group>
<group>
<label variable="page" form="short"/>
<choose>
<if variable="locator">
<text variable="locator"/>
</if>
<else>
<number variable="page"/>
</else>
</choose>
</group>
</group>
</macro>
<macro name="foreign-book">
<choose>
<if position="ibid">
<choose>
<if position="ibid-with-locator">
<text value="Ibid" font-style="italic" suffix=".,"/>
<label form="short" variable="locator"/>
<text variable="locator"/>
</if>
<else-if position="ibid">
<text value="Ibid" font-style="italic"/>
</else-if>
</choose>
</if>
<else-if position="near-note">
<text macro="foreign-secondary-subsequent"/>
</else-if>
<else> <!-- non near-note subsequent + first -->
<text macro="foreign-book-first"/>
</else>
</choose>
</macro>
<macro name="foreign-book-first">
<group delimiter=", ">
<text macro="foreign-author"/>
<group delimiter=" ">
<text variable="title" text-case="title" font-style="italic" font-weight="normal"/>
<group prefix="(" suffix=")" delimiter=", ">
<text variable="publisher"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</group>
<text macro="foreign-point-locator-base"/>
</group>
<text variable="references" prefix="[" suffix="]"/>
</macro>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment