| 1 |
%% |
| 2 |
%% This is file `adrconv.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% adrconv.dtx (with options: `tex,conv') |
| 8 |
%% Copyright 2006, 2010, 2018 Axel Kielhorn |
| 9 |
%% |
| 10 |
%% This file will generate fast loadable files from adrconv.dtx when |
| 11 |
%% run through LaTeX or TeX. |
| 12 |
%% |
| 13 |
%% This work may be distributed and/or modified under the |
| 14 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 15 |
%% of this license or (at your option) any later version. |
| 16 |
%% The latest version of this license is in |
| 17 |
%% http://www.latex-project.org/lppl.txt |
| 18 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 19 |
%% version 2003/12/01 or later. |
| 20 |
%% |
| 21 |
%% This file is part of the adrconv bundle. |
| 22 |
%% |
| 23 |
%% The adrconv bundle consists at least of the files adrconv.dtx, |
| 24 |
%% adrconv.ins and adrguide.tex. |
| 25 |
%% |
| 26 |
%% adrguide.dtx |
| 27 |
%% Copyright 2006, 2010, 2018 Axel Kielhorn |
| 28 |
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi |
| 29 |
\ProvidesFile{% |
| 30 |
adrconv% |
| 31 |
.tex% |
| 32 |
} |
| 33 |
[2018/01/30 v1.4 LaTeX2e |
| 34 |
Interactive driver of BibTeX database to addressfile converter] |
| 35 |
\catcode`\@=11 |
| 36 |
\newlinechar`\^^J |
| 37 |
\message{% |
| 38 |
Now you have to typein the name of the BibTeX addressfile, you want |
| 39 |
to^^J% |
| 40 |
convert to script-address-file-format (without extension |
| 41 |
`.bib'):^^J% |
| 42 |
Geben Sie nun den Namen der BibTeX-Adressdatei ein, die sie in |
| 43 |
das^^J% |
| 44 |
Script-Adressdateiformat konvertieren wollen (ohne `.bib'):^^J% |
| 45 |
^^J% |
| 46 |
addressfile=% |
| 47 |
} |
| 48 |
\def\skiplastspace#1 \@e@o@l@{#1} |
| 49 |
\read-1 to \addressfile |
| 50 |
\edef\addressfile{\expandafter\skiplastspace\addressfile\@e@o@l@} |
| 51 |
\newwrite\auxfile |
| 52 |
\immediate\openout\auxfile=\addressfile.aux |
| 53 |
\immediate\write\auxfile{% |
| 54 |
\string\citation{*}^^J% |
| 55 |
\string\bibstyle{adrconv}^^J% |
| 56 |
\string\bibdata{\addressfile}% |
| 57 |
} |
| 58 |
\immediate\closeout\auxfile |
| 59 |
\message{% |
| 60 |
After running BibTeX rename file `\addressfile.bbl' to |
| 61 |
`\addressfile.adr'!^^J% |
| 62 |
Nach dem BibTeX-Lauf benennen Sie bitte die Datei `\addressfile.bbl' |
| 63 |
in^^J% |
| 64 |
`\addressfile.adr' um!^^J% |
| 65 |
} |
| 66 |
\ifx\@@end\undefined\let\@@end\end\fi |
| 67 |
\@@end |
| 68 |
\endinput |
| 69 |
%% |
| 70 |
%% End of file `adrconv.tex'. |