diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/figbib/figbib.bst |
Initial commit
Diffstat (limited to 'macros/latex/contrib/figbib/figbib.bst')
-rw-r--r-- | macros/latex/contrib/figbib/figbib.bst | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/macros/latex/contrib/figbib/figbib.bst b/macros/latex/contrib/figbib/figbib.bst new file mode 100644 index 0000000000..d693f9e9a1 --- /dev/null +++ b/macros/latex/contrib/figbib/figbib.bst @@ -0,0 +1,56 @@ + +ENTRY + { main + add + file + source + caption + } + {} + {} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'write$ + if$ +} + +FUNCTION {fig} +{ newline$ + "\figbibitem{" write$ + cite$ write$ + "}{" write$ + main write$ + "}{" write$ + add output + "}{" write$ + file write$ + "}{" write$ + source output + "}{" write$ + caption output + "}" write$ + newline$ +} + + +FUNCTION {begin.thefigdblist} +{ "\begin{thefigbiblist}" write$ + newline$ + preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ +} + +FUNCTION {end.thefigdblist} +{ newline$ + "\end{thefigbiblist}" write$ + newline$ +} + +READ +EXECUTE {begin.thefigdblist} +ITERATE {call.type$} +EXECUTE {end.thefigdblist} |