Changeset 6188
- Timestamp:
- 01/29/10 15:49:13 (2 years ago)
- Location:
- trunk/BibliographyPlugin
- Files:
-
- 2 edited
-
data/System/BibliographyPlugin.txt (modified) (2 diffs)
-
lib/Foswiki/Plugins/BibliographyPlugin.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BibliographyPlugin/data/System/BibliographyPlugin.txt
r3146 r6188 20 20 21 21 | *Key* | *Description* | 22 | big | Jass, Hugh. _A big paper_. The journal of big papers, 7991, volume MCMXCVII. |22 | big | Jass, Hugh. _A big paper_. The journal of big papers, 7991, volume MCMXCVII. %ICON{note}% | 23 23 | small | Freely, I.P. _A small paper_. The journal of small papers, 1997. (to appear). | 24 24 … … 99 99 %$INSTALL_INSTRUCTIONS% 100 100 101 ---++ Plugin Files102 103 | *File:* | *Description:* |104 %$MANIFEST%105 106 101 ---++ Plugin Info 107 102 108 103 | Plugin Author(s): | Foswiki:Main.AndrewJones | 109 | Previous Author(s): | TWiki:Main.AntonioTerceiro |110 | Copyright: | © 2009 , Andrew Jones, © 2004, Antonio Terceiro |104 | Previous Author(s): | Foswiki:Main.AntonioTerceiro | 105 | Copyright: | © 2009 - 2010, Andrew Jones, © 2004, Antonio Terceiro | 111 106 | License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]] | 112 107 | Plugin Release: | %$RELEASE% | 113 108 | Plugin Version: | %$VERSION% | 114 109 | Change History: | <!-- versions below in reverse order --> | 115 | 17 Mar 2009 | 1.0: Foswikitask:Item1251 - Initial release for Foswiki - Foswiki:Main.AndrewJones | 110 | 29 Jan 2010 | 1.1: Foswikitask:Item8440 - Expand Macros in References -- Foswiki:Main.AndrewJones | 111 | 17 Mar 2009 | 1.0: Foswikitask:Item1251 - Initial release for Foswiki -- Foswiki:Main.AndrewJones | 116 112 | 28 Aug 2005: | Adhering to official handlers in TWiki:Codev/DakarRelease. Added <code>%<nop/>CITEINLINE{...}%</code>. | 117 113 | 23 Aug 2004: | Added multiple references sources support | -
trunk/BibliographyPlugin/lib/Foswiki/Plugins/BibliographyPlugin.pm
r3146 r6188 1 1 # Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/ 2 2 # 3 # Copyright (C) 2009 Andrew Jones, andrewjones86@gmail.com3 # Copyright (C) 2009 - 2010 Andrew Jones, http://andrew-jones.com 4 4 # Copyright (C) 2004 Antonio Terceiro, asaterceiro@inf.ufrgs.br 5 5 # … … 19 19 20 20 # ========================= 21 use vars qw( $web $topic $VERSION $RELEASE $SHORTDESCRIPTION $debug $pluginName $NO_PREFS_IN_TOPIC);21 use vars qw( $web $topic ); 22 22 23 23 our $VERSION = '$Rev$'; 24 our $RELEASE = '1. 0';24 our $RELEASE = '1.1'; 25 25 our $SHORTDESCRIPTION = 'Cite bibliography in one topic and get a references list automatically created.'; 26 26 our $NO_PREFS_IN_TOPIC = 1; … … 141 141 } 142 142 143 # was startRenderingHandler before. changed to preRenderingHandler as indicated144 # in Foswiki:Extensions/DeprecatedHandlers.145 sub preRenderingHandler143 # Changed from preRenderingHandler to allow for Macro expansion in references 144 # See http://foswiki.org/Tasks/Item8440 145 sub beforeCommonTagsHandler 146 146 { 147 147 ### my ( $text, $web ) = @_; # do not uncomment, use $_[0], $_[1] instead 148 148 149 149 Foswiki::Func::writeDebug( "- ${pluginName}::startRenderingHandler( $_[1] )" ) if $Foswiki::cfg{Plugins}{$pluginName}{Debug}; 150 151 # This handler is called by getRenderedVersion just before the line loop152 150 153 151 # do custom extension rule, like for example:
Note: See TracChangeset
for help on using the changeset viewer.
