summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex-x/tests/teststyle.bst
blob: 72f7525c7b51df59ff415a3ed734469505201c29 (plain)
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
ENTRY {field}{}{}

FUNCTION {output_entry} {
  "\item " field * " " *
  field "u" change.case$ * " " * 
  field "l" change.case$ *
  write$ newline$
}

FUNCTION {type} {output_entry}

READ

FUNCTION {set_sortkey} {
  field 'sort.key$ :=
}

ITERATE {set_sortkey}

SORT

FUNCTION {output_beg} {
  "\section*{Test result}" write$ newline$
  "\begin{itemize}" write$ newline$
}

FUNCTION {output_end} {
  "\end{itemize}" write$ newline$
  "\endinput" write$ newline$
}

EXECUTE {output_beg}

ITERATE {call.type$}

EXECUTE {output_end}