wiki:CiteMacro

Version 10 (modified by anonymous, 6 years ago) (diff)

Fixed a typo in the example.

Citation Plugin

Description

Easy citation of resources. Gives wiki-pages the equivalent to LaTeX's \cite{} and \makeindex commands. Also see #453

Bugs/Feature Requests

Existing bugs and feature requests for CiteMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out CiteMacro from here using Subversion, or browse the source with Trac.

Example

To cite a resource use the form:

Cite(label, [description, [keywords]])

For example,

In the Mythical Man-Month [[Cite(brooks95,author=Fred Brooks,title=The Mythical Man-Month: Essays on Software Engineering,
year=1995,publisher=Addison-Wesley, url=http://en.wikipedia.org/wiki/The_Mythical_Man-Month)]]
there is an much referenced article, No Silver Bullet.

You can cite the same reference more then once:

Some stuff [[Cite(cite,Citation plugin,url=http://trac-hacks.org/wiki/CiteMacro)]] and then again [[Cite(cite)]] using only
the label.

Finally, at the bottom of the page generate the references:

[[Cite(references)]]

With back links, and a smaller heading.

[[Cite(references,h=2,backref=true))]]

The list of keywords was obtained from IEEEexample.bib,

author, assignee, nationality, editor, title, intype, booktitle, edition, series, journal, volume, number, organization,
institution, publisher, school, language, address, url, howpublished, dayfiled, monthfiled, yearfiled, day, month, year,
chapter, volume, paper, type, revision, pages, note, key

Possible Improvements

  • Back links.
  • More intelligent reference creation, a patent reference should look different from an article in a journal. Order of keywords spring to mind.

Recent Changes

[4534] by lcordier on 2008-10-20 10:27:47
Improved the formatters, better date output.
[4528] by lcordier on 2008-10-17 15:58:04
Cosmetic changes.
[4496] by lcordier on 2008-10-15 10:01:27
Cosmetic changes.

Author/Contributors

Author: lcordier
Contributors:

Attachments (1)

Download all attachments as: .zip