From a93cba6feee4d62cae4499d566888b7b900059ac Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 21 Apr 2020 10:23:03 +0200 Subject: [PATCH 1/1] 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 --- Introduction.m4 | 2 +- include/m4/aple.m4 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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», « -