From: Andre Noll Date: Tue, 21 Apr 2020 08:23:03 +0000 (+0200) Subject: Introduction: Fix duplication anchor. X-Git-Url: http://git.tuebingen.mpg.de/?p=aple.git;a=commitdiff_plain;h=a93cba6feee4d62cae4499d566888b7b900059ac Introduction: Fix duplication anchor. Since the chapter list is contained twice on the intro page, we must use different names for the anchors. To do so, change the TABLE_OF_CONTENTS() macro to receive the name of the anchor as an argument. Found by checklink. Fixes: 47d1b278687988739b214025788f7c5739916e70 --- diff --git a/Introduction.m4 b/Introduction.m4 index 66be111..3f0f5b3 100644 --- a/Introduction.m4 +++ b/Introduction.m4 @@ -12,7 +12,7 @@ OVERVIEW(« ») SECTION(«Table of Contents») -TABLE_OF_CONTENTS() +TABLE_OF_CONTENTS(«chapter_list_introduction») SECTION(«About») diff --git a/include/m4/aple.m4 b/include/m4/aple.m4 index a995dfc..c209513 100644 --- a/include/m4/aple.m4 +++ b/include/m4/aple.m4 @@ -76,7 +76,7 @@ define(«HEADER», « ») define(«TABLE_OF_CONTENTS», « -