annotate vendor/gems/coderay-0.9.7/lib/coderay/style.rb @ 586:658cfb481618 feature_36

Order BibTeX entry types in a sensible order for presentation to user, instead of alphabetically by BibTeX name as previously (requires database re-seed). Provide a label for each entry type, and use it in the edit dropdown and show page. Omit duplicate entry type (conference) from edit dropdown. Use existing entry attribute labels in show_bibtex_fields.
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 12 Aug 2011 13:15:05 +0100
parents 0579821a129a
children
rev   line source
Chris@0 1 module CodeRay
Chris@0 2
Chris@0 3 # This module holds the Style class and its subclasses.
Chris@0 4 #
Chris@0 5 # See Plugin.
Chris@0 6 module Styles
Chris@0 7 extend PluginHost
Chris@0 8 plugin_path File.dirname(__FILE__), 'styles'
Chris@0 9
Chris@0 10 class Style
Chris@0 11 extend Plugin
Chris@0 12 plugin_host Styles
Chris@0 13
Chris@0 14 DEFAULT_OPTIONS = { }
Chris@0 15
Chris@0 16 end
Chris@0 17
Chris@0 18 end
Chris@0 19
Chris@0 20 end