Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2536

Re: how to include graphics in latex in linux

From Dan Luecking <LookInSig@uark.edu>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: how to include graphics in latex in linux
Date 2014-07-23 14:32 -0500
Organization A noiseless patient Spider
Message-ID <fi20t99ril9vt0pgpvrq2go9hc2pb2sog2@4ax.com> (permalink)
References <281c8dcb-3805-44bb-83bc-25904e617712@googlegroups.com> <lqluat$aiq$1@news.rz.uni-karlsruhe.de>

Show all headers | View raw


On Tue, 22 Jul 2014 17:04:17 +0200, Karl <mail.kfr@gmx.net> wrote:

>Am 11.07.2014 08:25, schrieb Roshni Rajkumari:
>> \begin{figure}[h!] 
>>     \centering 
>>     \includegraphics[width=4.0in]{PayShirk} 
>> \caption{Payoff of a cooperating } 
>> \label{figurePayShirk} 
>> \end{figure} 
>> 
>> while doing this in miktek m getting proper output..the figure is saved in png format.. 
>> 
>> But its not working in linux environment..Do i have to save my figure in .eps format?? 
>> 
>> each time its coming figure not found even if i save my figure in .eps format. 
>> 
>> Please help
>> 
>
>I expect you are are using pdflatex?
>
>png´s need some helper program for inclusion in pdflatex i think, you
>probably don´t have that installed on your linux system. it surely is
>available, though.

>eps cannot be used with pdflatex, you can either have pdflatex trigger
>an automatic conversion to pdf, or directly use the pdfcairo terminal in
>gnuplot.

PdfLaTeX handles the following without helper programs: PDF, PNG, JPEG
and MPS (eps output by metapost). 

It will also handle eps transparently if the system configuration
allows tex to call epstopdf (i.e., shell-escape enabled, epstopdf.sty
loaded by graphics.cfg; this is the default in TeX Live since 2013).
In Linux it requires a preinstalled perl interpreter and ghostscript.
In windows, these are supplied with TeX Live.

>
>In all cases, a quick web search for "pdflatex <your latex distribution>
>eps/png/pdf" will give you the necessary pointers.
>
>  Karl


Dan
To reply by email, change LookInSig to luecking

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

how to include graphics in latex in linux Roshni Rajkumari <rajkumari.roshni@gmail.com> - 2014-07-10 23:25 -0700
  Re: how to include graphics in latex in linux zariya.tuhina@gmail.com - 2014-07-21 22:39 -0700
  Re: how to include graphics in latex in linux James <jjpuzzles@wowway.com> - 2014-07-22 06:19 -0700
  Re: how to include graphics in latex in linux Karl <mail.kfr@gmx.net> - 2014-07-22 17:04 +0200
    Re: how to include graphics in latex in linux Dan Luecking <LookInSig@uark.edu> - 2014-07-23 14:32 -0500
  Re: how to include graphics in latex in linux giacomo boffi <pecore@pascolo.net> - 2014-08-13 14:44 +0200

csiph-web