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-6.1.0 test/fixtures/errors.bib
bibtex-ruby-6.0.0 test/fixtures/errors.bib
bibtex-ruby-5.1.6 test/fixtures/errors.bib
bibtex-ruby-5.1.5 test/fixtures/errors.bib
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/bibtex-ruby-5.1.4/test/fixtures/errors.bib
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/bibtex-ruby-5.1.4/test/fixtures/errors.bib
bibtex-ruby-5.1.4 test/fixtures/errors.bib
bibtex-ruby-5.1.3 test/fixtures/errors.bib
bibtex-ruby-5.1.2 test/fixtures/errors.bib
bibtex-ruby-5.1.1 test/fixtures/errors.bib
bibtex-ruby-5.1.0 test/fixtures/errors.bib
bibtex-ruby-5.0.1 test/fixtures/errors.bib
bibtex-ruby-5.0.0 test/fixtures/errors.bib
bibtex-ruby-4.4.7 test/fixtures/errors.bib
bibtex-ruby-4.4.6 test/fixtures/errors.bib
bibtex-ruby-4.4.5 test/fixtures/errors.bib
bibtex_to_scrapbox-0.2.0 gems/gems/bibtex-ruby-4.4.4/test/fixtures/errors.bib
bibtex_to_scrapbox-0.1.0 gems/gems/bibtex-ruby-4.4.4/test/fixtures/errors.bib
bibtex-ruby-4.4.4 test/fixtures/errors.bib
bibtex-ruby-4.4.3 test/fixtures/errors.bib