A BibTex Cite Plugin

Description

BibTex is for formatting lists of bibliographic references.

The aim of this plugin is to provide the ability to cite from common bibtex (*.bib) files.

The plugin can use bibtex files out of a svn repository, a git repository,a wiki page or from an Wiki-Attachment.

If a wiki page called BibTex exists, the page is loaded automatically by BibRef() and used as standard library.

Make sure to put bibtex entries into a Code Block when you use them from a wiki page.

The command structure is inspired by the reference and bibtex system in latex. This should make it easy to make this plugin compatible with existing trac - latex plugins.

Bugs/Feature Requests

Existing bugs and feature requests for TracBibPlugin are here.

If you have any issues, create a new ticket.

Download and Source

Download the zipped source, check out from using Subversion, or browse the source with Trac.

Install

easy_install http://trac-hacks.org/svn/tracbibplugin/0.10/
easy_install http://trac-hacks.org/svn/tracbibplugin/0.11/
easy_install http://trac-hacks.org/svn/tracbibplugin/0.12/
easy_install http://trac-hacks.org/svn/tracbibplugin/0.13/

Requirements

bibtexparser which is included in the plugin.

News

  • Wiki pages can be used as bibliograpy. The Entries must be inside a code block.
  • The attachments can now be loaded fom any page in the wiki
  • A special page "BibTex?" will be loaded automatically if this page exists, like in BadContent.

Load Bibtex Entries

The way how to invoke a bibtex file has substantially changed:

[[BibAdd(source:path/to/file[@rev])]]  # add a file from source 
[[BibAdd(attachment:[wikipage/]file)]] # add a file from a wiki attachment        
[[BibAdd(wiki:page)]]                  # use a wiki page 

Examples

[[BibAdd(source:bib.bib@2)]]
[[BibAdd(source:trunk/bib.bib@latest)]]
[[BibAdd(source:bib.bib)]]
[[BibAdd(attachment:fiol.bib)]]
[[BibAdd(attachment:test/lala.bib)]]

Cite an article

[[BibCite(key)]]

Add an article without citation

[[BibNoCite(key)]]

Inserting the bibliography

[[BibRef]]

Full Example

#load bibliography
[[BibAdd(source:bib.bib@latest)]]
Let's cite BibCite(12332).
...
You will not see this [[BibNoCite(33425)]] here but it will appear in "BibRef"
...

#Render Cited Articles
[[BibRef]]

Recent Changes

[11130] by Amfortas on 01/08/12 22:30:34

rendering authors, adding some chrome

[11125] by Amfortas on 01/07/12 19:41:01

support for css decoration

[11115] by Amfortas on 01/06/12 15:33:05

'%' is not used for comments in bibtex

[11111] by Amfortas on 01/05/12 22:53:34

#8593

Author/Contributors

Author: Amfortas
Maintainer: Amfortas
Contributors: abeld

Attachments