1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
identifier can contain weird things
@ string ( @f0/0\:0 = "foo" )
@string { foo = "foo" # @f0/0\:0 }
@ preamble(
foo
)
@preamble { foo }
entry can be empty
@misc{}
key can be empty
@misc(,)
key can contain weird things. The following three lines are only defining one
entry
@misc(
@misc{author="test"},
)
@misc{ ()cr@zy{,}
Now testing entries with unknown type.
@cr@zy{ key1,
year = 2010,
title = @f0/0\:0 # "jou{"}rn@l" # { {j}ou#"n@{l} } # @f0/0\:0,
author = "Jœhn
Nash",
}
@comment{ This is a comment
field names can contain weird things, including at-signs but probably not
a good idea. The following line starts a new entry, even though few
parsers will catch it
@article{key2,
@my_field = "test",
year = "2010",
}
we are now outside of an entry again, balancedness does not matter
}
} @ comment
The next line defines an entry of type "comment<at>article"
@ commment@article {key3,}
|