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.
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.
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.
- Graham Ashton for the lovely Nesta.
- Sylvester Keil for the excellent bibtex-ruby and citeproc-ruby packages.
- Philipp Lehman for the indispensable biblatex.
- Initial skeleton release.
- Supported features:
- Correctly parses LaTeX code in field data
- Sorts reference list by surname, then first name, then year
- Supported entry types:
- Unsupported entry types:
- Minor issues are flagged method by method in the source with "TODO".
- Convert single dashes to endashes in
- 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
yearfield (Name, 2001a; Name, 2001b).
Heroku deployments do not like bibliographies stored in the Nesta
- 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.
Maldini is an existence proof that a total amateur can easily build a useful Nesta plugin. For comments and suggestions, please contact the author.
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.