>From beaf1394fd45862ed6ec56bd1d794463113b3049 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> 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@xxxxxxxxx> --- 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