Revision 891c2c27
Von Marei Peischl vor mehr als 1 Jahr hinzugefügt
- ID 891c2c275dde6568066d68f08483ead59fe6c066
- Vorgänger 93ecd320
templates/print/marei/kiviletter.sty | ||
---|---|---|
638 | 638 |
\cs_if_exist:NF \Ifkomavarempty {\let\Ifkomavarempty\ifkomavarempty} |
639 | 639 |
|
640 | 640 |
%Definitionen für die insettings.tex |
641 |
|
|
642 |
\newcommand*{\setupIdentpath}[1]{ |
|
643 |
\int_set:Nn \l_kivi_tmp_int {1} |
|
644 |
\bool_set_true:N \l_kivi_tmp_bool |
|
645 |
\bool_while_do:Nn \l_kivi_tmp_bool { |
|
646 |
\file_if_exist:nTF {firma\int_use:N \l_kivi_tmp_int/ident.tex} |
|
647 |
{ |
|
648 |
\exp_args:Nf \str_if_in:nnTF {#1} {Firma\int_use:N \l_kivi_tmp_int} |
|
649 |
{ |
|
650 |
\newcommand*{\identpath}{firma\int_use:N \l_kivi_tmpa_int} |
|
651 |
\bool_set_false:N \l_kivi_tmp_bool |
|
652 |
} |
|
653 |
{\int_incr:N \l_kivi_tmp_int} |
|
654 |
} |
|
655 |
{ |
|
656 |
\bool_set_false:N \l_kivi_tmp_bool |
|
657 |
\newcommand*{\identpath}{firma} |
|
658 |
} |
|
659 |
} |
|
641 |
\NewDocumentCommand{\setupIdentpath}{sm}{ |
|
642 |
\file_if_exist:nTF {#2/ident.tex} |
|
643 |
{ |
|
644 |
\newcommand*{\identpath}{#2} |
|
645 |
} { |
|
646 |
\newcommand*{\identpath}{firma} |
|
647 |
} |
|
648 |
} |
|
660 | 649 |
} |
661 | 650 |
|
662 | 651 |
\newcommand*{\setupCurrencyConfig}[3][euro]{ |
Auch abrufbar als: Unified diff
allow custom names of \identpath