Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@linux.ibm.com>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: Re: [PATCH] count: Include atomic_nehalem.pdf instead of atomic_nehalem.png
Date: Wed, 5 Dec 2018 20:56:16 +0900	[thread overview]
Message-ID: <482c35de-949b-9bb1-4d96-dd6972ee3430@gmail.com> (raw)
In-Reply-To: <38fa0336-1150-7e92-bc00-b094b959f932@gmail.com>

On 2018/12/05 20:00, Akira Yokosawa wrote:
> From 213fcdaabb6daa14c1c6cfc6ff780d023478d59f Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@gmail.com>
> Date: Wed, 5 Dec 2018 19:48:32 +0900
> Subject: [PATCH] count: Include atomic_nehalem.pdf instead of atomic_nehalem.png
> 
> Without any suffix specified, \includegraphics{} prefers .png to .pdf
> by default.
> 
> Fixes: 04e270767c34 ("count: Restore 'fig:count:Atomic Increment Scalability on Nehalem'")
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
> ---
> Hi Paul,
> 
> This is a "minor fix".  Obviously, I missed to check the restored figure
> before submitting the previous patch set. ;-)

Looks like this depends on TeX Live version. .png was included on
Ubuntu Trusty's TeX Live 2013/Debian.

On Ubuntu Bionic (TeX Live 2017/Debian), .pdf is included both with and
without this fix.

        Thanks, Akira

> 
>         Thanks, Akira
> --
>  count/count.tex | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/count/count.tex b/count/count.tex
> index 6fd54b5..bdbc4cd 100644
> --- a/count/count.tex
> +++ b/count/count.tex
> @@ -248,7 +248,7 @@ accuracies far greater than 50\,\% are almost always necessary.
>  
>  \begin{figure}[tb]
>  \centering
> -\resizebox{2.5in}{!}{\includegraphics{CodeSamples/count/atomic_nehalem}}
> +\resizebox{2.5in}{!}{\includegraphics{CodeSamples/count/atomic_nehalem.pdf}}
>  \caption{Atomic Increment Scalability on Nehalem}
>  \label{fig:count:Atomic Increment Scalability on Nehalem}
>  \end{figure}
> 


  reply	other threads:[~2018-12-05 11:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-05 11:00 [PATCH] count: Include atomic_nehalem.pdf instead of atomic_nehalem.png Akira Yokosawa
2018-12-05 11:56 ` Akira Yokosawa [this message]
2018-12-05 15:00   ` Akira Yokosawa
2018-12-05 16:35   ` 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=482c35de-949b-9bb1-4d96-dd6972ee3430@gmail.com \
    --to=akiyks@gmail.com \
    --cc=paulmck@linux.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox