It's the same as with text, but instead of text you put
\externalfigure[path/to-figure.pdf][setup=value]
inside the parenthesis { }:
\setuppapersize[A5]
\starttext
{\framed
[width=10cm,
background=color,backgroundcolor=darkblue,
foreground=color,foregroundcolor=white,
align={flushleft}]
{The Earth, as a habitat for animal life, is
in old age and has a fatal illness. Several,
in fact.\par
\setupindenting[yes, small]
It would be happening whether humans had ever evolved or not.}
\blank
{\framed
[width=10cm,
background=color,backgroundcolor=darkblue,
foreground=color,foregroundcolor=white,
align=middle]
{\externalfigure[path/to-figure.pdf][width=.8\textwidth]}
\stoptext
You don't need the \setupcolors[state=start] command in ConTeXt
mkiv by the way.
Hi Marco! I have another question to Frame. How is the process, if i have to take Figures in a Frame? Sorry, here I have no example, because I dont know, how to write it. Many thanks Uschi -----Ursprüngliche Nachricht----- Von: Ursula Hermann Gesendet: Mittwoch, 20. Februar 2019 11:10 An: 'mailing list for ConTeXt users' <ntg-context@ntg.nl> Betreff: AW: [NTG-context] Frame Hi, Marco! With colour: \setuppapersize[A5] \setupcolors[state=start] {\framed [width=10cm, background=color,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not.} Many Regards Uschi -----Ursprüngliche Nachricht----- Von: Ursula Hermann Gesendet: Mittwoch, 20. Februar 2019 10:44 An: 'mailing list for ConTeXt users' <ntg-context@ntg.nl> Betreff: AW: [NTG-context] Frame Hello Marco! It works, like I wanted: \setuppapersize[A5] {\framed [width=10cm, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not.} Thank you for helping Uschi -----Ursprüngliche Nachricht----- Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Ursula Hermann Gesendet: Dienstag, 19. Februar 2019 14:17 An: mailing list for ConTeXt users <ntg-context@ntg.nl> Betreff: Re: [NTG-context] Frame Hi Marco! Thanks a lot. Best regards Uschi -----Ursprüngliche Nachricht----- Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Marco Patzer Gesendet: Dienstag, 19. Februar 2019 14:11 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] Frame On Tue, 19 Feb 2019 13:01:35 +0000 Ursula Hermann <ursula.hermann@univie.ac.at> wrote:I have: \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] \starttext {Ich bin da.\par Du auch} \stoptextMove the \starttext to the beginning: \starttext \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] {Ich bin da.\par Du auch} \stoptext Marco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________