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 5/6] howto: Tweak carriagereturn symbol at fvextra's auto line break
Date: Fri, 31 Jan 2020 07:41:28 +0900 [thread overview]
Message-ID: <afd9ba96-70ca-0829-36bd-160d06b3ea72@gmail.com> (raw)
In-Reply-To: <c3c7fcbc-6ff9-2e9d-3703-81cbd5773b9d@gmail.com>
From beaf1394fd45862ed6ec56bd1d794463113b3049 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Sat, 25 Jan 2020 16:10:24 +0900
Subject: [PATCH 5/6] howto: Tweak carriagereturn symbol at fvextra's auto line break
Also use "darkgray" as the color of symbols indicating the line break
to make it obvious that they don't belong to the command line.
Mention the option "-jN" of "make" in comments as well to tell readers
that parallel build is possible.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
howto/howto.tex | 13 ++++++++-----
perfbook.tex | 2 +-
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/howto/howto.tex b/howto/howto.tex
index de26a113..db538c05 100644
--- a/howto/howto.tex
+++ b/howto/howto.tex
@@ -400,12 +400,15 @@ The required list of packages for a few popular distributions is listed
in the file \path{FAQ-BUILD.txt} in the \LaTeX{} source to the book.
\begin{listing}[tbp]
-\begin{VerbatimL}[breaklines=true,breakafter=/,numbers=none,xleftmargin=0pt]
+\begin{VerbatimL}[breaklines=true,breakafter=/,
+ breakaftersymbolpre=\raisebox{-.7ex}{\textcolor{darkgray}{\Pisymbol{psy}{191}}},
+ breaksymbolleft=\textcolor{darkgray}{\tiny\ensuremath{\hookrightarrow}},
+ numbers=none,xleftmargin=0pt]
git clone git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/perfbook.git
cd perfbook
# You may need to install a font. See item 1 in FAQ.txt.
-make
-evince perfbook.pdf & # Two-column version
+make # -jN for parallel build
+evince perfbook.pdf & # Two-column version
make perfbook-1c.pdf
evince perfbook-1c.pdf & # One-column version for e-readers
\end{VerbatimL}
@@ -432,8 +435,8 @@ Listing~\ref{lst:howto:Creating a Up-To-Date PDF}.
\begin{VerbatimL}[numbers=none,xleftmargin=0pt]
git remote update
git checkout origin/master
-make
-evince perfbook.pdf & # Two-column version
+make # -jN for parallel build
+evince perfbook.pdf & # Two-column version
make perfbook-1c.pdf
evince perfbook-1c.pdf & # One-column version for e-readers
\end{VerbatimL}
diff --git a/perfbook.tex b/perfbook.tex
index 51e1f5e5..87c1eaa1 100644
--- a/perfbook.tex
+++ b/perfbook.tex
@@ -50,7 +50,7 @@
\usepackage{examplep}
% \usepackage[strings]{underscore}
% \usepackage{underscore}
-\usepackage{pifont} % special character for qqz reference point
+\usepackage{pifont} % symbols for qqz reference points and carriagereturn
\usepackage{gensymb} % symbols for both text and math modes such as \degree and \micro
\usepackage{verbatimbox}[2014/01/30] % for centering verbatim listing in figure environment
\usepackage{fancyvrb}
--
2.17.1
next prev parent reply other threads:[~2020-01-30 22:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-30 22:27 [PATCH 0/6] howto: Reduce width of Listings 2.1 and 2.2 Akira Yokosawa
2020-01-30 22:33 ` [PATCH 1/6] Rename environments 'linelabel' and 'lineref' Akira Yokosawa
2020-01-30 22:35 ` [PATCH 2/6] Makefile: Check 'linelabel' and 'lineref' used as environment Akira Yokosawa
2020-01-30 22:36 ` [PATCH 3/6] howto: Reduce width of Listings 2.1 and 2.2 Akira Yokosawa
2020-01-30 22:39 ` [PATCH 4/6] FAQ-BUILD: Add 'fvextra' to the list of packages in item 10 Akira Yokosawa
2020-01-30 22:41 ` Akira Yokosawa [this message]
2020-01-30 22:45 ` [PATCH 6/6] Remove required version of 'epigraph' Akira Yokosawa
2020-01-31 21:12 ` [PATCH 0/6] howto: Reduce width of Listings 2.1 and 2.2 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=afd9ba96-70ca-0829-36bd-160d06b3ea72@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 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.