Skip to content

Instantly share code, notes, and snippets.

View rmzelle's full-sized avatar

Rintze M. Zelle, PhD rmzelle

View GitHub Profile
<term name="ordinal-01">&lt;sup&gt;e&lt;/sup&gt;</term>
<term name="ordinal-02">&lt;sup&gt;e&lt;/sup&gt;</term>
<term name="ordinal-03">&lt;sup&gt;e&lt;/sup&gt;</term>
<term name="ordinal-04">&lt;sup&gt;e&lt;/sup&gt;</term>
0 &#x2070;
1 &#x00B9;
2 &#x00B2;
3 &#x00B3;
4 &#x2074;
5 &#x2075;
6 &#x2076;
7 &#x2077;
8 &#x2078;
9 &#x2079;
``disambiguate-add-year-suffix`` [Step (4)]
If set to "true" ("false" is the default), an alphabetic year-suffix is
added to ambiguous cites (e.g. "Doe 2007, Doe 2007" becomes "Doe 2007a, Doe
2007b"). Additional letters are used once "z" is reached ("z", "aa", "ab",
..., "az", "ba", etc.). Year-suffixes are assigned based on the order of the
bibliographies entries. By default the year-suffix is appended to each cite,
but its location can be controlled by explictly rendering the "year-suffix"
variable using ``cs:text``. If "year-suffix" is rendered through ``cs:text``
in the scope of ``cs:citation``, it is suppressed for ``cs:bibliography``,
unless it is also rendered through ``cs:text`` in the scope of
NEW
``disambiguate-add-year-suffix`` [Step (4)]
If set to "true" ("false" is the default), an alphabetic year-suffix is
added to ambiguous cites (e.g. "Doe 2007, Doe 2007" becomes "Doe 2007a, Doe
2007b") and to their corresponding bibliographic entries. The assignment of
the year-suffixes follows the order of the bibliographies entries, and
additional letters are used once "z" is reached ("z", "aa", "ab", ..., "az",
"ba", etc.). By default the year-suffix is appended to the cite, and to the
first year rendered through ``cs:date`` in the bibliographic entry, but its
<?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">
<info>
<title>Current Protein and Peptide Science</title>
<id>http://www.zotero.org/styles/american-chemical-society-with-titles</id>
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles" rel="self"/>
<author>
<name>Julian Onions</name>
<email>[email protected]</email>
</author>
Disambiguation
''''''''''''''
There are five methods to disambiguate cites that otherwise can not be
unambiguously linked to their target bibliographic entries:
1. Showing more names.
2. Adding given names.
3. Replacing initials with full given names.
4. Adding a year-suffix.
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" xml:lang="en">
<info>
<title>UHH TIS Airport 2030</title>
<id>http://www.zotero.org/styles/airport2030</id>
<author>
<name>Marc Widemann</name>
<email>[email protected]</email>
<uri>http://www.informatik.uni-hamburg.de/TIS/index.php/de/mitarbeiter/marc-widemann</uri>
@rmzelle
rmzelle / test.xml
Created July 8, 2011 13:33
jEdit XML Indent bug with deleting spaces in attribute values
<?xml version="1.0" encoding="utf-8"?>
<style>
<!-- this section -->
<group prefix=" " delimiter=" "></group>
<names variable="editor" delimiter=", " prefix=" " suffix=""></names>
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")"></names>
<!-- becomes -->
<group prefix=" " delimiter=""></group>
<names variable="editor" delimiter=", " prefix="" suffix=""></names>
<names variable="editor translator" delimiter=", " prefix="(" suffix=")"></names>
Non-conforming Filename (only lowercase roman letters [a-z], digits [0-9] and separating hyphens are allowed):
mhra_note_without_bibliography.csl
----------
Duplicate Filename (filename used by both an independent and dependent style):
british-journal-of-ophthalmology.csl
current-biology.csl
genesdev.csl
immunity.csl
----------
Filename/ID Mismatch (filename does not match content cs:id):
Non-conforming Filename (only lowercase roman letters [a-z], digits [0-9] and separating hyphens are allowed):
mhra_note_without_bibliography.csl
----------
Number of dependent styles per independent style:
vancouver.csl: 654
ieee.csl: 102
nature.csl: 77
apa.csl: 64
bmj-vancouver.csl: 33
american-chemical-society.csl: 28