From 72469c21bfba7d35a07cd6ee5ef1929baef4256b Mon Sep 17 00:00:00 2001 From: "Sebastian J. Mielke" Date: Sat, 9 Aug 2014 20:12:33 +0200 Subject: [PATCH] =?UTF-8?q?Jetzt=20auch=20in=20funktionsf=C3=A4hig!=20H?= =?UTF-8?q?=C3=A4tte=20eigentlich=20klar=20sein=20m=C3=BCssen,=20dass=20da?= =?UTF-8?q?s=20\edef=20nicht=20mit=20LaTeX-Makros=20klarkommt.=20Daf=C3=BC?= =?UTF-8?q?r=20wei=C3=9F=20ich=20jetzt,=20was=20makeatletter/other=20tun!?= =?UTF-8?q?=20\o/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nopanic.tex | 6 ++++-- texte/links.tex | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/nopanic.tex b/nopanic.tex index 1abf64d..84f5c5d 100644 --- a/nopanic.tex +++ b/nopanic.tex @@ -20,12 +20,14 @@ \newcommand{\grqq}{“} \newcounter{linkcounter} -\def\linklist{} +\newcommand\linklist{} +\makeatletter \newcommand{\link}[1]{ {\fontsize{13pt}{0}\selectfont\keys{\arabic{linkcounter}}} \stepcounter{linkcounter} - \edef\linklist{\linklist{} #1} + \g@addto@macro\linklist{ #1} } +\makeatother \definecolor{ifsrgreen}{rgb}{0.69, 0.88, 0.11} % 177, 225, 28 \definecolor{ifsrgray}{rgb}{0.6, 0.6, 0.6} % 153, 153, 153 diff --git a/texte/links.tex b/texte/links.tex index 453b8b4..92e7f14 100644 --- a/texte/links.tex +++ b/texte/links.tex @@ -32,4 +32,4 @@ \item \end{itemize} -\link{\textcolor{red}{NONE}}list +\linklist