General.eps pictures do not appear in LaTeX=>PDF

General information and discussion about TeXnicCenter
Post Reply
bazman
Posts: 78
Joined: Mon Jan 26, 2009 3:24 am

.eps pictures do not appear in LaTeX=>PDF

Post by bazman »

Hi there,

My file displya fine when I use Dvi.

However i need to send it to my supervisor as pdf and I when I use LatEX=>pdf none of the .eps pictures I included appear?

How can I fix this?

Code: Select all

Code, edit and compile here:
\documentclass{article} % Your input file must contain these two lines
\usepackage{natbib}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{bm}
\usepackage{grffile}
\usepackage{graphicx}
\usepackage[%
font=small,
labelfont=bf,
figurewithin=section,
tablewithin=section,
tableposition=top
]{caption}
\numberwithin{equation}{section}
\makeatletter
\def\env@matrix{\hskip -\arraycolsep
\let\@ifnextchar\new@ifnextchar
\array{*\c@MaxMatrixCols l}}
\makeatother
\begin{document} % plus the \end{document} command at the end
\parskip = 1pc %change spacing between paragraphs
\parindent = 0pc %change paragraph indentation
\section{Introduction}
\section{LMM}
\subsection{Introduction} % This command makes a section title.
The Black model was already well established in the interest rate market. This allowed trader to price caps and swaptions individually i.e. in their own specific measure. However there was no framework to price caps swaptions or any other LIBOR product of a different maturity (and so measure) consistently. The seminal work of Heath, Jarrow and Morton (1992) whose great insight was that the no arbitrage of the state variables (e.g.) forward rates could be expressed as a function of the volatilities of and correlations between the state variables themselves. The HJM was originally cast is terms of instantenous forward rates, which don't actually trade in the market, also a point raised in the HJM paper was that in the continuous time limit for truely instantaneous and log-normal forward rates, their process explodes with positive probability. This lead early implementation of the approach that tried to steer clear of log normality: this was inconsistent with the already widely accepted Black approach and ultimately proved to be a dead end.
A new approach besed on HJM and first described in the papers by Brace et al(1996), Jamshidian(1997) and Musiela abd Rutkowski (1997) appeared in the mid 90's.
\begin{itemize}
\item Recast the yield curve in terms of market observable discrete sets of foreard rates
\item The no arbitrage drifts for the forwards were translated from the continuous time HJM setting tothe new discrete setting.
\item a numeraire had to be chosen (in early attempts this a discretely compounded money market account was invented, but forward and swap measures soon followed.
\item the log normal distribution assumtption for forward rates was introduced
\end{itemize}
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

.eps pictures do not appear in LaTeX=>PDF

Post by gmedina »

Hi,

when you include eps images you cannot compile using pdflatex directly. You have to compile using latex to get a dvi file than then must be converted to a ps file that finally will be converted to a pdf file.

If you use TeXnicCenter, there's a profile that automates that process.

Another option would be to use the epstopdf package to convert your images "on the fly".
1,1,2,3,5,8,13,21,34,55,89,144,233,...
bazman
Posts: 78
Joined: Mon Jan 26, 2009 3:24 am

Re: .eps pictures do not appear in LaTeX=>PDF

Post by bazman »

Yes I use TeXnicCenter but I am kinda new.

How can I access this process for the dvi to ps to pdf conversion?

On the drop down on the tool par I only have individual Latex => PDF,DVi or PS?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

.eps pictures do not appear in LaTeX=>PDF

Post by localghost »

If not done yet, you need to install Ghostscript [1,2]. Afterwards start TeXnicCenter (TXC) again and press Alt+F7 to let the wizard rebuild the profiles. Now TXC should provide the profile which is named "LaTeX => PS => PDF".

[1] Ghostscript, Ghostview and GSview
[2] Ghostscript Ghostscript


Best regards
Thorsten
bazman
Posts: 78
Joined: Mon Jan 26, 2009 3:24 am

Re: .eps pictures do not appear in LaTeX=>PDF

Post by bazman »

Hi there,

I already had installed ghostscript, but I had not re started my PC.

After I had done this I pressed Alt+f7 but I was still only have the normal latex=> dvi,pdf and gs?

Kind Rerdards

Baz
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: .eps pictures do not appear in LaTeX=>PDF

Post by localghost »

The current TXC 1.0 RC1 should yield the described result with the new additional profile.
bazman
Posts: 78
Joined: Mon Jan 26, 2009 3:24 am

Re: .eps pictures do not appear in LaTeX=>PDF

Post by bazman »

hi there,

I have TexNicCenter 1.0 Stable Release Candidate 1.

Is this the lastest version?

Kind Regards
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

.eps pictures do not appear in LaTeX=>PDF

Post by localghost »

Indeed this is the version I meant. You could try to import a profile I once provided [1]. Note that you have to do some path accommodations.

[1] View topic: LaTeX => PS => PDF
bazman
Posts: 78
Joined: Mon Jan 26, 2009 3:24 am

Re: .eps pictures do not appear in LaTeX=>PDF

Post by bazman »

Hi,

Sorry I downloaded the zip file and opened it but my computer doesn;t seem to know what to do with it.

I tried opening it with TexNicCenter but nothing happened. Can you please advise further.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: .eps pictures do not appear in LaTeX=>PDF

Post by localghost »

It goes without saying that you have to unpack the archive first. Start TeXnicCenter (TXC), press Alt+F7 and import the profile. All other necessary descriptions are given in the topic you got the profile from.
Post Reply