wiki:CiteMacro

Version 16 (modified by lcordier, 6 years ago) (diff)

--

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 and Source

Download the zipped source, check out 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(brooks87,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

To create a BibTeX bibliography with a 4 space indentation.

[[Cite(bibtex,indent=4,style=background: #eee; border: 1px solid black; padding: 10px;)]]

Simply copy & paste the rendered output into your bibliography file.

Possible Improvements

  • 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