%% %% This is file `adrdirbatch.tex', %% generated by hand. %% %% This file is not part of the adrconv bundle. %% %% You are NOT ALLOWED to distribute this file without adrconv.dtx, %% adrconv.ins or adrguide.tex. \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \ProvidesFile{adrdirbatch.tex}[2001/10/11 v1.2a LaTeX2e Batch address directory generation] \documentclass[headsepline,10pt,twoside]{scrartcl} %\usepackage[utf8]{inputenc} \usepackage{german} \usepackage{scrpage2} \newdimen\leftfield \newdimen\rightfield \newdimen\adrindent \oddsidemargin -1in \evensidemargin -1in %%% %%% Set filename and title %%% \newcommand*\adrfile{adrconv} \newcommand*\adrtitle{Alphaliste vom \today} %%% %%% Select ADR Format %%% adrdir %%% adrplaner %%% adrsmall %%% \def\adrformat{adrdirpdf} %%% \renewpagestyle{headings}{% (0pt,0pt)% {\strut\rightmark\ -- \leftmark\hfil}% {\hfil\strut\rightmark\ -- \leftmark}% {\hfil\strut\rightmark\ -- \leftmark\hfil}% (\textwidth,.4pt)% }{% (0pt,0pt)% {\pagemark\hfill}% {\hfill\pagemark}% {\hfill\pagemark\hfill}% (0pt,0pt)} \def\headfont{\sffamily\bfseries} \InputIfFileExists{\adrformat.cfg}{}{% \typeout{^^J% *** File \adrformat.cfg not found!^^J% *** Datei \adrformat.cfg nicht gefunden!^^J% ^^J} } \begin{document} \def\adrchar#1{\typeout{#1}} \def\adrentry#1#2#3#4#5#6#7#8{\hspace{\adrindent}% \parbox[b]{\leftfield} {\raggedright \hspace{-\adrindent}{\textsc #1}% \def\tempa{#1}\ifx \tempa\empty \else , #2\fi% \def\tempa{#3}\ifx \tempa\empty \else \par #3\fi% \def\tempa{#7}\ifx \tempa\empty \else \par (#7)\fi% }% \hfill% \parbox[b]{\rightfield} {\raggedleft% \def\tempa{#8}\ifx \tempa\empty \else {\scriptsize #8}\par \fi {\small #4}% }\par% \markboth{#1}{#1} } % Input \adrfile.adr \InputIfFileExists{\adrfile.adr}{% \pagestyle{empty} \null\vfil \begin{center} {\Large \sfb \adrtitle\par} \end{center} \vfil\vfil\null \cleardoublepage \raggedbottom \pagestyle{headings} } \end{document} \endinput %% %% End of file `adrdirbatch.tex'.