ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Newbie cant get \externalfigure to work
@ 2003-05-09  9:08 fa441907
  2003-05-09 10:04 ` Maarten Sneep
  2003-05-09 15:15 ` Severin Obertuefer
  0 siblings, 2 replies; 3+ messages in thread
From: fa441907 @ 2003-05-09  9:08 UTC (permalink / raw)


Newbie cant get \externalfigure to work

 Just starting with Context
 I'm using 4TEX 5.0 (ver June 1999)
 I want to make a pdf document with some pictures
 In LaTex, this (postscript) works;
        \documentclass[a4paper]{article}
        \usepackage[dvips]{graphicx}
        \begin{document}
        \frame{%
         \includegraphics{DSCN0043.eps}
        }%

           Some text
       \end{document}

 I try the same thing in Context
 and I get an empty box with 3 lines of text
 "name: dummy"
 "file: DSN0043"
 "unknown"
Heres my script:

 \setupoutput[pdftex]
    \useexternalfigure
    [appleblossom][DSCN0043]
    [type=eps,width=.4\makeupwidth]
 \starttext
  \startfiguretext
   [left]
   [fig:appleblossom]
   {none}
   {\externalfigure
    [DSCN0043]
    [type=eps,width=.4\makeupwidth,frame=on]}

   Some text
  \stopfiguretext
 \stoptext

log file says
 ConTeXt ver: 1999.5.11 fmt: 1999.6.4 int: english mes: english
 ...snip...
 systems        : begin file 2Context at line 23
 figures        : figure DSCN0043 can not be found


Thank you for your help
Richard Hardwick

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

* Re: Newbie cant get \externalfigure to work
  2003-05-09  9:08 Newbie cant get \externalfigure to work fa441907
@ 2003-05-09 10:04 ` Maarten Sneep
  2003-05-09 15:15 ` Severin Obertuefer
  1 sibling, 0 replies; 3+ messages in thread
From: Maarten Sneep @ 2003-05-09 10:04 UTC (permalink / raw)



On vrijdag, mei 9, 2003, at 11:08 Europe/Amsterdam, fa441907 wrote:

> Newbie cant get \externalfigure to work
>
>  Just starting with Context
>  I'm using 4TEX 5.0 (ver June 1999)

Please update to the current version (step 1, will solve many problems
you're likely to discover from now on)

I see you're using pdftex. No version of pdftex can handle eps directly.
Please convert your image to pdf and use that. You can use acrobat of 
ghostscript
to convert your file.

Hope this helps.

Maarten

>  \setupoutput[pdftex]
>     \useexternalfigure
>     [appleblossom][DSCN0043]
>     [type=eps,width=.4\makeupwidth]

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

* Re: Newbie cant get \externalfigure to work
  2003-05-09  9:08 Newbie cant get \externalfigure to work fa441907
  2003-05-09 10:04 ` Maarten Sneep
@ 2003-05-09 15:15 ` Severin Obertuefer
  1 sibling, 0 replies; 3+ messages in thread
From: Severin Obertuefer @ 2003-05-09 15:15 UTC (permalink / raw)


hi

as marteen said, you cannot include a eps figure directly.
then you can shorten your text like this:
\setupoutput[pdftex]

\useexternalfigure[appleblossom][DSCN0043]

[width=.4\makeupwidth]

\starttext

\startfiguretext

[left]

{none}

{\externalfigure[appleblossom]}

Some text

\stopfiguretext

\stoptext

I think that's what you want

greez severin

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

end of thread, other threads:[~2003-05-09 15:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-09  9:08 Newbie cant get \externalfigure to work fa441907
2003-05-09 10:04 ` Maarten Sneep
2003-05-09 15:15 ` Severin Obertuefer

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).