pdflatex

Roman Porizka porizka at econ.muni.cz
Tue Nov 7 18:04:50 CET 2000


> Ahoj ve spolek,
>
> pouzival jsem starsi verzi pdflatex bohuzel pod Win95 a nastaly mi
> problemy s importem *.PNG obrazku do PDF souboru. Stah jsem si novou
> verzi od Fabrice Popineau a tex nezna zadny prikaz pro PDF dokumeny.
> Vysledek prekladu vidite nize. Zdrojovy TEX soubor je prilozen jako
> attachment. Prosim o radu jak pdfTEX zkonfigurovat aby vse bezelo.
>

V podstate staci si stahnout pdftex.def ze stranek
http://www.tug.org/applications/pdftex/ a dat jej na prislusne misto.
Myslim, ze to je nekam do adresare texmf/tex/latex/graphics
Zmenily se totiz definice vkladani obrazku...

>
> Diky


			Prosim
					Roman Porizka

>
> Tomas Kupka
>
> > D:\temp>pdflatex
> > This is pdfTeX, Version 3.14159-14g-pretest-20000912 (Web2c 7.3.2.2)
> > **a114.tex
> > (./a114.tex{d:/TEX/texmf-var/pdftex/config/pdftex.cfg}
> > LaTeX2e <2000/06/01>
> > Babel <v3.6Z> and hyphenation patterns for english, french, german,
> > ngerman, du
> > mylang, nohyphenation, loaded.
> > (d:/TEX/texmf/tex/latex/base/article.cls
> > Document Class: article 2000/05/19 v1.4b Standard LaTeX document class
> > (d:/TEX/texmf/tex/latex/base/size10.clo))
> > ! Undefined control sequence.
> > l.11 \setbox0=\hbox{\pdfimage
> >                               {54bd14.png} }
> > ? q
> > OK, entering \batchmode
> > D:\temp>
>

Content-Description: filename="a114.tex"
> \pdfoutput=1
> \documentclass{article}
> \pdfcompresslevel=1
> \oddsidemargin -1 in
> \topmargin -1.36 in
> \headheight 0 pt
> \headsep 0 pt
> \footskip 0 pt
> \textheight 250 mm
> \pagestyle{empty}
> \setbox0=\hbox{\pdfimage {54bd14.png} }
> \pdfpagewidth 160 mm
> \newcount\pomer \newcount\vyska
> \pomer = \wd0
> \vyska = \ht0
> \divide \pomer by 160
> \divide \vyska by \pomer
> \pdfpageheight \vyska mm
> \begin{document}
>   \begin{figure}
>     \pdfimage width 160 mm {54c1b0.png}
>   \end{figure}
>   \clearpage
>   \newpage
> \end{document}
>
>


--
  ___
{~._.~}
 ( Y )
()~*~()
(_)-(_)

Koala



More information about the csTeX mailing list