perfbook.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH -perfbook] appendix/questions: Address potential orphaned epigraph
Date: Mon, 19 Jun 2023 23:58:41 +0900	[thread overview]
Message-ID: <d52b2618-3c84-63f1-cf39-ccec9d789a0e@gmail.com> (raw)

Commit 3566689d0c01 ("questions: Add section-level epigraphs")
added an epigraph just above a figure environment.
This makes cleverefcheck.pl complain:

    ./appendix/questions/time.tex:11:\begin{figure}
    ^^^ environment next to epigraph ^^^

Move the figure environment bottom of the first paragraph in the
section and prevent the epigraph from (potentially) ending up in
the bottom of a column/page.

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
Hi Paul,

You might have wondered what cleverefcheck.pl complained about.
At the moment, there is no epigraph actually orphaned, but
let's just silence the complaint.

        Thanks, Akira
--
 appendix/questions/time.tex | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/appendix/questions/time.tex b/appendix/questions/time.tex
index a4ce11ed5bb0..49961966525a 100644
--- a/appendix/questions/time.tex
+++ b/appendix/questions/time.tex
@@ -8,13 +8,6 @@
 \epigraph{Time is a game played beautifully by children.}
 	 {Heraclitus}
 
-\begin{figure}
-\centering
-\resizebox{2.6in}{!}{\includegraphics{cartoons/r-2014-What-time-is-it}}
-\caption{What Time Is It?}
-\ContributedBy{Figure}{fig:app:questions:What Time Is It?}{Melissa Broussard}
-\end{figure}
-
 A key issue with timekeeping on multicore computer systems is illustrated
 by \cref{fig:app:questions:What Time Is It?}.
 One problem is that it takes time to read out the time.
@@ -27,6 +20,13 @@ protocol (NTP) adjustments, and so on.
 So does the time eventually returned correspond to the beginning of
 the resulting time interval, the end, or somewhere in between?
 
+\begin{figure}
+\centering
+\resizebox{2.6in}{!}{\includegraphics{cartoons/r-2014-What-time-is-it}}
+\caption{What Time Is It?}
+\ContributedBy{Figure}{fig:app:questions:What Time Is It?}{Melissa Broussard}
+\end{figure}
+
 Worse yet, the thread reading the time might be interrupted or preempted.
 Furthermore, there will likely be some computation between reading out
 the time and the actual use of the time that has been read out.

base-commit: 3566689d0c01e93c1c0552ddff95b6d4b04ca2ed
-- 
2.25.1


             reply	other threads:[~2023-06-19 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-19 14:58 Akira Yokosawa [this message]
2023-06-19 19:57 ` [PATCH -perfbook] appendix/questions: Address potential orphaned epigraph Paul E. McKenney

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=d52b2618-3c84-63f1-cf39-ccec9d789a0e@gmail.com \
    --to=akiyks@gmail.com \
    --cc=paulmck@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).