summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/adrconv/adrdir.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/adrconv/adrdir.tex')
-rw-r--r--Master/texmf-dist/doc/latex/adrconv/adrdir.tex26
1 files changed, 18 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/adrconv/adrdir.tex b/Master/texmf-dist/doc/latex/adrconv/adrdir.tex
index 43d1d9541cc..0d63f7039cf 100644
--- a/Master/texmf-dist/doc/latex/adrconv/adrdir.tex
+++ b/Master/texmf-dist/doc/latex/adrconv/adrdir.tex
@@ -5,7 +5,7 @@
%% The original source files were:
%%
%% adrconv.dtx (with options: `dir')
-%% Copyright 2006 Axel Kielhorn
+%% Copyright 2006, 2010 Axel Kielhorn
%%
%% This file will generate fast loadable files from adrconv.dtx when
%% run through LaTeX or TeX.
@@ -23,20 +23,16 @@
%% The adrconv bundle consists at least of the files adrconv.dtx,
%% adrconv.ins and adrguide.tex.
%%
-%% You are NOT ALLOWED to change this file.
-%%
-%% You are NOT ALLOWED to distribute this file without adrconv.dtx,
-%% adrconv.ins or adrguide.tex.
%% adrguide.dtx
-%% Copyright 2006 Axel Kielhorn
+%% Copyright 2006, 2010 Axel Kielhorn
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\ProvidesFile{%
adrdir%
.tex%
}
- [2006/04/19 v1.2c LaTeX2e
+ [2010/04/02 v1.3 LaTeX2e
Interactive address directory generation]
-\documentclass[headsepline,10pt,twoside]{scrartcl}
+\documentclass[headsepline,10pt,twoside,pagesize]{scrartcl}
\newcommand*\jj {j}
\newcommand*\ja {ja}
\newcommand*\y {y}
@@ -52,6 +48,7 @@
\gobble\fi}
\newif\ifGerman
\newif\ifRunningHead
+\newif\ifEmail
\newdimen\leftfield
\newdimen\rightfield
\newdimen\adrindent
@@ -83,6 +80,16 @@
\ifx\yes\answer\def\germanpackage{german}\fi\fi\fi\fi
\usepackage{\germanpackage}
\fi
+\Ask\answer{^^JPrint email? [y/n]^^J%
+ E-Mail ausgeben? [j/n]}
+\ifx\jj\answer\Emailtrue\else
+\ifx\ja\answer\Emailtrue\else
+\ifx\y\answer\Emailtrue\else
+\ifx\yes\answer\Emailtrue\else
+ \Emailfalse\fi\fi\fi\fi
+\ifEmail
+\usepackage{url}
+\fi
\InputIfFileExists{dir.cfg}{%
\typeout{Load local configuration-file.}}{%
\typeout{No local configuration-file found.}}
@@ -139,6 +146,9 @@
{\raggedright \hspace{-\adrindent}{\sc #1}%
\def\tempa{#1}\ifx \tempa\empty \else , #2\fi%
\def\tempa{#3}\ifx \tempa\empty \else \par #3\fi%
+ \ifEmail
+ \def\tempa{#5}\ifx \tempa\empty \else \par \url{#5}\fi%
+ \fi
\def\tempa{#7}\ifx \tempa\empty \else \par (#7)\fi%
}%
\hfill%