diff options
author | Norbert Preining <norbert@preining.info> | 2022-09-20 03:01:38 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-09-20 03:01:38 +0000 |
commit | 7907f67d07d36a7e20421a1ec3a0eceecac4aacd (patch) | |
tree | 7aae41d00037cc944480cecfa75b88048a672970 /biblio/bibtex/bibtex-x/tests/testchar.bst | |
parent | fe872ca5d5d1bb989da6b31802b8e0bfb0342e45 (diff) |
CTAN sync 202209200301
Diffstat (limited to 'biblio/bibtex/bibtex-x/tests/testchar.bst')
-rw-r--r-- | biblio/bibtex/bibtex-x/tests/testchar.bst | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/biblio/bibtex/bibtex-x/tests/testchar.bst b/biblio/bibtex/bibtex-x/tests/testchar.bst new file mode 100644 index 0000000000..d9c778fca9 --- /dev/null +++ b/biblio/bibtex/bibtex-x/tests/testchar.bst @@ -0,0 +1,40 @@ +% BibTeX test style file +% Copyright 2022 TANAKA Takuji <ttk@t-lab.opal.ne.jp> +% You may freely use, modify and/or distribute this file. + +ENTRY {field}{}{} + +FUNCTION {output_entry} { + "\item " field * write$ + " i2str: " field chr.to.int$ int.to.str$ * write$ + " i2chr: " field chr.to.int$ int.to.chr$ * write$ + newline$ +} + +FUNCTION {type} {output_entry} + +READ + +FUNCTION {set_sort_key} { + field 'sort.key$ := +} + +ITERATE {set_sort_key} + +SORT + +FUNCTION {output_bgn} { + "\section*{Test result}" write$ newline$ + "\begin{itemize}" write$ newline$ +} + +FUNCTION {output_end} { + "\end{itemize}" write$ newline$ + "\endinput" write$ newline$ +} + +EXECUTE {output_bgn} + +ITERATE {call.type$} + +EXECUTE {output_end} |