GeneralImage not clear

LaTeX specific issues not fitting into one of the other forums of this category.
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

Re: Image not clear

Post by ma501th »

this is what i get:

epstopdf milestone.eps

Error: pdflatex (file milestone.pdf): cannot find image file
==> Fatal error occurred, the output PDF file is not finished!

and when the .pdf is re generated the doucment is displayed up intill the error is effected i.e just before the milestone.jpg is displayed.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: Image not clear

Post by Stefan Kottwitz »

Try it without the package epstopdf, that means, disable \usepackage{epstopdf} by commenting it out with a % sign at the beginning of it's line. Does that change something?

Stefan
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

Re: Image not clear

Post by ma501th »

what extention should i apply at the end of image name?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: Image not clear

Post by Stefan Kottwitz »

just .jpg if thats its format.

Stefan
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

Re: Image not clear

Post by ma501th »

thanks guys the problem is sorted.

i applied .jpg for each of the image file, and called the .pd tex file as u have said.

thanks again for all ur help
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

Re: Image not clear

Post by ma501th »

sorry about this, but now i have noticed that my all my chapter headings has been adjusted. by this i mean they have gone down by 1cm.

is there way lifting all chapter heading by 1cm or 2?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Image not clear

Post by Stefan Kottwitz »

Your logfile showed that you are using the book class. So it would be possible by redefining \@makechapterhead. Insert this into your preamble:

Code: Select all

\makeatletter
\renewcommand*\@makechapterhead[1]{%
  \vspace*{10\p@}%  adjust this value
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
      \if@mainmatter
        \huge\bfseries \@chapapp\space \thechapter
        \par\nobreak
        \vskip 20\p@
      \fi
    \fi
    \interlinepenalty\@M
    \Huge \bfseries #1\par\nobreak
    \vskip 40\p@
  }}
\makeatother
The third line containes the value of the space obove, originally it was 50\p@.
I am using a newer version of book.cls, but that may work for you too.

Stefan
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

Re: Image not clear

Post by ma501th »

that code did not make difference, Isnt there one line code that could adjust the height for ALL the pages.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Image not clear

Post by Stefan Kottwitz »

You may use the geometry package for page layout and margins, see manual. A lot of documentation inside, but with examples.

Stefan
Post Reply