Description

papercite format bibtex entries as HTML so they can be inserted in
WordPress pages and posts. The input data is a bibtex file (either
local or remote) and entries can be formatted by default using various
predefined styles. Bibtex source file and a link to the publication
are also available from the HTML.

Input: Sources files are BibTex files that can be:

WordPress media files (since 0.5.6)

Stored into a WordPress folder (with multi-site support);

An URL (e.g., from citeulike.org and bibsonomy.org);

A custom field when local to a post/page

Efficiency:

Database backend to speed up the processing by caching the bibtex entries for big BibTeX files.

Some parts of the code come from bib2html (version 0.9.3) written by Sergio Andreozzi.

Installation

Follow these step or use the plugin installer from WordPress to
install papercite:

download the zip file and extract the content of the zip file into a local folder

upload the folder papercite into your wp-content/plugins/ directory

log in the wordpress administration page and access the Plugins
menu

Then, you should activate papercite, and follow the instructions
given in the documentation that you can access through the plugin
list (click on the documentation link).

Frequently Asked Questions

Where is the documentation?

The documentation is now bundled with the plug-in. Go to the plug-in
list page in the WordPress dashboard, and click on the documentation link.

How can I edit my bibtex files?

If your file is local to the blog installation, you have two options:

via FTP client with text editor

via Wordpress Admin interface: Manage->Files->Other Files

-- use wp-content/papercite-data/bib/mybibfile.bib as a path

Alternatively, you can maintain your updated biblilography by using systems such as citeulike.org and bibsonomy.org;
specify the bib file using as a URL (e.g., in citeulike, you should use http://www.citeulike.org/bibtex/user/username)

How are the entries sorted?

Entries are sorted by year by default.

How can I personalize the HTML rendering?

The HTML rendering is isolated in two template files, located in the
subfolders tpl (citation list rendering) and format (entry rendering).

0.4.0

Improved compatibility with the highlight plugin (thanks to Andrius Velykis)

0.3.21

Fixed issue #26 (newlines stripped from bibtex)

Fixed bug #32 (thanks to petrosb)

0.3.20

OSBib now returns a correct entry type (closes #28)

0.3.19

Improved parsing for the OSBib parser (closes #29, #27)

Handles properly authors initials : closes #31 (thanks to petrosb)

0.3.18

Enhancement #25 (display the bibliography at the end if no bibshow
is given)

0.3.17

Fixed a small bug in the OSBiB parser

0.3.16

Updated the documentation about how papercite searches for PDFs

Added the OSBiB bibtex parser which should be much fadster than
the previous (pear) one (note that it is not actived by default for
the moment, so you should go to the plugin preferences page to set
it as your bibtex parser).

0.3.15

Corrected "Bootitle" to "booktitle" in all formats (thanks to
Enkerli@github)

Corrected a numbering bug that skipped numbers from 1 to 20 (issue #11)

0.3.14

The HTML code produced has been cleaned up (valid HTML) [bug 28]

0.3.13

Enhancement (bug 26): several bibtex files can be given

New (optional) bibtex parser handles larger bibtex files (bug 23)

Master thesis is now properly handled (bug 27)

0.3.12

Fix missing <?php (bug 24 and 25)

0.3.11

Fix a bug introduced in 0.3.10

0.3.10

Multiple authors in bibcite (enhancement #2)

Ignores @comment entries generated by jabref (bug 22)

Updated the documentation (for the new entry formats, and the
extensions to bib2tpl)

0.3.9

0.3.8

Used the proposed enhancement (bug 13) of the function _e2mn
(parsing a month)

Improved bibtex parsing (&)

Improved the entry templates

Now uses OSBib for pages formatting

0.3.7

Improved the OSBib conversion for entry format - now close to perfect

0.3.6

Bug fix when there are only two authors in the entry

Bug fix on nested conditions in templates

0.3.5

Author are formatted according to the entry template converted
from OSBib

0.3.4

Formats are back, translated from OSBib (not perfect, but close to
the output in version prior to 0.3.0

More latex accents handled

0.3.3

Fixed bug 7: umlaut (still) not handled

Fixed bug 12: bug with remote URLs

0.3.2

Entry format is now in XML to ease the edition

0.3.1

Fixed bug 7: umlaut not handled

Fixed bug 9: template option does nothing for bibshow

Bug fix on sort options

Sort by author now working

= 0.3.0 =

Complete code overhaul - switched to a new bibtex / template
system

New options to sort & group entries

Preference system to set defaults

New template based system for entry customisation

Multi-site support

= 0.2.14 =

Grouped by year option (patch due to S. Aiche)

Now generates an id which does not depend on the key (fix javascript related bugs)

= 0.2.13 =

bug fix: wrong mappings from bibtex fields to arrays have been corrected, link to pdf is now working properly, polish characters
are almost properly handled (thanks to Łukasz Radliński)

0.2.11

bug fix: name clash was preventing insertion of medias using the
WP dialogs

0.2.10

papercite now looks in the pdf directory at two levels
(wp-content, and wp-content/plugins)

0.2.9

Small bug fix (removes a warning)

0.2.8

Documentation update

New parameter format

= 0.2.5 =

Fixed a bug with the allow filter

0.2.4

Small bug fixes (if the file is an URL) and use of WP functions to
retrieve remote data (useful when you have proxies)

0.2.3

Fixed a bug introduced in 0.2.2

Changed the default folder for data in order to avoid data loss
when upgrading

Finished the encapsulation of all the code, so as to prevent name
clash with wordpress and/or other plugins

0.2.2

Removed PHP 5 specific code

0.2.1

Added the template file

0.2

Added deny/allow parameters to [bibtex] so the plugin can replace bib2html

0.1

Adapted the plugin from bib2html 0.9.3

Added the bibshow and bibcite commands

Upgrade Notice

0.5.9

Update to this version for those having troubles after updating to 0.5.7 or 0.5.8 (or clear the cache)

0.3.17

If you have problems with CPU usage or time to display a page, try this version and choose the OSBiB parser
in the plugin preferences (in the WP administration page)

0.3.14

If you have custom templates, please read. The template generation has been slightly modified - you have to
explicitely markup paragraphs and line breaks, since papercite now
removes any \n or \r in the templates to avoid clashes with WordPress.

0.3.13

Bug fixes and new experimental parser (disabled by default) to handle
bibtex files faster (useful for large bibtex files)

0.3.11

Should be the last stable release before the 0.4.0 and CoINS support

0.3.5

Compatibility with version prior to 0.3.0 is now almost completed. Users who
want to use the new grouping, sorting or template functionalities are advised
to upgrade to this version.
= 0.3.0 =
Complete overhaul of the bibtex/template system, with a lot of new
options. Please wait until version
0.3.1 if you want to be sure of a bug free papercite (it should not
break WordPress though). Please note that there is
only one citation format (IEEE) and that is only a partial implementation.
= 0.2.9 =
Removed a PHP warning with bibshow

0.2.8

Introduced the format parameter to format the entries

0.2.5

Bug fix - all users should upgrade

0.2.4

Users using remote URLs for their bibliography should upgrade

0.2.3

All users must upgrade to this version - Please read the information
about the new location of bibtex and pdfs.

0.2.2

Users using PHP 4 should upgrade
= 0.2.1 =
All users should upgrade - plugin was broken until now

0.2

All bib2html users should at least use this version so they don't break their installation