From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 25 May 2003 18:28:39 +0300 From: Maxim Tyurin To: community@altlinux.ru, freepublish@lrn.ru Subject: Re: [Comm] \includegraphics =?koi8-r?Q?=C9?= =?koi8-r?Q?_pdflatex?= Message-ID: <20030525152839.GA30060@mrkooll.tdr.pibhe.com> Mail-Followup-To: community@altlinux.ru, freepublish@lrn.ru References: <20030525123017.789e7d54.grosso@mail.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <20030525123017.789e7d54.grosso@mail.ru> User-Agent: Mutt/1.4.1i Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sun, May 25, 2003 at 12:30:17PM +0800, Pavel Stupin wrote: > Здравствуйте! > > Каким образом вставлять png/jpg в документы, которые обрабатываются > pdflatex? > > Сейчас у меня сделано так (и это не работает): > > В преамбуле: > \usepackage[pdftex]{graphicx} > > В самом тексте: > \begin{figure}[h] > \caption{some caption} > \includegraphics*{image.png} > \label{label} > \end{figure} > > В получаемом с помощью pdflatex pdf-файле изображение отсутствует, а > вместо него --- рамка, в которой написано image.png > > Что нужно сделать? Убрать расширение. Вставлять так \includegraphics*{image} При проходе pdflatex вставит рисунки в png или pdf latex возьмет eps И подключать graphics нужно так: \ifx\pdfoutput\undefined \usepackage{graphicx} \else \usepackage[pdftex]{graphicx} \fi Еще неплохо бы подключить \usepackage[unicode,colorlinks]{hyperref} для получения нормальных ссылок в pdf -- With Best Regards, Maxim Tyurin JID: MrKooll@jabber.pibhe.com --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+0OEm9GgyV0oQHTsRAl6HAJ9ofZOGOKhL4K4BK8wyXlpMjYEGaACggLet aibef4TKCS5+2SirbgaGGQo= =Ds5o -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--