diff options
author | Akira Yokosawa <akiyks@gmail.com> | 2020-07-27 20:45:35 +0900 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-07-29 08:46:33 -0700 |
commit | 1716487bd983c752544816dc27e7a5c7adb8afc6 (patch) | |
tree | 10e0e9801a723f47bca2f21b3706945a8ab9e11f /owned | |
parent | 00ae9d5f88af1be19fef5dd26000bf608e7fbf4b (diff) | |
download | perfbook-1716487bd983c752544816dc27e7a5c7adb8afc6.tar.gz |
Enhance qqz scheme for chapterwise QQZ answers
This commit enables chapterwise QQZ answers in target perfbook-nq.pdf.
To achieve this, following changes are made.
o Add a boolean "qqzchpend" in the preamble.
o In qqz.sty, add a 3rd argument to \QuickQuizChapter{} and
\QuickQAC{}. It is used to specify basename of chapterwise
QQZ .tex file. Also add a command \QuickQuizAnswerChp{} for
conditionally including the chapterwise QQZ file.
o In chapter level .tex files, add the 3rd argument to
\QuickQuizChapter{} at the top and add the \QuickQuizAnswersChp{}
commands at the bottom.
Chapterwise QQZ files are named qqzhowto.tex, qqzintro.tex, and
so on.
o Add a script "utilities/divideqqz.pl" to generate chapterwise
qqz .tex files.
o Tweak howto.tex to deal with the lack of answers to QQZ in
Appendix.
o Enable "qqzchpend" for target perfbook-nq.pdf.
o Update .gitignore (qqz*.tex)
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'owned')
-rw-r--r-- | owned/owned.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/owned/owned.tex b/owned/owned.tex index b45fabb1..163f2d89 100644 --- a/owned/owned.tex +++ b/owned/owned.tex @@ -2,7 +2,7 @@ % mainfile: ../perfbook.tex % SPDX-License-Identifier: CC-BY-SA-3.0 -\QuickQuizChapter{chp:Data Ownership}{Data Ownership} +\QuickQuizChapter{chp:Data Ownership}{Data Ownership}{qqzowned} % \Epigraph{It is mine, I tell you. My own. My precious. Yes, my precious.} {\emph{Gollum in ``The Fellowship of the Ring'', J.R.R.~Tolkien}} @@ -435,3 +435,5 @@ greater performance and scalability coupled with reduced complexity. % populate with problems showing benefits of coupling data ownership with % other approaches. For example, work-stealing schedulers. Perhaps also % move memory allocation here, though its current location is quite good. + +\QuickQuizAnswersChp{qqzowned} |