citation: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
= Citation Formats =
= Citation Formats =
This page will display several different types of citation format types. The idea is to compare what properties are common amonst all of the formats and which ones should be blended into this microformat.


== XMLResume ==
== Authors ==
<pre>
[http://suda.co.uk/ Brian Suda]
<!ELEMENT pubs (pub+)>
<!ENTITY % pubElements "(artTitle|bookTitle|author|date|pubDate|publisher|pageNums|url)">
<!ELEMENT pub (para | %pubElements;)*>
<!ATTLIST pub id ID #IMPLIED>
<!ELEMENT artTitle (#PCDATA | link)*>
<!ELEMENT bookTitle (#PCDATA | link)*>
<!ELEMENT author (#PCDATA)>
<!ATTLIST author name IDREF #IMPLIED>
<!ELEMENT pubDate (month?, year)> <!-- Deprecated in 1.4.0. -->
<!ELEMENT publisher (#PCDATA | link | url)*>
<!ELEMENT pageNums (#PCDATA)>
</pre>


== BibTeX ==
== Copyright ==
=== Fields Used by Bibtex ===
{{MicroFormatCopyrightStatement2004}}
<table border="1" width="100%">
    <tr>
        <td><strong>abstract:</strong></td>
        <td>An abstract of the work.</td>
    </tr>
    <tr>
        <td><b>address:</b></td>
        <td>Publisher's address. For major publishing houses,
        just the city is given. For small publishers, you can
        help the reader by giving the complete address.</td>
    </tr>
    <tr>
        <td><strong>affiliation:</strong></td>
        <td>The author's affiliation.</td>
    </tr>
    <tr>
        <td><b>annote:</b></td>
        <td>An annotation. It is not used by he standard
        bibliography styles, but may be used by others that
        produce an annotated bibliography.</td>
    </tr>
    <tr>
        <td><b>author:</b></td>
        <td>The name(s) of the author(s).</td>
    </tr>
    <tr>
        <td><b>booktitle:&nbsp;</b></td>
        <td>Title of a book, part of which is being cited. For
        book entries, use the <strong>title</strong> field
        instead.</td>
    </tr>
    <tr>
        <td><b>chapter:</b></td>
        <td>A chapter (or section) number.</td>
    </tr>
    <tr>
        <td><strong>contents:</strong></td>
        <td>A Table of Contents.</td>
    </tr>
    <tr>
        <td><strong>copyright:</strong></td>
        <td>Copyright information.</td>
    </tr>
    <tr>
        <td><strong>crossref:</strong></td>
        <td>The database key of the entry being cross-referenced.</td>
    </tr>
    <tr>
        <td><b>edition:&nbsp;</b></td>
        <td>The edition of a book - for example
        &quot;Second&quot;. Notice that it is in capitals.</td>
    </tr>
    <tr>
        <td><b>editor:&nbsp;</b></td>
        <td>Name(s) of editor(s). If there is also an author
        field, then the editor field gives the editor of the book
        or collection in which the reference appears.</td>
    </tr>
    <tr>
        <td><b>howpublished:</b></td>
        <td>How something strange has been published. The first
        word should be capitalized.</td>
    </tr>
    <tr>
        <td><b>institution:</b></td>
        <td>The sponsoring institution of a technical report.</td>
    </tr>
    <tr>
        <td><strong>ISBN:</strong></td>
        <td>The International Standard Book Number.</td>
    </tr>
    <tr>
        <td><strong>ISSN:</strong></td>
        <td>The International Standard Serial Number. Used to
        identify a journal.</td>
    </tr>
    <tr>
        <td><b>journal:&nbsp;</b></td>
        <td>A journal name. Abbreviations are provided for many
        journals.</td>
    </tr>
    <tr>
        <td><b>key:&nbsp;</b></td>
        <td>Used for alphabetizing and creating a label when the
        author and editor fields are missing. This field should
        not be confused with the key that appears at the
        beginning of the reference.</td>
    </tr>
    <tr>
        <td><strong>keywords:</strong></td>
        <td>Key words used for searching or possibly for
        annotation.</td>
    </tr>
    <tr>
        <td><strong>language:</strong></td>
        <td>The language the document is written in.</td>
    </tr>
    <tr>
        <td><strong>LCCN:</strong></td>
        <td>The Library of Congress Call Number.</td>
    </tr>
    <tr>
        <td><strong>location:</strong></td>
        <td>A location associated with the entry, such as the
        city in which a conference took place.</td>
    </tr>
    <tr>
        <td><b>month:&nbsp;</b></td>
        <td>The month in which the work was published or, for an
        unpublished work, in which it was written.</td>
    </tr>
    <tr>
        <td><strong>mrnumber:</strong></td>
        <td>The <em>Mathematical Reviews</em> number.</td>
    </tr>
    <tr>
        <td><b>note:</b></td>
        <td>Any additional information that can help the reader.
        First word should be capitalized.</td>
    </tr>
    <tr>
        <td><b>number:&nbsp;</b></td>
        <td>The number of a journal, magazine, technical report,
        or of a work in a series. An issue of a journal or
        magazine is usually identified by its volume and number;
        the organization that issues a technical report usually
        gives it a number; and sometimes books are given numbers
        in a named series.</td>
    </tr>
    <tr>
        <td><b>organization:&nbsp;</b></td>
        <td>The organization that sponsors a conference or
        publishes a manual.</td>
    </tr>
    <tr>
        <td><b>pages:</b></td>
        <td>One or more page numbers or ranges of number, such as
        37--42, or 7,53,82--94.</td>
    </tr>
    <tr>
        <td><strong>price:</strong></td>
        <td>The price of the material.</td>
    </tr>
    <tr>
        <td><b>publisher:</b></td>
        <td>The publisher's name.</td>
    </tr>
    <tr>
        <td><b>school:</b></td>
        <td>The name of the school where a thesis was written.</td>
    </tr>
    <tr>
        <td><b>series:</b></td>
        <td>Then name given a series or set of books. When citing
        an entire book, the title field gives its title and the
        optional series field gives the name of a series in which
        the book was published.</td>
    </tr>
    <tr>
        <td><strong>size:</strong></td>
        <td>The physical dimensions of the work.</td>
    </tr>
    <tr>
        <td><b>title:</b></td>
        <td>The work's title.</td>
    </tr>
    <tr>
        <td><b>type:</b></td>
        <td>The type of technical report - for example,
        &quot;Research Note&quot;.</td>
    </tr>
    <tr>
        <td><strong>url:</strong></td>
        <td>The WWW Universal Resource Locator that points to the
        item being referenced. Often used for technical reports
        to point to the FTP site where it resides.</td>
    </tr>
    <tr>
        <td><b>volume:</b></td>
        <td>The volume of a journal or multivolume book.</td>
    </tr>
    <tr>
        <td><b>year:</b></td>
        <td>The year of publication or, for an unpublished work,
        the year it was written. It should only consist of
        numerals, such as 1976.</td>
    </tr>
</table>
=== BibTeX citation Types ===
A reference can be to any of a variety of types. Following is a list of types. Each one also explains the fields associated with that type. Any fields not listed as required or optional are considered to be ignored.
<table border="1" width="100%">
    <tr>
        <td><b>article:</b></td>
        <td>An article from a journal or magazine. Required
        fields: author, title, journal, year. Optional fields:
        volume, number, pages, month, note, key.</td>
    </tr>
    <tr>
        <td><b>book:</b></td>
        <td>A book with an explicit publisher. Required fields:
        author or editor, title, publisher, year. Optional
        fields: volume, series, address, edition, month, note,
        key.</td>
    </tr>
    <tr>
        <td><b>booklet:&nbsp;</b></td>
        <td>A work that is printed and bound, but without a named
        publisher or sponsoring institution. Required fields:
        title. Optional fields: author, howpublished, address,
        month, year, note, key.</td>
    </tr>
    <tr>
        <td><strong>collection:</strong></td>
        <td>A collection of works. Same as <a href="#proceedings">Proceedings</a>.</td>
    </tr>
    <tr>
        <td><b>conference:</b></td>
        <td>The same as <a href="#inproceedings">Inproceedings</a>.</td>
    </tr>
    <tr>
        <td><b>inbook:</b></td>
        <td>A part of a book, which may be a chapter and/or a
        range of pages. Required fields: author or editor, title,
        chapter and/or pages, publisher, year. Optional fields:
        volumer, series, address, edition, month, note, key.</td>
    </tr>
    <tr>
        <td><b>incollection:</b></td>
        <td>A part of a book with its own title. Required fields:
        author, title, booktitle, publisher, year. Optional
        fields: editor, pages, organization, publisher, address,
        month, note, key.</td>
    </tr>
    <tr>
        <td><a name="inproceedings"></a><b>inproceedings:</b></td>
        <td>An article in a conference proceedings. Required
        fields: author, title, booktitle, year. Optional fields:
        editor, pages, organization, publisher, address, month,
        note, key.</td>
    </tr>
    <tr>
        <td><b>manual:&nbsp;</b></td>
        <td>Technical documentation. Required fields: title.
        Optional fields: author, organization, address, edition,
        month, year, note.</td>
    </tr>
    <tr>
        <td><b>mastersthesis:</b></td>
        <td>A Master's thesis. Required fields: author, title,
        school, year. Optional fields: address, month, note, key.</td>
    </tr>
    <tr>
        <td><b>misc:</b></td>
        <td>Use this type when nothing else fits. Required
        fields: none. Optional fields: author, title,
        howpublished, month, year, note, key.</td>
    </tr>
    <tr>
        <td><strong>patent:</strong></td>
        <td>A patent.</td>
    </tr>
    <tr>
        <td><b>phdthesis:</b></td>
        <td>A Ph.D. thesis. Required fields: author, title,
        school, year. Optional fields: address, month, note, key.</td>
    </tr>
    <tr>
        <td><a name="proceedings"></a><b>proceedings:</b></td>
        <td>The proceedings of a conference. Required fields:
        title, year. Optional fields: editor, publisher,
        organization, address, month, note, key.</td>
    </tr>
    <tr>
        <td><b>techreport:</b></td>
        <td>A report published by a school or other institution,
        usually numbered within a series. Required fields:
        author, title, institution, year. Optional fields: type,
        number, address, month, note, key.</td>
    </tr>
    <tr>
        <td><b>unpublished:</b></td>
        <td>A document with an author and title, but not formally
        published. Required fields: author, title, note. Optional
        fields: month, year, key.</td>
    </tr>
</table>


==== Examples ====
== Introduction ==
<pre><nowiki>
Currently, there has been some discussion about a citation format. This is the wiki page to document current examples of cites/citations on the web today, and current cite/citation formats, and their implicit/explicit schemas, with the intent of deriving a cite microformat from that research.
@book{kn:gnus,


AUTHOR = "Donald E. Knudson",
== Semantic XHTML Design Principles ==
TITLE = "1966 World Gnus Almanac",
{{semantic-xhtml-design-principles}}
PUBLISHER = {Permafrost Press},
ADDRESS = {Novosibirsk} }


<div class="book" id="kn:gnus">
== Known Citation Formats ==
  <div class="author">Donald E. Knudson</div>
This is a list of the known formats for creating citations, this microformat will be a blend of some or all of them. The [[cite-formats|Citation Formats Page]] will be a running tab of these formats.
  <div class="title">1966 World Gnus Almanac</div>
  <div class="publisher">Permafrost Press</div>
  <div class="address">Novosibirsk</div>
</div>


Eventually, i would like to see a chart of how each value is represented in each format, and what formats have additional properties that do not map between them. (For example, Format1 calls 'author' 'author', in format2 'author' is called 'writter'. etc)


@article{XAi_HSCheng_1994a,
== Example Citations ==
[[cite-examples|Citation Examples]] are citations found in the wild that could benefit from semantic mark-up. This is a growing list of examples from all sorts of places including W3C specifications, RFCs and others.


author = "X. Ai and H. S. Cheng",
== Todo ==
title = "Influence of moving dent on point {EHL} contacts",
* select a bibliography format to model
journal = "Tribol. Trans.",
* look for HTML tags that give the most semantic meaning
volume = "37",
year = "1994",
pages = "323--335",
}


<div class="article" id="XAi_HSCheng_1994a">
== Questions ==
  <div class="author">X. Ai and H. S. Cheng</div>
* what is the difference between hReview and a Citation format?
  <div class="title">Influence of moving dent on point {EHL} contacts</div>
** Right a citation is actually very different from a review, and even although a review could be said to contain a citation to the item being reviewed, in practice, the two are very different.
  <div class="journal">Tribol. Trans.</div>
* if a citation is an author or publisher, isn't that just an hCard
  <div class="volume">37</div>
*
  <div class="year">1994</div>
 
  <div class="pages">323--335</div>
== Modularity ==
</div>
My hope for this microformat is that it can be a sort of module that can be used in other microformats. Once this is developed and flushed out, citation references could easily be used for publications on a Resume/CV, therefore the citation microformat would be a module (subset) of all the possible Resume Values.
</nowiki></pre>
 
Other Microformats that use the Citation Module
* [http://microformats.org/wiki/resume-formats Resume Microformat] (possibly)
 
Other Microformats that the Citation Module will use
* [http://microformats.com/wiki/hcard hCard] encodings for things like Author, Publisher (people and companies)
 
== References ==
=== Informative References ===
* [http://ocoins.info/ COinS]
* [http://xmlresume.sourceforge.net/ XMLResume]: if part of the drive for citations is for publications for a resume/CV then some of this information could be useful
* BibTeX references I think a citation micro-format would be useful, but BibTeX is not the best model to use. It has a flat metadata model that does a really poor job representing the sort of citations that people outside of the hard sciences cite.
 
=== Comments ===
I'm the author of the [http://xbiblio.sourceforge.net/citeproc.html citeproc] project, which includes a micro-format of sorts (though I never thought of it as such) in its XHTML output mode.  See [http://xbiblio.sourceforge.net/examples/apa-en.html here] for an example.  The difference compared to the bibtex-derived model is that is is a) more generic and b) hierachical.
 
It would be possible, certainly, to do a flat model if for some reason there was a good technical reason not to go hierarchical (though is there?), but then you need to think outside the BibTeX box in any case. Any model of this sort ought to be able to handle legal citations, magazine articles, patents, etc. etc.; not just a narrow range of BibTeX types.

Revision as of 16:00, 16 August 2005

Citation Formats

Authors

Brian Suda

Copyright

This specification is (C) 2004-2024 by the authors. However, the authors intend to submit (or already have submitted, see details in the spec) this specification to a standards body with a liberal copyright/licensing policy such as the GMPG, IETF, and/or W3C. Anyone wishing to contribute should read their copyright principles, policies and licenses (e.g. the GMPG Principles) and agree to them, including licensing of all contributions under all required licenses (e.g. CC-by 1.0 and later), before contributing.

Introduction

Currently, there has been some discussion about a citation format. This is the wiki page to document current examples of cites/citations on the web today, and current cite/citation formats, and their implicit/explicit schemas, with the intent of deriving a cite microformat from that research.

Semantic XHTML Design Principles

Note: the Semantic XHTML Design Principles were written primarily within the context of developing hCard and hCalendar, thus it may be easier to understand these principles in the context of the hCard design methodology (i.e. read that first). Tantek

XHTML is built on XML, and thus XHTML based formats can be used not only for convenient display presentation, but also for general purpose data exchange. In many ways, XHTML based formats exemplify the best of both HTML and XML worlds. However, when building XHTML based formats, it helps to have a guiding set of principles.

  1. Reuse the schema (names, objects, properties, values, types, hierarchies, constraints) as much as possible from pre-existing, established, well-supported standards by reference. Avoid restating constraints expressed in the source standard. Informative mentions are ok.
    1. For types with multiple components, use nested elements with class names equivalent to the names of the components.
    2. Plural components are made singular, and thus multiple nested elements are used to represent multiple text values that are comma-delimited.
  2. Use the most accurately precise semantic XHTML building block for each object etc.
  3. Otherwise use a generic structural element (e.g. <span> or <div>), or the appropriate contextual element (e.g. an <li> inside a <ul> or <ol>).
  4. Use class names based on names from the original schema, unless the semantic XHTML building block precisely represents that part of the original schema. If names in the source schema are case-insensitive, then use an all lowercase equivalent. Components names implicit in prose (rather than explicit in the defined schema) should also use lowercase equivalents for ease of use. Spaces in component names become dash '-' characters.
  5. Finally, if the format of the data according to the original schema is too long and/or not human-friendly, use <abbr> instead of a generic structural element, and place the literal data into the 'title' attribute (where abbr expansions go), and the more brief and human readable equivalent into the element itself. Further informative explanation of this use of <abbr>: Human vs. ISO8601 dates problem solved

Known Citation Formats

This is a list of the known formats for creating citations, this microformat will be a blend of some or all of them. The Citation Formats Page will be a running tab of these formats.

Eventually, i would like to see a chart of how each value is represented in each format, and what formats have additional properties that do not map between them. (For example, Format1 calls 'author' 'author', in format2 'author' is called 'writter'. etc)

Example Citations

Citation Examples are citations found in the wild that could benefit from semantic mark-up. This is a growing list of examples from all sorts of places including W3C specifications, RFCs and others.

Todo

  • select a bibliography format to model
  • look for HTML tags that give the most semantic meaning

Questions

  • what is the difference between hReview and a Citation format?
    • Right a citation is actually very different from a review, and even although a review could be said to contain a citation to the item being reviewed, in practice, the two are very different.
  • if a citation is an author or publisher, isn't that just an hCard

Modularity

My hope for this microformat is that it can be a sort of module that can be used in other microformats. Once this is developed and flushed out, citation references could easily be used for publications on a Resume/CV, therefore the citation microformat would be a module (subset) of all the possible Resume Values.

Other Microformats that use the Citation Module

Other Microformats that the Citation Module will use

  • hCard encodings for things like Author, Publisher (people and companies)

References

Informative References

  • COinS
  • XMLResume: if part of the drive for citations is for publications for a resume/CV then some of this information could be useful
  • BibTeX references I think a citation micro-format would be useful, but BibTeX is not the best model to use. It has a flat metadata model that does a really poor job representing the sort of citations that people outside of the hard sciences cite.

Comments

I'm the author of the citeproc project, which includes a micro-format of sorts (though I never thought of it as such) in its XHTML output mode. See here for an example. The difference compared to the bibtex-derived model is that is is a) more generic and b) hierachical.

It would be possible, certainly, to do a flat model if for some reason there was a good technical reason not to go hierarchical (though is there?), but then you need to think outside the BibTeX box in any case. Any model of this sort ought to be able to handle legal citations, magazine articles, patents, etc. etc.; not just a narrow range of BibTeX types.