Changes between Version 2 and Version 3 of TracBibPlugin
- Timestamp:
- Oct 14, 2017, 7:05:10 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracBibPlugin
v2 v3 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = A !BibTex Cite Plugin3 = Add bibliographic references to wiki pages 4 4 5 5 == Description 6 6 7 [ http://en.wikipedia.org/wiki/BibTeX BibTex] isfor formatting lists of bibliographic references.7 [wikipedia:BibTeX] is a system for formatting lists of bibliographic references. 8 8 9 9 This plugin provides the ability to cite from common bibtex (*.bib) files. 10 10 11 The plugin can use bibtex files out of 12 * a repository (svn, git, mercurial)11 The plugin can use bibtex files out of: 12 * a repository, such as svn, git, mercurial 13 13 * a wiki page 14 * a Wiki-Attachment15 * or an external website.14 * a wiki attachment 15 * an external website 16 16 17 17 If a wiki page called !BibTex exists, the page is loaded automatically by //!BibRef()// and used as standard library. … … 19 19 Make sure to put bibtex entries into a Code Block when you use them from a wiki page. 20 20 21 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. 21 Other features: 22 * The new default citation style is an IEEE-like style. 23 * !BibTeX files can be loaded from external websites. 24 * Extension point `IBibRefFormatter` for custom citation styles introduced. 25 * Extension point `IBibSourceProvider` for custom BibTeX loaders introduced. 26 * Wiki pages can be used as bibliograpy. The Entries must be inside a code block. 27 * The attachments can now be loaded from any page in the wiki. 28 * A special page "!BibTex" will be loaded automatically if this page exists, like in [t:BadContent BadContent]. 29 30 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 latex plugins: tagged:LaTeX 22 31 23 32 == Bugs/Feature Requests 24 33 25 34 Existing bugs and feature requests for TracBibPlugin are 26 [ query:status!=closed&component=TracBibPlugin&order=priorityhere].35 [report:9?COMPONENT=TracBibPlugin here]. 27 36 28 37 If you have any issues, create a 29 [/newticket?component=TracBibPlugin &owner=Amfortasnew ticket].38 [/newticket?component=TracBibPlugin new ticket]. 30 39 31 40 [[TicketQuery(component=TracBibPlugin&group=type,format=progress)]] 32 41 33 == Download and Source42 == Download 34 43 35 Download the [download:tracbibplugin zipped source], check out from [/svn/tracbibplugin using Subversion], or [source:tracbibplugin browse the source] with Trac. 44 Download the zipped source from [export:tracbibplugin here]. 45 46 == Source 47 48 You can check out TracBibPlugin from [/svn/tracbibplugin here] using Subversion, or [source:tracbibplugin browse the source] with Trac. 36 49 37 50 == Installation … … 40 53 41 54 Run one of the following commands, depending on the Trac version that you run: 42 {{{ 43 #!sh 44 easy_install http://trac-hacks.org/svn/tracbibplugin/0.10/ 45 easy_install http://trac-hacks.org/svn/tracbibplugin/0.11/ 46 easy_install http://trac-hacks.org/svn/tracbibplugin/0.12/ 47 easy_install http://trac-hacks.org/svn/tracbibplugin/1.0/ 55 {{{#!sh 56 easy_install https://trac-hacks.org/svn/tracbibplugin/0.10/ 57 easy_install https://trac-hacks.org/svn/tracbibplugin/0.11/ 58 easy_install https://trac-hacks.org/svn/tracbibplugin/0.12/ 59 easy_install https://trac-hacks.org/svn/tracbibplugin/1.0/ 48 60 }}} 49 61 50 == News62 == Configuration 51 63 52 * The new default citation style is an IEEE-like style. 53 * !BibTeX files can be loaded from external websites. 54 * Extensionpoint ''IBibRefFormatter'' for custom citation styles introduced. 55 * Extensionpoint ''IBibSourceProvider'' for custom !BibTeX loaders introduced. 56 * Wiki pages can be used as bibliograpy. The Entries must be inside a code block. 57 * The attachments can now be loaded fom any page in the wiki. 58 * A special page "!BibTex" will be loaded automatically if this page exists, like in [http://trac.edgewall.org/wiki/BadContent BadContent]. 59 60 == Usage 61 62 === Configuration Settings 63 64 You can add a `[bibtext]` config section in `trac.ini`. In this section you can change the heading of the References and you can add other sources that should always be loaded: 65 {{{ 66 #!ini 64 You can add a `[bibtext]` config section in your `trac.ini` file. In this section you can change the heading of the References and you can add other sources that should always be loaded: 65 {{{#!ini 67 66 [bibtex] 68 heading = Literatur # default: References69 auto = source:mybib.bib, wiki:BibTexBlub # default: wiki:BibTex67 heading = Literatur # default: References 68 auto = source:mybib.bib, wiki:BibTexBlub # default: wiki:BibTex 70 69 }}} 71 70 … … 77 76 [[BibAdd(attachment:[wikipage/]file)]] # add a file from a wiki attachment 78 77 [[BibAdd(wiki:page)]] # use a wiki page 79 [[BibAdd(http://www.external.page.com)]] # use a bibtex file from everywhere78 [[BibAdd(http://www.external.page.com)]] # use a bibtex file from anywhere on the web 80 79 }}} 81 80 … … 141 140 [[BibAdd(source:mybib.bib)]] 142 141 143 I am citing here [[BibCite(small)]] and someone said "hello world" [[BibCite(wiki,123)]] and 144 cite:small:123-124 is important. finally the BibTex entry with the key ''big'' is not cited but 145 will appear in the references because of tho ''!BibNoCite'' macro. 142 I am citing here [[BibCite(small)]] and someone said "hello world" [[BibCite(wiki,123)]] and cite:small:123-124 is important. finally the BibTex entry with the key ''big'' is not cited, but will appear in the references because of tho ''!BibNoCite'' macro. 146 143 147 144 [[BibNoCite(big)]] … … 151 148 When rendered this looks as follows: 152 149 153 [[Image(tracbib2.png )]]150 [[Image(tracbib2.png, border=2)]] 154 151 155 152 == Related