Sha256: 799c70808a6d270046c485f191c4ab9429a116620676a70f4c46f6f725ea6594

Contents?: true

Size: 886 Bytes

Versions: 98

Compression:

Stored size: 886 Bytes

Contents

%%
%% A BibTeX file with various errors.
%%

In strict mode we cannot have the AT symbol anywhere except inside literals
or comment objects.

Unbalanced braces in string literal:
@string{ foo = "foo }

Another unbalanced braces in string literal:
@string{ foo = "foo{"} }

Another unterminated string literal:
@string{ foo = "foo{" }

A valid objects after two invalid ones:
@string { foo="foo"}

Unterminated literal:
@preamble    {  "{" # foo # "bar" }

Valid object:
@preamble {
	"preamble"
	
}

Bad Syntax:
@book{
	author = "An Author"
}

@book{key
	author = "An Author"
}

@book{key,
	author = "An Author"
	title = "The Title"
}

Unterminated string:
@book{key,
	author = "An Author,
	title = "The Title"
}

Better syntax:
@book{ key, author ="An Author", title = "The Title"}

Unterminated object:
@preamble{ "hello"

@string
{ bar =
"bar"

Better:
@string

{
  bar
  =
  "bar"

}

Version data entries

98 entries across 98 versions & 3 rubygems

Version Path
bibtex-ruby-1.3.11 test/fixtures/errors.bib
bibtex-ruby-1.3.10 test/fixtures/errors.bib
bibtex-ruby-1.3.9 test/fixtures/errors.bib
bibtex-ruby-1.3.8 test/fixtures/errors.bib
bibtex-ruby-1.3.7 test/fixtures/errors.bib
bibtex-ruby-1.3.6 test/fixtures/errors.bib
bibtex-ruby-1.3.5 test/fixtures/errors.bib
bibtex-ruby-1.3.4 test/fixtures/errors.bib
bibtex-ruby-1.3.3 test/fixtures/errors.bib
bibtex-ruby-1.3.2 test/fixtures/errors.bib
bibtex-ruby-1.3.1 test/fixtures/errors.bib
bibtex-ruby-1.3.0 test/fixtures/errors.bib
bibtex-ruby-1.2.1 test/bib/09_errors.bib
bibtex-ruby-1.2.0 test/bib/09_errors.bib
bibtex-ruby-1.1.2 test/bib/09_errors.bib
bibtex-ruby-1.1.1 test/bib/09_errors.bib
bibtex-ruby-1.1.0 test/bib/09_errors.bib
bibtex-ruby-1.0.0 test/bib/09_errors.bib