diff --git a/latex/letterhead.cls b/latex/letterhead.cls index 82f17f0..2f80d64 100644 --- a/latex/letterhead.cls +++ b/latex/letterhead.cls @@ -11,6 +11,7 @@ \RequirePackage{graphicx} \newcommand\subscript{} \newcommand\autogramm{} +\newcommand\addressbookpath{} \DeclareOption{subscript}{ \renewcommand{\subscript}{ @@ -37,7 +38,7 @@ % \receive*{handle} % handle aus Adressen.csv %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand*{\receivestar}[1]{ - \DTLloaddb{adressen}{/home/bernhardt/Entwicklung/Letterhead/Adressen/Adressen.csv} + \DTLloaddb{adressen}{\addressbookpath/Letterhead/Adressen/Adressen.csv} \DTLassignfirstmatch{adressen}{handle}{#1}{\Name=Name,\Adresse=Adresse,\FaxNr=FaxNr,\TelNr=TelNr,\Opening=Anrede,\Closing=Closing} \newcommand\FullAddress{\Name\\\Adresse\\per Fax: \FaxNr} \ifthenelse{\equal{\Opening}{}}{\renewcommand\Opening{Damen und Herren}}{}