Skip to content

Maldini is a plugin for Nesta to generate citations and reference lists from BibTeX files.

License

Notifications You must be signed in to change notification settings

gma/nesta-plugin-maldini

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maldini

Maldini is a Nesta plugin allowing citations and bibliographies to be automatically generated from BibTeX files. It is intended to streamline the workflow of those who write content both in LaTeX and for the web. It is also intended to make Nesta the tool of choice for academic websites. For more on the idea behind Maldini, see the Maldini project homepage.

Installation

Maldini is presently in pre-release development. The first official release, of version 0.0.1, will occur only when a gem is released to rubygems.org. For now, the development version of Maldini may be installed by adding the following line to the Gemfile of your Nesta site:

gem 'nesta-plugin-maldini', :git => 'git://github.com/etc/nesta-plugin-maldini.git'

For guidelines for working with Nesta plugin sources, see the Nesta plugin documentation.

Usage

Maldini provides a syntax modeled on (a very small subset of) the syntax provided by biblatex (it is basically a wrapper for bibtex-ruby, which looks after the hard work of parsing the BibTeX file). The Maldini project homepage is itself an example of how to employ Maldini. The source from which it is generated can be browsed here, and the BibTeX file it employs can be browsed here. More detailed information can be found in the Maldini YARD Documentation, which is automatically generated every time the Maldini sources are updated.

ACKNOWLEDGEMENTS

VERSION HISTORY

0.0.1

  • Initial skeleton release.
  • Supported features:
    • Correctly parses LaTeX code in field data
    • Sorts reference list by surname, then first name, then year
  • Nesta::Plugin::Maldini::Bibliography public methods:
    • open()
    • textcite()
    • citeauthor()
    • parencite()
    • fullcite()
    • printbibliography()
  • Supported entry types:
    • article
    • book
    • inbook
    • incollection
    • inproceedings
  • Unsupported entry types:
    • unpublished
    • phdthesis

TODO

  • Minor issues are flagged method by method in the source with "TODO".

Known Issues

  • Convert single dashes to endashes in pages field.
  • Better treatment of cases where a bibliography contains authors with the same last name with multiple publications in a single year. Default behaviour should be to incrementally append a lowercase letter to the year field (Name, 2001a; Name, 2001b).
  • Heroku deployments do not like bibliographies stored in the Nesta attachments directory.

Wishlist

  • Create BibDesk template for copying entries as Maldini citations.
  • Allow bibliography file to be specified in custom Nesta metadata.
  • Generate HTML marked up with identifiers to permit:
    • Customised styling of citations and (especially) reference lists.
    • Hyperlinks to references.
  • Find a way to embed citations directly in Markdown pages, perhaps by totally re-engineering everything to utilise the citation processing implemented by Pandoc.
  • Provide methods for citing page or section numbers, modeled on biblatex syntax.
  • Provide methods for simultaneously citing multiple entries.
  • Add support for entry notes, including notes that include biblatex citations to other entries.
  • Add support for DOI field, formatting as URI iff there is no URL field.
  • Automate testing with RSpec or something similar.
  • Allow BibTeX file to be sourced directly from a GitHub repository.
  • Implement option to format citations in any format specified in Citation Style Language, by wrapping citeproc-ruby.
  • Add support for Biber.

AUTHOR

Maldini is an existence proof that a total amateur can easily build a useful Nesta plugin. For comments and suggestions, please contact the author.

LICENSE

Copyright © 2011 Brad Weslake.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

About

Maldini is a plugin for Nesta to generate citations and reference lists from BibTeX files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%