Skip to content

Updates of qqz.sty

Akira Yokosawa perfbook 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5qqz.sty: Use \refstepcounter after leaving vmode in tcolorboxqqz.sty+6 -70 replies
2/5qqz.sty: Modify -nq build to have chapterwise quiz-only sectionMakefile advsync/rt.tex howto/howto.tex +2 more+81 -750 replies
3/5perfbook-lt.tex: Remove boolean qqzchpendMakefile perfbook-lt.tex+1 -50 replies
4/5howto, Makefile: Update answer to Quick Quiz 1.3 and 'make help-full'Makefile howto/howto.tex+2 -30 replies
5/5qqz.sty: Add page reference to QQA Appendix as the same as -nq buildqqz.sty+10 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -perfbook 0/5] Updates of qqz.sty

Hi Paul,

A change in upstream hyperref package (v7.00j) breaks code in qqz.sty.
Now, \refstepcounter in vertical mode can cause a page break. Our use of \refstepcounter in framed Quick Quiz is in vertical mode and if a page break happens at that point, destination point set by \refstepcounter is discarded by tcolorbox, which results in a missing destination.

This can be fixed by leaving vertical mode in front of \refstepcounter, which is what Patch 1/5 does.

The updated code is compatible with older versions of hyperref as long as our usage patterns are concerned.
Aa a bonus, new link-target positions look nicer (not too close to the "Quick Quiz" labels).

Patches 2/5--4/5 are (in my opinion) improvements to the -nq build. Seeing both Quizzes and Answers in the final section, one would just see the answer without taking time to think about a quiz. So these patches modify the -nq build so that chapter-wise sections have only the quiz parts.
Answers are presented in Appendix E in the same way as the other builds.

Patch 5/5 adds page references in the answers of non-nq builds.

Thanks, Akira

--
Akira Yokosawa (5):
qqz.sty: Use \refstepcounter after leaving vmode in tcolorbox qqz.sty: Modify -nq build to have chapterwise quiz-only section perfbook-lt.tex: Remove boolean qqzchpend
howto, Makefile: Update answer to Quick Quiz 1.3 and 'make help-full' qqz.sty: Add page reference to QQA Appendix as the same as -nq build

 Makefile               |   5 +-
 advsync/rt.tex         |  18 -------
 howto/howto.tex        |  17 +-----
 perfbook-lt.tex        |   3 --
 qqz.sty                | 118 ++++++++++++++++++++++++-----------------
 utilities/divideqqz.pl |  25 ++++++++-
 6 files changed, 97 insertions(+), 89 deletions(-)
Signature · 1 line
2.17.1