Generalgraphics causing errors latex=>Ps => Pdf

General information and discussion about TeXnicCenter
Post Reply
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

graphics causing errors latex=>Ps => Pdf

Post by Faust »

I'm using Latex=>PS=> PDF in order to be able to use the pstricks package.
Works fine for some test documents with just some pstricks drawings and text.

However I noticed that documents I normally compile as PDF crashed latex.exe (buffer size exceeded).

Inserting just 1 image in a document will render the following error with Latex=>PS

Cannot determine size of graphic in picture.pdf (no bounding box)

I used PDF extension for the picture (I do that for all my pictures).

The code in the document:

\begin{figure}[H]
\centering
\includegraphics[scale=0.42]{picture.pdf}
\caption{No comment.}
\label{blah1}
\end{figure}


The graphics package is enabled. PDF output alone (with no PS) works flawlessly.

Thanks!

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

Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Re: graphics causing errors latex=>Ps => Pdf

Post by Faust »

Im guessing the problem is using pdf graphics. Seems logical that pdf graphics work fine for PDF output but dont work for ps.

EDIT: Solved. pdf images are the problem (ebviously). Please feel free to call me a n00b, a moron etc. Apologies for wasting your time :lol:
Post Reply