Sha256: 195fb14d20de2997e4ad3831117d90b5d3c9658f1c0675b59a912e4da290de42

Contents?: true

Size: 1.63 KB

Versions: 1

Compression:

Stored size: 1.63 KB

Contents

#--
# BibTeX-Ruby
# Copyright (C) 2010-2011	Sylvester Keil <sylvester.keil.or.at>
# 
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program.	If not, see <http://www.gnu.org/licenses/>.
#++

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))


# = BibTeX
#
# This module encompasses a parser for BibTeX files and
# auxiliary classes to model the individual
# BibTeX objects: +String+, +Preamble+, +Comment+, and
# +Entry+.
#
# Author:: {Sylvester Keil}[http://sylvester.keil.or.at]
# Copyright:: Copyright (c) 2010 Sylvester Keil
# License:: GNU GPL 3.0
#
module BibTeX
	require 'logger'

	# The current library version.
	VERSION = '1.1.0'

	#
	# An instance of the Ruby core class +Logger+.
	# Used for logging by BibTeX-Ruby.
	#
	Log = Logger.new(STDERR)
	Log.level = ENV.has_key?('DEBUG') ? Logger::DEBUG : Logger::WARN
	Log.datetime_format = "%Y-%m-%d %H:%M:%S"

  require 'bibtex/string_replacement'
  require 'bibtex/elements'
  require 'bibtex/entry'
  require 'bibtex/error'
  require 'bibtex/parser'
  require 'bibtex/bibliography'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bibtex-ruby-1.1.0 lib/bibtex.rb