Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Browse files

New version of Infoclio styles (#3898)

  • Loading branch information
nchachereau authored and rmzelle committed Feb 2, 2019
1 parent 7092c99 commit f12a401a460caba4c5de14a8ab09727a9db07dfe
Showing with 183 additions and 107 deletions.
  1. +56 −30 infoclio-de.csl
  2. +57 −32 infoclio-fr-nocaps.csl
  3. +70 −45 infoclio-fr-smallcaps.csl
@@ -36,6 +36,7 @@
<term name="letter">Schreiben</term>
<term name="number-of-volumes" form="short">Bd.</term>
<term name="no date" form="short">o. D.</term>
<term name="edition">Ausgabe</term>
</terms>
</locale>
<citation>
@@ -96,6 +97,7 @@
<date variable="original-date" form="text" prefix="[" suffix="]"/>
<text macro="book-series"/>
</group>
<text macro="newspaper-edition"/>
<text macro="artwork-description"/>
<text macro="archive-location"/>
<text macro="pages"/>
@@ -279,6 +281,13 @@
</if>
</choose>
</else-if>
<else-if type="dataset">
<choose>
<if variable="version">
<text variable="version"/>
</if>
</choose>
</else-if>
</choose>
</macro>
<macro name="alt-publisher">
@@ -372,6 +381,23 @@
</if>
</choose>
</macro>
<macro name="newspaper-edition">
<choose>
<if type="article-newspaper">
<choose>
<if is-numeric="edition">
<group delimiter="&#160;">
<number variable="edition" form="ordinal"/>
<label variable="edition"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="artwork-description">
<choose>
<if type="graphic">
@@ -396,49 +422,49 @@
</macro>
<macro name="url-web-documents-only">
<choose>
<if type="webpage post post-weblog" match="any">
<text macro="url"/>
<if type="webpage post post-weblog dataset" match="any">
<text macro="url-or-doi"/>
</if>
</choose>
</macro>
<macro name="url-non-web-documents">
<choose>
<if type="webpage post post-weblog" match="none">
<if type="webpage post post-weblog dataset" match="none">
<choose>
<if variable="DOI URL" match="any">
<group delimiter=" ">
<text term="online" text-case="capitalize-first" suffix=": "/>
<choose>
<if variable="DOI">
<group delimiter=", ">
<group delimiter="">
<text value="&lt;"/>
<text variable="DOI" prefix="https://doi.org/"/>
<text value="&gt;"/>
</group>
<group delimiter=" ">
<text term="accessed"/>
<date variable="accessed" form="numeric" date-parts="year-month-day"/>
</group>
</group>
</if>
<else-if variable="URL">
<text macro="url"/>
</else-if>
</choose>
<group delimiter=": ">
<text term="online" text-case="capitalize-first"/>
<text macro="url-or-doi"/>
</group>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="url">
<group delimiter=", ">
<text variable="URL" prefix="&lt;" suffix="&gt;"/>
<group delimiter=": ">
<text term="accessed"/>
<date variable="accessed" form="numeric" date-parts="year-month-day"/>
</group>
<macro name="url-or-doi">
<choose>
<if variable="DOI">
<group delimiter=", ">
<group delimiter="">
<text value="&lt;"/>
<text variable="DOI" prefix="https://doi.org/"/>
<text value="&gt;"/>
</group>
<text macro="accessed"/>
</group>
</if>
<else-if variable="URL">
<group delimiter=", ">
<text variable="URL" prefix="&lt;" suffix="&gt;"/>
<text macro="accessed"/>
</group>
</else-if>
</choose>
</macro>
<macro name="accessed">
<group delimiter=": ">
<text term="accessed"/>
<date variable="accessed" form="numeric" date-parts="year-month-day"/>
</group>
</macro>
</style>
@@ -105,6 +105,7 @@
<date variable="original-date" form="text" prefix="[" suffix="]"/>
<text macro="book-series"/>
</group>
<text macro="newspaper-edition"/>
<text macro="artwork-description"/>
<text macro="archive-location"/>
<text macro="pages"/>
@@ -149,7 +150,7 @@
<if type="book thesis graphic" match="any">
<text variable="title" font-style="italic"/>
</if>
<else-if type="article article-magazine article-newspaper article-journal entry entry-dictionary entry-encyclopedia report chapter paper-conference post post-weblog webpage song broadcast" match="any">
<else-if type="article article-magazine article-newspaper article-journal entry entry-dictionary entry-encyclopedia report chapter paper-conference post post-weblog webpage song broadcast dataset" match="any">
<text variable="title" quotes="true"/>
</else-if>
<else-if type="motion_picture">
@@ -174,7 +175,7 @@
<if type="book thesis graphic" match="any">
<text variable="title" font-style="italic" form="short"/>
</if>
<else-if type="article article-magazine article-newspaper article-journal entry entry-dictionary entry-encyclopedia report chapter paper-conference post post-weblog webpage song broadcast" match="any">
<else-if type="article article-magazine article-newspaper article-journal entry entry-dictionary entry-encyclopedia report chapter paper-conference post post-weblog webpage song broadcast dataset" match="any">
<text variable="title" quotes="true" form="short"/>
</else-if>
<else-if type="motion_picture">
@@ -343,6 +344,13 @@
</if>
</choose>
</else-if>
<else-if type="dataset">
<choose>
<if variable="version">
<text variable="version"/>
</if>
</choose>
</else-if>
</choose>
</macro>
<macro name="alt-publisher">
@@ -454,6 +462,23 @@
</if>
</choose>
</macro>
<macro name="newspaper-edition">
<choose>
<if type="article-newspaper">
<choose>
<if is-numeric="edition">
<group delimiter="&#160;">
<number variable="edition" form="ordinal"/>
<label variable="edition"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="artwork-description">
<choose>
<if type="graphic">
@@ -478,49 +503,49 @@
</macro>
<macro name="url-web-documents-only">
<choose>
<if type="webpage post post-weblog" match="any">
<text macro="url"/>
<if type="webpage post post-weblog dataset" match="any">
<text macro="url-or-doi"/>
</if>
</choose>
</macro>
<macro name="url-non-web-documents">
<choose>
<if type="webpage post post-weblog" match="none">
<if type="webpage post post-weblog dataset" match="none">
<choose>
<if variable="DOI URL" match="any">
<group delimiter=" ">
<text term="online" text-case="capitalize-first" suffix=": "/>
<choose>
<if variable="DOI">
<group delimiter=", ">
<group delimiter="">
<text value="&lt;"/>
<text variable="DOI" prefix="https://doi.org/"/>
<text value="&gt;"/>
</group>
<group delimiter=" ">
<text term="accessed"/>
<date variable="accessed" form="numeric" date-parts="year-month-day"/>
</group>
</group>
</if>
<else-if variable="URL">
<text macro="url"/>
</else-if>
</choose>
<group delimiter=": ">
<text term="online" text-case="capitalize-first"/>
<text macro="url-or-doi"/>
</group>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="url">
<group delimiter=", ">
<text variable="URL" prefix="&lt;" suffix="&gt;"/>
<group delimiter=" ">
<text term="accessed"/>
<date variable="accessed" form="numeric" date-parts="year-month-day"/>
</group>
<macro name="url-or-doi">
<choose>
<if variable="DOI">
<group delimiter=", ">
<group delimiter="">
<text value="&lt;"/>
<text variable="DOI" prefix="https://doi.org/"/>
<text value="&gt;"/>
</group>
<text macro="accessed"/>
</group>
</if>
<else-if variable="URL">
<group delimiter=", ">
<text variable="URL" prefix="&lt;" suffix="&gt;"/>
<text macro="accessed"/>
</group>
</else-if>
</choose>
</macro>
<macro name="accessed">
<group delimiter=" ">
<text term="accessed"/>
<date variable="accessed" form="numeric" date-parts="year-month-day"/>
</group>
</macro>
</style>

0 comments on commit f12a401

Please sign in to comment.
You can’t perform that action at this time.