ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* images in pdf
@ 2000-03-17 15:29 Joris Graaumans
  2000-03-17 17:05 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Joris Graaumans @ 2000-03-17 15:29 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

Hello!

First: I'm really a beginner with al this TeX stuff, so maybe this is not
such a smart question. But I'm still having problems getting images in a
pdf document:

	\starttext
	\externalfigure[image.png]
	\stoptext

doesn't work (figure image can not be found)

I'm using the 4TeX 5.0 cd to compile my ConTeXt files. I noticed that pdf
output is compiled from DVI output. To get direct pdf output I tried:

	\pdfoutput=1

But stil no image in my document.

Then I tried the following:

	\pdfoutput=1
	\starttext
	\pdfimage{image.png}
	\stoptext

And there was my beautiful image in a pdf document, only really really big
and out of the page. But the image was found, which means I'm not totally
stupid (I hope). The problem is I'm really stuck at this point. Nobody else
on this mailinglist seems to have this problem, and because everybody seems
to be using the texexec perl script, I figured that the '4TeX compiler'
might be the problem. The '4 TeX 5.0 compiler' calls the attached script
(context.btm) to process ConTeXt files.

I've also included the 'figure.log'. I hope somebody might be able to help
me with this problem,

Greeting,

Joris

[-- Attachment #2: figure.log --]
[-- Type: text/plain, Size: 1482 bytes --]

This is pdfeTeX, Version 3.14159-13d-2.1 (Web2c 7.3.1) (format=texput 1999.6.4)  17 MAR 2000 16:24
entering extended mode
**&cont-en figure
(figure.tex[c:/4TEX5.0/TEXMF/pdftex/config/pdftex.cfg]

ConTeXt ver: 1999.5.11 fmt: 1999.6.4 int: english mes: english

system         : cont-new loaded
(c:/4TEX5.0/TEXMF/tex/context/base/cont-new.tex)
system         : cont-old loaded
(c:/4TEX5.0/TEXMF/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(c:/4TEX5.0/TEXMF/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
specials       : tex,postscript,rokicki loaded
\openout2 = `figure.tui'.

system         : cont-opt loaded
(cont-opt.tex) (./figure.tuo) (./figure.tuo) (./figure.tuo) (./figure.tuo)
(./figure.tuo) (./figure.tuo) (./figure.tuo) (./figure.tuo) (./figure.tuo)
systems        : begin file figure at line 2
figures        : figure image can not be found
(./figure.tuo) (./figure.tuo) [1.1]
systems        : end file figure at line 10
 ) 
Here is how much of TeX's memory you used:
 486 strings out of 29304
 4661 string characters out of 475000
 263045 words of memory out of 1504611
 19615 multiletter control sequences out of 10000+50000
 10900 words of font info for 39 fonts, out of 500000 for 750
 24 hyphenation exceptions out of 1000
 62i,17n,83p,525b,691s stack positions out of 5000i,750n,5000p,50000b,20000s

Output written on figure.dvi (1 page, 504 bytes).

[-- Attachment #3: CONTEXT.btm --]
[-- Type: text/plain, Size: 399 bytes --]

@echo off
setlocal
unalias *

%CLS
if %[4DEBUG]=0 set PAUSE=pause
if %[4DEBUG]=1 set reECHO=echo on
iff %[4DEBUG]=2 then
  set PAUSE=pause
  set reECHO=echo on
endiff
%reECHO

%UTILSDIR%perl\bin\perl.exe %UTILSDIR%texexec.pl --interface=%1 %@name[%2]

:: traditional:
:: pdfetex.exe -progname=context "&cont-%1" %2
:: %UTILSDIR%perl\bin\perl.exe %UTILSDIR%texutil.pl --references %@name[%2]

%PAUSE



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: images in pdf
  2000-03-17 15:29 images in pdf Joris Graaumans
@ 2000-03-17 17:05 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-03-17 17:05 UTC (permalink / raw)
  Cc: ntg-context

At 04:29 PM 3/17/2000 +0100, Joris Graaumans wrote:

Say \setupoutput[pdftex] at the top of your line. This loads the pdftex
driver. Behind the screens much more happens than setting the output to 1.

>	\starttext
>	\externalfigure[image.png]
>	\stoptext

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-03-17 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-17 15:29 images in pdf Joris Graaumans
2000-03-17 17:05 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).