| 1 |
%% |
| 2 |
%% This is file `export.bst', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% bibexport.dtx (with options: `export') |
| 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}{#18} |
| 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}{"{"} |
| 46 |
FUNCTION{right.delim}{"}"} |
| 47 |
ENTRY{ |
| 48 |
address |
| 49 |
author |
| 50 |
booktitle |
| 51 |
chapter |
| 52 |
edition |
| 53 |
editor |
| 54 |
howpublished |
| 55 |
institution |
| 56 |
journal |
| 57 |
key |
| 58 |
month |
| 59 |
note |
| 60 |
number |
| 61 |
organization |
| 62 |
pages |
| 63 |
publisher |
| 64 |
school |
| 65 |
series |
| 66 |
title |
| 67 |
type |
| 68 |
volume |
| 69 |
year |
| 70 |
abstract |
| 71 |
acronym |
| 72 |
annote |
| 73 |
biburl |
| 74 |
bibsource |
| 75 |
doi |
| 76 |
eid |
| 77 |
isbn |
| 78 |
issn |
| 79 |
language |
| 80 |
timestamp |
| 81 |
url |
| 82 |
urn |
| 83 |
}{}{} |
| 84 |
FUNCTION{not} |
| 85 |
{ |
| 86 |
{#0} |
| 87 |
{#1} |
| 88 |
if$ |
| 89 |
} |
| 90 |
FUNCTION{and} |
| 91 |
{ |
| 92 |
'skip$ |
| 93 |
{pop$ #0} |
| 94 |
if$ |
| 95 |
} |
| 96 |
FUNCTION{or} |
| 97 |
{ |
| 98 |
{pop$ #1} |
| 99 |
'skip$ |
| 100 |
if$ |
| 101 |
} |
| 102 |
INTEGERS{left.length right.length} |
| 103 |
STRINGS{ s t } |
| 104 |
FUNCTION{space.complete} |
| 105 |
{ |
| 106 |
'left.length := |
| 107 |
duplicate$ text.length$ left.length swap$ - |
| 108 |
{duplicate$ #0 >} |
| 109 |
{ |
| 110 |
swap$ " " * swap$ #1 - |
| 111 |
} |
| 112 |
while$ |
| 113 |
pop$ |
| 114 |
} |
| 115 |
FUNCTION{split.string} |
| 116 |
{ |
| 117 |
'right.length := |
| 118 |
duplicate$ right.length #1 + #1 substring$ "" = |
| 119 |
{""} |
| 120 |
{ |
| 121 |
's := |
| 122 |
right.length |
| 123 |
{duplicate$ duplicate$ s swap$ #1 substring$ " " = not and} |
| 124 |
{#1 -} |
| 125 |
while$ |
| 126 |
duplicate$ #2 < |
| 127 |
{ |
| 128 |
pop$ " " s * "" |
| 129 |
} |
| 130 |
{ |
| 131 |
duplicate$ s swap$ #1 swap$ substring$ |
| 132 |
swap$ |
| 133 |
s swap$ global.max$ substring$ |
| 134 |
} |
| 135 |
if$ |
| 136 |
} |
| 137 |
if$ |
| 138 |
} |
| 139 |
FUNCTION{split.url} |
| 140 |
{ |
| 141 |
'right.length := |
| 142 |
duplicate$ right.length #1 + #1 substring$ "" = |
| 143 |
{""} |
| 144 |
{ |
| 145 |
's := |
| 146 |
right.length |
| 147 |
{duplicate$ duplicate$ s swap$ #1 substring$ |
| 148 |
duplicate$ "/" = swap$ |
| 149 |
duplicate$ "&" = swap$ |
| 150 |
duplicate$ "?" = swap$ |
| 151 |
duplicate$ "-" = swap$ |
| 152 |
":" = or or or or not and} |
| 153 |
{#1 -} |
| 154 |
while$ |
| 155 |
duplicate$ #2 < |
| 156 |
{ |
| 157 |
pop$ " " s * "" |
| 158 |
} |
| 159 |
{ |
| 160 |
duplicate$ s swap$ #1 swap$ substring$ |
| 161 |
swap$ #1 + |
| 162 |
s swap$ global.max$ substring$ |
| 163 |
} |
| 164 |
if$ |
| 165 |
} |
| 166 |
if$ |
| 167 |
} |
| 168 |
FUNCTION{split.name} |
| 169 |
{ |
| 170 |
'right.length := |
| 171 |
duplicate$ right.length #1 + #1 substring$ "" = |
| 172 |
{""} |
| 173 |
{ |
| 174 |
's := |
| 175 |
right.length |
| 176 |
{duplicate$ duplicate$ s swap$ #5 substring$ " and " = not and} |
| 177 |
{#1 -} |
| 178 |
while$ |
| 179 |
duplicate$ #2 < |
| 180 |
{ |
| 181 |
pop$ " " s * "" |
| 182 |
} |
| 183 |
{ |
| 184 |
#4 + duplicate$ s swap$ #1 swap$ substring$ |
| 185 |
swap$ |
| 186 |
s swap$ global.max$ substring$ |
| 187 |
} |
| 188 |
if$ |
| 189 |
} |
| 190 |
if$ |
| 191 |
} |
| 192 |
FUNCTION{field.export} |
| 193 |
{ |
| 194 |
duplicate$ missing$ |
| 195 |
'skip$ |
| 196 |
{ |
| 197 |
left.delim swap$ * right.delim * |
| 198 |
swap$ |
| 199 |
" " swap$ * " = " * left.width space.complete |
| 200 |
swap$ "," * |
| 201 |
{duplicate$ "" = not} |
| 202 |
{ |
| 203 |
right.width split.string 't := |
| 204 |
* |
| 205 |
write$ newline$ |
| 206 |
"" left.width space.complete t |
| 207 |
} |
| 208 |
while$ |
| 209 |
} |
| 210 |
if$ |
| 211 |
pop$ pop$ |
| 212 |
} |
| 213 |
FUNCTION{abbrv.export} |
| 214 |
{ |
| 215 |
duplicate$ missing$ |
| 216 |
'skip$ |
| 217 |
{ |
| 218 |
swap$ |
| 219 |
" " swap$ * " = " * left.width space.complete |
| 220 |
swap$ "," * |
| 221 |
{duplicate$ "" = not} |
| 222 |
{ |
| 223 |
right.width split.string 't := |
| 224 |
* |
| 225 |
write$ newline$ |
| 226 |
"" left.width space.complete t |
| 227 |
} |
| 228 |
while$ |
| 229 |
} |
| 230 |
if$ |
| 231 |
pop$ pop$ |
| 232 |
} |
| 233 |
FUNCTION{name.export} |
| 234 |
{ |
| 235 |
duplicate$ missing$ |
| 236 |
'skip$ |
| 237 |
{ |
| 238 |
left.delim swap$ * right.delim * |
| 239 |
swap$ |
| 240 |
" " swap$ * " = " * left.width space.complete |
| 241 |
swap$ "," * |
| 242 |
{duplicate$ "" = not} |
| 243 |
{ |
| 244 |
right.width split.name 't := |
| 245 |
* |
| 246 |
write$ newline$ |
| 247 |
"" left.width space.complete t |
| 248 |
} |
| 249 |
while$ |
| 250 |
} |
| 251 |
if$ |
| 252 |
pop$ pop$ |
| 253 |
} |
| 254 |
FUNCTION{url.export} |
| 255 |
{ |
| 256 |
duplicate$ missing$ |
| 257 |
'skip$ |
| 258 |
{ |
| 259 |
left.delim swap$ * right.delim * |
| 260 |
swap$ |
| 261 |
" " swap$ * " = " * left.width space.complete |
| 262 |
swap$ "," * |
| 263 |
{duplicate$ "" = not} |
| 264 |
{ |
| 265 |
url.right.width split.url 't := |
| 266 |
* |
| 267 |
write$ newline$ |
| 268 |
"" left.width space.complete t |
| 269 |
} |
| 270 |
while$ |
| 271 |
} |
| 272 |
if$ |
| 273 |
pop$ pop$ |
| 274 |
} |
| 275 |
MACRO{jan}{"export-jan"} |
| 276 |
MACRO{feb}{"export-feb"} |
| 277 |
MACRO{mar}{"export-mar"} |
| 278 |
MACRO{apr}{"export-apr"} |
| 279 |
MACRO{may}{"export-may"} |
| 280 |
MACRO{jun}{"export-jun"} |
| 281 |
MACRO{jul}{"export-jul"} |
| 282 |
MACRO{aug}{"export-aug"} |
| 283 |
MACRO{sep}{"export-sep"} |
| 284 |
MACRO{oct}{"export-oct"} |
| 285 |
MACRO{nov}{"export-nov"} |
| 286 |
MACRO{dec}{"export-dec"} |
| 287 |
MACRO{acmcs}{"export-acmcs"} |
| 288 |
MACRO{acta}{"export-acta"} |
| 289 |
MACRO{cacm}{"export-cacm"} |
| 290 |
MACRO{ibmjrd}{"export-ibmjrd"} |
| 291 |
MACRO{ibmsj}{"export-ibmsj"} |
| 292 |
MACRO{ieeese}{"export-ieeese"} |
| 293 |
MACRO{ieeetc}{"export-ieeetc"} |
| 294 |
MACRO{ieeetcad}{"export-ieeetcad"} |
| 295 |
MACRO{ipl}{"export-ipl"} |
| 296 |
MACRO{jacm}{"export-jacm"} |
| 297 |
MACRO{jcss}{"export-jcss"} |
| 298 |
MACRO{scp}{"export-scp"} |
| 299 |
MACRO{sicomp}{"export-sicomp"} |
| 300 |
MACRO{tocs}{"export-tocs"} |
| 301 |
MACRO{tods}{"export-tods"} |
| 302 |
MACRO{tog}{"export-tog"} |
| 303 |
MACRO{toms}{"export-toms"} |
| 304 |
MACRO{toois}{"export-poois"} |
| 305 |
MACRO{toplas}{"export-toplas"} |
| 306 |
MACRO{tcs}{"export-tcs"} |
| 307 |
INTEGERS{ intxt } |
| 308 |
FUNCTION{remove.exports.from.months} |
| 309 |
{ |
| 310 |
#0 'intxt := |
| 311 |
duplicate$ missing$ |
| 312 |
'skip$ |
| 313 |
{'t := |
| 314 |
"" |
| 315 |
{t #1 #1 substring$ "" = not} |
| 316 |
{ |
| 317 |
t #1 #7 substring$ "export-" = |
| 318 |
{intxt |
| 319 |
{right.delim * #0 'intxt :=} |
| 320 |
'skip$ |
| 321 |
if$ |
| 322 |
duplicate$ "" = |
| 323 |
'skip$ |
| 324 |
{" # " *} |
| 325 |
if$ |
| 326 |
t #8 #3 substring$ * |
| 327 |
t #11 global.max$ substring$ 't :=} |
| 328 |
{intxt |
| 329 |
'skip$ |
| 330 |
{duplicate$ "" = |
| 331 |
{} |
| 332 |
{" # " *} |
| 333 |
if$ |
| 334 |
left.delim * #1 'intxt :=} |
| 335 |
if$ |
| 336 |
t #1 #1 substring$ * |
| 337 |
t #2 global.max$ substring$ 't :=} |
| 338 |
if$ |
| 339 |
} |
| 340 |
while$ |
| 341 |
intxt |
| 342 |
{right.delim *} |
| 343 |
'skip$ |
| 344 |
if$ |
| 345 |
} |
| 346 |
if$ |
| 347 |
} |
| 348 |
FUNCTION{remove.export.from.journals} |
| 349 |
{ |
| 350 |
duplicate$ missing$ |
| 351 |
'skip$ |
| 352 |
{ |
| 353 |
duplicate$ #1 #7 substring$ "export-" = |
| 354 |
{#8 global.max$ substring$} |
| 355 |
{left.delim swap$ |
| 356 |
right.delim * *} |
| 357 |
if$ |
| 358 |
} |
| 359 |
if$ |
| 360 |
} |
| 361 |
FUNCTION{entry.export.standard} |
| 362 |
{ |
| 363 |
"address" address field.export |
| 364 |
"author" author name.export |
| 365 |
"booktitle" booktitle field.export |
| 366 |
"chapter" chapter field.export |
| 367 |
"crossref" crossref field.export |
| 368 |
"edition" edition field.export |
| 369 |
"editor" editor name.export |
| 370 |
"howpublished" howpublished field.export |
| 371 |
"institution" institution field.export |
| 372 |
"journal" journal remove.export.from.journals abbrv.export |
| 373 |
"key" key field.export |
| 374 |
"month" month remove.exports.from.months abbrv.export |
| 375 |
"note" note field.export |
| 376 |
"number" number field.export |
| 377 |
"organization" organization field.export |
| 378 |
"pages" pages field.export |
| 379 |
"publisher" publisher field.export |
| 380 |
"school" school field.export |
| 381 |
"series" series field.export |
| 382 |
"type" type field.export |
| 383 |
"title" title field.export |
| 384 |
"volume" volume field.export |
| 385 |
"year" year field.export |
| 386 |
} |
| 387 |
FUNCTION{entry.export.extra} |
| 388 |
{ |
| 389 |
"abstract" abstract field.export |
| 390 |
"acronym" acronym field.export |
| 391 |
"annote" annote field.export |
| 392 |
"biburl" biburl url.export |
| 393 |
"bibsource" bibsource field.export |
| 394 |
"doi" doi field.export |
| 395 |
"eid" eid field.export |
| 396 |
"isbn" isbn field.export |
| 397 |
"issn" issn field.export |
| 398 |
"language" language field.export |
| 399 |
"timestamp" timestamp field.export |
| 400 |
"url" url url.export |
| 401 |
"urn" urn url.export |
| 402 |
} |
| 403 |
FUNCTION{entry.export} |
| 404 |
{ |
| 405 |
entry.export.standard |
| 406 |
entry.export.extra |
| 407 |
} |
| 408 |
FUNCTION{export} |
| 409 |
{ |
| 410 |
"@" type$ * "{" * cite$ * "," * write$ newline$ |
| 411 |
entry.export |
| 412 |
"}" write$ newline$ newline$ |
| 413 |
} |
| 414 |
FUNCTION{preamble} |
| 415 |
{ |
| 416 |
preamble$ duplicate$ "" = |
| 417 |
'pop$ |
| 418 |
{ |
| 419 |
",-------------------." write$ newline$ |
| 420 |
"| PREAMBLE |" write$ newline$ |
| 421 |
"`-------------------'" write$ newline$ newline$ |
| 422 |
"@preamble{ " swap$ |
| 423 |
quote$ swap$ * quote$ * |
| 424 |
{duplicate$ "" = not} |
| 425 |
{ |
| 426 |
right.long.width split.string 't := |
| 427 |
* |
| 428 |
write$ newline$ |
| 429 |
"" left.short.width space.complete t |
| 430 |
} |
| 431 |
while$ |
| 432 |
"}" write$ newline$ newline$ |
| 433 |
pop$ pop$ |
| 434 |
} |
| 435 |
if$ |
| 436 |
} |
| 437 |
FUNCTION{header} |
| 438 |
{ |
| 439 |
newline$ |
| 440 |
} |
| 441 |
FUNCTION{entries.header} |
| 442 |
{ |
| 443 |
preamble$ "" = |
| 444 |
'skip$ |
| 445 |
{ |
| 446 |
",-------------------." write$ newline$ |
| 447 |
"| BIBTEX ENTRIES |" write$ newline$ |
| 448 |
"`-------------------'" write$ newline$ newline$ |
| 449 |
} |
| 450 |
if$ |
| 451 |
} |
| 452 |
FUNCTION{article}{export} |
| 453 |
FUNCTION{book}{export} |
| 454 |
FUNCTION{booklet}{export} |
| 455 |
FUNCTION{conference}{export} |
| 456 |
FUNCTION{habthesis}{export} |
| 457 |
FUNCTION{inbook}{export} |
| 458 |
FUNCTION{incollection}{export} |
| 459 |
FUNCTION{inproceedings}{export} |
| 460 |
FUNCTION{journals}{export} |
| 461 |
FUNCTION{manual}{export} |
| 462 |
FUNCTION{mastersthesis}{export} |
| 463 |
FUNCTION{misc}{export} |
| 464 |
FUNCTION{phdthesis}{export} |
| 465 |
FUNCTION{proceedings}{export} |
| 466 |
FUNCTION{techreport}{export} |
| 467 |
FUNCTION{unpublished}{export} |
| 468 |
READ |
| 469 |
EXECUTE{header} |
| 470 |
EXECUTE{preamble} |
| 471 |
EXECUTE{entries.header} |
| 472 |
ITERATE{export} |
| 473 |
%% |
| 474 |
%% |
| 475 |
%% End of file `export.bst'. |