From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/103428 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Newsgroups: gmane.comp.tex.context Subject: Re: Frame Date: Wed, 20 Feb 2019 15:38:14 +0100 Message-ID: <5803a3bd-c3a9-9173-01d8-a965edc0deac@gmail.com> References: <402fa2cff1de448cac9e0d7495897a09@univie.ac.at> <20190219141039.7e2ee647@homerow> <9c77ddb29e954ecf911c0e4291847404@univie.ac.at> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3281562098321607103==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="255807"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 20 15:38:56 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gwT1U-0014Qq-Jo for gctc-ntg-context-518@m.gmane.org; Wed, 20 Feb 2019 15:38:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9C56CF0ADE; Wed, 20 Feb 2019 15:38:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id piA_ZTqrU6No; Wed, 20 Feb 2019 15:38:16 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AF7E9F0ADB; Wed, 20 Feb 2019 15:38:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8C4B5F0ADC for ; Wed, 20 Feb 2019 15:38:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qRNANM-e3YSZ for ; Wed, 20 Feb 2019 15:38:14 +0100 (CET) Original-Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id AA3A0F0ADB for ; Wed, 20 Feb 2019 15:38:14 +0100 (CET) Original-Received: by mail-wr1-f43.google.com with SMTP id r5so12878872wrg.9 for ; Wed, 20 Feb 2019 06:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=pcQyYVZPutB/iXlma7zhn2hfd3oTNmIrcS3mzTV/A0Y=; b=mjlFmEAaC2U98HoQLMbxV2jANTaRQx/A881TyLjvn4M/QOb7mnlK3Rt/11iH08a2Jo n85LVOmYtM9Z6N1WTkkIFa5n+QITrwQQVOkX/WFMkYU6ZoTf7e4S6aYR+znBbpSX4Emu 7Vsprrv4dhaAaNjmo9ln/puYr22XbJ69mskctFGBotOlp56tIJFcK1uWrqWh6z8TKcBJ pz70kcaST4g/54fG+6f8ms3vbbLFxk6ETvW+Zh+HLBsjJIsDI0fSJOYCMc68OMONybTT S+XcG4f/TDLwbH+m7KakRdd5fUFryscDakJcd0Yo/hzyucgNoi6+y2UC54neGNmtGSRW /Krw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=pcQyYVZPutB/iXlma7zhn2hfd3oTNmIrcS3mzTV/A0Y=; b=ZMZNFJ4qQP5rlPgiBMTkzbB8dFsFgSA9NM5SIefjZnq9TQeZy1DZIBDAEvn2pu85yQ bKFn27k+q3fBgmH5JwVEnHuJ8wgi5uOXw+qyH0z2LTnUP9YK0m2Oe6ioukodI18kFGFK lGMaSTZCVUX6J9EAbMRqogFh1RXaqetY4+1NKFl5wuA3GlwRBeZTcTdBp/DeFyl/KDsR 6wrtKXXOm5J+mMMPIyoQboVN8trESedW8oNOvUoSiHshoWT2Dx7h6MnRqVPctQi7Gzfi MllhJ5+JBkFBBFLmxOtL9Let8p9OGp3209jaS6juGK9fqQhmkC/g4m9pJQ29MJVWzWMb U+hQ== X-Gm-Message-State: AHQUAuasDwNQsoL3jzbFQTldDjL1WYaYfJmhXw0WTawxrwsrQcbStRmA 2zeZHoIhjrjYijDhOf7BRqmCoVo= X-Google-Smtp-Source: AHgI3IYDM1dumuGQDuyh5P3VgbxCJDTfP6eQRHBiayZzpsDFassbYYwFYRcrBKZDjsV50gsRx3dkdA== X-Received: by 2002:adf:ee4d:: with SMTP id w13mr25274948wro.16.1550673493882; Wed, 20 Feb 2019 06:38:13 -0800 (PST) Original-Received: from [92.200.76.70] (port-92-200-76-70.dynamic.qsc.de. [92.200.76.70]) by smtp.gmail.com with ESMTPSA id f10sm3188911wmb.35.2019.02.20.06.38.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Feb 2019 06:38:12 -0800 (PST) In-Reply-To: <9c77ddb29e954ecf911c0e4291847404@univie.ac.at> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:103428 Archived-At: This is a multi-part message in MIME format. --===============3281562098321607103== Content-Type: multipart/alternative; boundary="------------EF5679EF6C2AB065B6E60535" This is a multi-part message in MIME format. --------------EF5679EF6C2AB065B6E60535 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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. Am 20/02/2019 um 12:31 schrieb Ursula Hermann: > 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' > 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' > 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 Im Auftrag von Ursula Hermann > Gesendet: Dienstag, 19. Februar 2019 14:17 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Frame > > Hi Marco! > > Thanks a lot. > > Best regards > > Uschi > > -----Ursprüngliche Nachricht----- > Von: ntg-context 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 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} >> \stoptext > Move 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 > ___________________________________________________________________________________ --------------EF5679EF6C2AB065B6E60535 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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.


Am 20/02/2019 um 12:31 schrieb Ursula Hermann:
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}
\stoptext
Move 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
___________________________________________________________________________________
--------------EF5679EF6C2AB065B6E60535-- --===============3281562098321607103== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3281562098321607103==--