[PATCH -perfbook 4/5] Adjust label of Appendix E 'Answers to Quick Quizzes'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use the pattern of "chp:app:xxx" so that the regex added in
punctcheck.pl can recognize it.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 howto/howto.tex | 10 +++++-----
 qqz.sty         |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/howto/howto.tex b/howto/howto.tex
index 00522f84..96fa8d3a 100644
--- a/howto/howto.tex
+++ b/howto/howto.tex
@@ -139,7 +139,7 @@ This chapter is followed by a number of appendices.
 The most popular of these appears to be
 \cref{chp:app:whymb:Why Memory Barriers?},
 which delves even further into memory ordering.
-\Cref{chp:Answers to Quick Quizzes}
+\Cref{chp:app:Answers to Quick Quizzes}
 contains the answers to the infamous Quick Quizzes, which are discussed in
 the next section.
 
@@ -151,8 +151,8 @@ the next section.
 
 ``Quick quizzes'' appear throughout this book, and the answers may
 be found in
-\cref{chp:Answers to Quick Quizzes} starting on
-\cpageref{chp:Answers to Quick Quizzes}.
+\cref{chp:app:Answers to Quick Quizzes} starting on
+\cpageref{chp:app:Answers to Quick Quizzes}.
 Some of them are based on material in which that quick quiz
 appears, but others require you to think beyond that section, and,
 in some cases, beyond the realm of current knowledge.
@@ -167,8 +167,8 @@ of parallel programming.
 \QuickQuizB{
 	Where are the answers to the Quick Quizzes found?
 }\QuickQuizAnswerB{
-	In \cref{chp:Answers to Quick Quizzes} starting on
-	\cpageref{chp:Answers to Quick Quizzes}.
+	In \cref{chp:app:Answers to Quick Quizzes} starting on
+	\cpageref{chp:app:Answers to Quick Quizzes}.
 	Hey, I thought I owed you an easy one!
 }\QuickQuizEndB
 %
diff --git a/qqz.sty b/qqz.sty
index 86b50c79..a1687293 100644
--- a/qqz.sty
+++ b/qqz.sty
@@ -187,7 +187,7 @@
 \newcommand{\QuickQuizAnswers}{%
 	\renewcommand*{\theHNum}{\arabic{section}.\arabic{quickquizctrC}}
 	\chapter{Answers to Quick Quizzes}
-	\label{chp:Answers to Quick Quizzes}
+	\label{chp:app:Answers to Quick Quizzes}
 	\Epigraph{The Answer to the Ultimate Question of Life, The Universe,
 		  and Everything.}
 		 {\emph{``The Hitchhikers Guide to the Galaxy'', Douglas~Adams}}
-- 
2.17.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux