| 1 |
%% |
| 2 |
%% This is file `expcites.bst', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% bibexport.dtx (with options: `expcites') |
| 8 |
%% |
| 9 |
%% (c) 2019/03/30 Nicolas Markey <bibexport at markey dot fr> |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the conditions of |
| 12 |
%% the LaTeX Project Public License, either version 1.3 of this license |
| 13 |
%% or (at your option) any later version. The latest version of this |
| 14 |
%% license is in |
| 15 |
%% |
| 16 |
%% http://www.latex-project.org/lppl.txt |
| 17 |
%% |
| 18 |
%% and version 1.3 or later is part of all distributions of LaTeX version |
| 19 |
%% 2005/12/01 or later. |
| 20 |
%% |
| 21 |
%% This work has the LPPL maintenance status `maintained'. |
| 22 |
%% The Current Maintainer of this work is Nicolas Markey. |
| 23 |
%% |
| 24 |
%% \CharacterTable |
| 25 |
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 26 |
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 27 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 28 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 29 |
%% Dollar \$ Percent \% Ampersand \& |
| 30 |
%% Acute accent \' Left paren \( Right paren \) |
| 31 |
%% Asterisk \* Plus \+ Comma \, |
| 32 |
%% Minus \- Point \. Solidus \/ |
| 33 |
%% Colon \: Semicolon \; Less than \< |
| 34 |
%% Equals \= Greater than \> Question mark \? |
| 35 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 36 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 37 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 38 |
%% Right brace \} Tilde \~} |
| 39 |
%% |
| 40 |
FUNCTION{left.width}{#23} |
| 41 |
FUNCTION{right.width}{#55} |
| 42 |
FUNCTION{url.right.width}{#61} |
| 43 |
FUNCTION{left.short.width}{#10} %% for @preamble |
| 44 |
FUNCTION{right.long.width}{#63} |
| 45 |
FUNCTION{left.delim}{quote$} |
| 46 |
FUNCTION{right.delim}{quote$} |
| 47 |
ENTRY{dummy}{}{} |
| 48 |
FUNCTION{not} |
| 49 |
{ |
| 50 |
{#0} |
| 51 |
{#1} |
| 52 |
if$ |
| 53 |
} |
| 54 |
FUNCTION{and} |
| 55 |
{ |
| 56 |
'skip$ |
| 57 |
{pop$ #0} |
| 58 |
if$ |
| 59 |
} |
| 60 |
FUNCTION{or} |
| 61 |
{ |
| 62 |
{pop$ #1} |
| 63 |
'skip$ |
| 64 |
if$ |
| 65 |
} |
| 66 |
INTEGERS{left.length right.length} |
| 67 |
STRINGS{ s t } |
| 68 |
INTEGERS{bool cpt} |
| 69 |
FUNCTION{space.complete} |
| 70 |
{ |
| 71 |
'left.length := |
| 72 |
duplicate$ text.length$ left.length swap$ - |
| 73 |
{duplicate$ #0 >} |
| 74 |
{ |
| 75 |
swap$ " " * swap$ #1 - |
| 76 |
} |
| 77 |
while$ |
| 78 |
pop$ |
| 79 |
} |
| 80 |
FUNCTION{split.string} |
| 81 |
{ |
| 82 |
'right.length := |
| 83 |
duplicate$ right.length #1 + #1 substring$ "" = |
| 84 |
{""} |
| 85 |
{ |
| 86 |
's := |
| 87 |
right.length |
| 88 |
{duplicate$ duplicate$ s swap$ #1 substring$ " " = not and} |
| 89 |
{#1 -} |
| 90 |
while$ |
| 91 |
duplicate$ #2 < |
| 92 |
{ |
| 93 |
pop$ " " s * "" |
| 94 |
} |
| 95 |
{ |
| 96 |
duplicate$ s swap$ #1 swap$ substring$ |
| 97 |
swap$ |
| 98 |
s swap$ global.max$ substring$ |
| 99 |
} |
| 100 |
if$ |
| 101 |
} |
| 102 |
if$ |
| 103 |
} |
| 104 |
FUNCTION{init.cited.keys} |
| 105 |
{ |
| 106 |
left.delim 's := |
| 107 |
#0 'bool := |
| 108 |
#0 'cpt := |
| 109 |
} |
| 110 |
FUNCTION{write.cited.keys} |
| 111 |
{ |
| 112 |
bool |
| 113 |
{"" left.width space.complete swap$} |
| 114 |
{" list of keys: " left.width space.complete swap$ |
| 115 |
#1 'bool :=} |
| 116 |
if$ |
| 117 |
{duplicate$ text.length$ right.width >} |
| 118 |
{ |
| 119 |
right.width split.string 't := |
| 120 |
* |
| 121 |
write$ newline$ |
| 122 |
"" left.width space.complete t |
| 123 |
} |
| 124 |
while$ |
| 125 |
pop$ pop$ t |
| 126 |
} |
| 127 |
FUNCTION{write.cited.keys.last} |
| 128 |
{ |
| 129 |
bool |
| 130 |
{"" left.width space.complete swap$} |
| 131 |
{" list of keys: " left.width space.complete swap$ |
| 132 |
#1 'bool :=} |
| 133 |
if$ |
| 134 |
{duplicate$ duplicate$ text.length$ #1 substring$ "," = not} |
| 135 |
{duplicate$ text.length$ #1 - #1 swap$ substring$} |
| 136 |
while$ |
| 137 |
duplicate$ text.length$ #1 - #1 swap$ substring$ |
| 138 |
right.delim * "," * |
| 139 |
{duplicate$ "" = not} |
| 140 |
{ |
| 141 |
right.width split.string 't := |
| 142 |
* |
| 143 |
write$ newline$ |
| 144 |
"" left.width space.complete t |
| 145 |
} |
| 146 |
while$ |
| 147 |
pop$ pop$ |
| 148 |
} |
| 149 |
FUNCTION{write.nbkeys} |
| 150 |
{ |
| 151 |
" number of entries: " left.width space.complete |
| 152 |
" " * |
| 153 |
cpt int.to.str$ * "," * write$ newline$ |
| 154 |
} |
| 155 |
FUNCTION{cited.keys} |
| 156 |
{ |
| 157 |
cpt #1 + 'cpt := |
| 158 |
s cite$ ", " * * 's := |
| 159 |
s text.length$ #4000 > |
| 160 |
{s write.cited.keys 's :=} |
| 161 |
'skip$ |
| 162 |
if$ |
| 163 |
} |
| 164 |
FUNCTION{end.cited.keys} |
| 165 |
{ |
| 166 |
s write.cited.keys.last |
| 167 |
write.nbkeys |
| 168 |
} |
| 169 |
FUNCTION{article}{cited.keys} |
| 170 |
FUNCTION{book}{cited.keys} |
| 171 |
FUNCTION{booklet}{cited.keys} |
| 172 |
FUNCTION{conference}{cited.keys} |
| 173 |
FUNCTION{habthesis}{cited.keys} |
| 174 |
FUNCTION{inbook}{cited.keys} |
| 175 |
FUNCTION{incollection}{cited.keys} |
| 176 |
FUNCTION{inproceedings}{cited.keys} |
| 177 |
FUNCTION{journals}{cited.keys} |
| 178 |
FUNCTION{manual}{cited.keys} |
| 179 |
FUNCTION{mastersthesis}{cited.keys} |
| 180 |
FUNCTION{misc}{cited.keys} |
| 181 |
FUNCTION{phdthesis}{cited.keys} |
| 182 |
FUNCTION{proceedings}{cited.keys} |
| 183 |
FUNCTION{techreport}{cited.keys} |
| 184 |
FUNCTION{unpublished}{cited.keys} |
| 185 |
READ |
| 186 |
EXECUTE{init.cited.keys} |
| 187 |
ITERATE{cited.keys} |
| 188 |
EXECUTE{end.cited.keys} |
| 189 |
%% |
| 190 |
%% |
| 191 |
%% End of file `expcites.bst'. |