All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Akira Yokosawa <akiyks@gmail.com>
Cc: perfbook@vger.kernel.org
Subject: Re: [PATCH] qqz: Add another hyperlink to black box in QQA
Date: Sun, 17 Jul 2016 16:36:06 -0700	[thread overview]
Message-ID: <20160717233606.GE7094@linux.vnet.ibm.com> (raw)
In-Reply-To: <731d8ed0-deae-e159-a889-ba38822011e8@gmail.com>

On Mon, Jul 18, 2016 at 07:54:27AM +0900, Akira Yokosawa wrote:
> On 2016/07/17 14:59:00 -0700, Paul E. McKenney wrote:
> >On Sun, Jul 17, 2016 at 02:50:04PM +0900, Akira Yokosawa wrote:
> >>From 2a74b30f0a1d036e45c6aa5ef431034c23f790db Mon Sep 17 00:00:00 2001
> >>From: Akira Yokosawa <akiyks@gmail.com>
> >>Date: Tue, 12 Jul 2016 20:28:08 +0900
> >>Subject: [PATCH] qqz: Add another hyperlink to black box in QQA
> >>
> >>This commit adds another cross-link to the black boxes in QQA.
> >>I think this change would meet readers' expectation.
> >>
> >>Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
> >
> >I agree!  For reasons that are not clear to me, I had to hand-apply
> >this patch.  Might have been a white-space issue, which I did not
> >think to check for...
> >
> >Please take a look at the patch below to make sure that I did it
> >correctly.
> 
> Yes, you did it right. I'm wondering what was wrong on my side.

My guess is whitespace.  Or maybe the email got mangled along the way.

> >Also, this suggests a possibility:  In the quick-quiz answer, suppose
> >that the heading and the black box link (as they do now) to the beginning
> >of the quick-quiz question, but that the white box links to the end
> >(or just after the end) of the quick-quiz question.  That way, the
> >reader could choose the return point.
> >
> >Would that make sense?
> 
> Well, yes if readers expect the behavior.
> But for long answers, there are cases where you can choose only the white
> boxes in your view. I'm hesitating because of your reaction to the first
> attempt  the other day.

All good points!

> Anyway, I'm going to submit a patch for you to try.
> 
> Also we'd also need to update the explanation in the answer of Quick Quiz 1.3
> if we actually do the change.

Looking forward to it!

						Thanx, Paul

> >------------------------------------------------------------------------
> >
> >commit 8afdb9c1a55c7cf2300e6812cff58dd0fda4d585
> >Author: Akira Yokosawa <akiyks@gmail.com>
> >Date:   Sun Jul 17 14:54:03 2016 -0700
> >
> >    qqz: Add another hyperlink to black box in QQA
> >
> >    This commit adds a hyperlink from the black box in the quick-quiz
> >    answer to the beginning of the corresponding quick-quiz question.
> >
> >    Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
> >    Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
> >
> >diff --git a/qqz.sty b/qqz.sty
> >index 12dc85e30116..0c97df92cb50 100644
> >--- a/qqz.sty
> >+++ b/qqz.sty
> >@@ -78,7 +78,8 @@
> > 	\noindent
> > 	\QuickQHeading{QQA}{QQ}{\QuickQuizAnswerChapter.\thequickquizctrC} #1 ~ \\ }
> >
> >-\newcommand{\QuickA}[1]{\rule{7pt}{7pt}
> >+\newcommand{\QuickA}[1]{%
> >+	\hyperref[QQ.\QuickQuizAnswerChapter.\thequickquizctrC]{\rule{7pt}{7pt}}
> > 	\par\vspace{0.8\baselineskip}
> > 	\noindent\textbf{Answer:} \\ }
> >
> >
> >
> 


  reply	other threads:[~2016-07-17 23:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-17  5:50 [PATCH] qqz: Add another hyperlink to black box in QQA Akira Yokosawa
2016-07-17 21:59 ` Paul E. McKenney
2016-07-17 22:54   ` Akira Yokosawa
2016-07-17 23:36     ` Paul E. McKenney [this message]
2016-07-17 23:58       ` Akira Yokosawa
2016-07-18  0:01         ` [PATCH] qqz: Modify back link target at end of QQA to the end of QQ Akira Yokosawa
2016-07-18 15:25           ` Paul E. McKenney
2016-07-18 21:48             ` Akira Yokosawa
2016-07-18 21:50               ` Akira Yokosawa
2016-07-18 22:42                 ` Paul E. McKenney
2016-07-18  0:04         ` [PATCH] qqz: Modify back link target at end of QQA to just after " Akira Yokosawa
2016-07-18  6:54         ` [PATCH] qqz: Add another hyperlink to black box in QQA Paul E. McKenney
2016-07-18 10:28           ` Akira Yokosawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160717233606.GE7094@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=akiyks@gmail.com \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.