From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101649 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Text wrapped with an ornement Date: Sat, 18 Aug 2018 23:51:46 +0200 Message-ID: References: <2a31a0d8-1682-6dc1-6e77-ebd179b51b28@gmx.es> <4d684572-85a2-360c-eedc-79715f1b35d5@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4579637964200509750==" X-Trace: blaine.gmane.org 1534629026 2600 195.159.176.226 (18 Aug 2018 21:50:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Aug 2018 21:50:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 18 23:50:22 2018 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 esmtp (Exim 4.84_2) (envelope-from ) id 1fr96z-0000VH-VG for gctc-ntg-context-518@m.gmane.org; Sat, 18 Aug 2018 23:50:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 539C552243; Sat, 18 Aug 2018 23:52:12 +0200 (CEST) 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 UjyXos9csHOm; Sat, 18 Aug 2018 23:52:11 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9BE5252282; Sat, 18 Aug 2018 23:52:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E3D3B52282 for ; Sat, 18 Aug 2018 23:52:09 +0200 (CEST) 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 t-MRLpW_XCiC for ; Sat, 18 Aug 2018 23:52:09 +0200 (CEST) Original-Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 248A352243 for ; Sat, 18 Aug 2018 23:51:59 +0200 (CEST) Original-Received: by mail-wr1-f51.google.com with SMTP id w11-v6so7305848wrc.5 for ; Sat, 18 Aug 2018 14:51:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=D4g9wa9d40yr33GL/HlvzZrUVlUBkwlEkQm4HvSFpAM=; b=unw5ErNB6iAVr67+adcgASlA5CD4MtjzhMMXzZDRLatmprTSG4aP547KXigYHsbMSw lVZ3Wjv8ffCL+ZMRyrfWRdxOb/0gFCt+9G7EcQF1pbtMUfwqa8Um/Of26MFDYD7NmdsL jbJqkxEuu5ykcv2xSG9bFZnqk/RqpQIRpT3veVfPANlLcMtV3w39UMAnH6J8LXxl2dA5 My+hLAtyOf3AINfukwY51q0gawQ0TKlyROvpWZP41dMyuoZ3ZDtJQIjlL5MtZB6ArDcm GvcOulhbld/Nv9NqSPvhwMKNB4+8ScM+L8nqIIBEpu3TFiU5Ek80CtLG9WRAB4dEh20t DnLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=D4g9wa9d40yr33GL/HlvzZrUVlUBkwlEkQm4HvSFpAM=; b=S9l4yVquj07Z0OsUJ88lJMKQ6iJn7OqJTDtADAHTXjG3BaY4A4shnu4wVM7ZhGWyp5 YYJuzwNxIxBM6Hgxc3qgNESC1ddTK0Z+L9aVNGxLl2yKt0/HjcEL0u4cY+XHBMGDwz55 rNDww5wB/0PTfMNjsbMZNFBn/jGOTGxeW9FjOIwMZ2ddxhjdijhIsFlnSiSsYlHEFir3 9SoRC0YvW8elgrtcMAYHBnfg7338sHQB5pyzjmTLamK0+DIo9rCoVMi/1EdYAmlg5/Sh RdZuyilfgc/Mg8GguPbGf1KkM5RNE+oRJtpZx9B3OfboWW18FI7HEzLzr/T3TYWK7zXp vIAQ== X-Gm-Message-State: AOUpUlEiCLpVsachq0XFz8o4AP/Y0Pvx1ORxPyPrsN+CG4+HzmeCb8Nm 4Ux7OAHm65WEZ2rv0Xe1Slt6nXsGUj+Q1ZrFIOjPa1aj X-Google-Smtp-Source: AA+uWPzfJVZ0yrr0YSI7i3BrhOAXzuQkUcHBozkgXPTbUuA9LRCQB8dge+A8e+I1WnmFsJl0KMNLVfsVpOhz98s89CI= X-Received: by 2002:adf:bb08:: with SMTP id r8-v6mr25275660wrg.244.1534629118374; Sat, 18 Aug 2018 14:51:58 -0700 (PDT) In-Reply-To: <4d684572-85a2-360c-eedc-79715f1b35d5@gmx.es> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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:101649 Archived-At: --===============4579637964200509750== Content-Type: multipart/alternative; boundary="0000000000007678fb0573bcafc6" --0000000000007678fb0573bcafc6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Palbo, In fact I want the text '' Coming back ... '' to start on the same baseline as the title of the ornament as in the photo. Thanks. Fabrice Info Coming back ... blablablablabla Le sam. 18 ao=C3=BBt 2018 =C3=A0 13:26, Pablo Rodriguez a = =C3=A9crit : > On 08/18/2018 11:11 AM, Fabrice Couvreur wrote: > > Hi Pablo, > > These options are to be added to \defineframedtext [] [] ? > > Without success at home ! > > Hi Fabrice, > > your sample should read: > > \definecolor[MyColorA][r=3D0.8784, g=3D0.8784, b=3D0.8784] > \definecolor[MyColorB][c=3D0.00,m=3D0.27,y=3D1.00,k=3D0.00] > > \defineornament > [FrameTitle] > [preset=3Dlefttop] > [ > frame=3Doff, > foregroundstyle=3D\bfx\ss, > foregroundcolor=3Dwhite, > background=3Dcolor, > backgroundcolor=3DMyColorB, > ] > > \defineframedtext > [FramedText] > [ > offset=3D0.6em, > style=3D\ss, > toffset=3D\lineheight, > background=3Dcolor, > backgroundcolor=3DMyColorA, > foregroundstyle=3D{\switchtobodyfont[10pt]}, > align=3D{right, broad}, > frame=3Doff, > corner=3Dround, > radius=3D1.5em, > width=3D10cm, > ] > > \showframe > > \starttext > > \FrameTitle{Info}{% > \startFramedText% > \input zapf > \stopFramedText} > > \stoptext > > The width option works now, because I didn=E2=80=99t realize that your sa= mple > had it right after the "\startFramedText" command. > > I hope it helps now. If anything is not working as you expect, please > explain what should be different. > > Pablo > -- > http://www.ousia.tk > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ --0000000000007678fb0573bcafc6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Palbo,
In fact I wan= t the text '' Coming back ... '' to start on the same basel= ine as the title of the ornament as in the photo.
Thanks.
Fabrice

Info=C2=A0 Coming = back ...
blablablablabla

Le=C2=A0sam. 18 ao=C3=BBt 2018 =C3=A0=C2= =A013:26, Pablo Rodriguez <oinos@gmx.es<= /a>> a =C3=A9crit=C2=A0:
On 08/1= 8/2018 11:11 AM, Fabrice Couvreur wrote:
> Hi Pablo,
> These options are to be added to \defineframedtext [] [] ?
> Without success at home !

Hi Fabrice,

your sample should read:

=C2=A0 =C2=A0 \definecolor[MyColorA][r=3D0.8784, g=3D0.8784, b=3D0.8784] =C2=A0 =C2=A0 =C2=A0 =C2=A0 \definecolor[MyColorB][c=3D0.00,m=3D0.27,y=3D1.= 00,k=3D0.00]

=C2=A0 =C2=A0 =C2=A0 =C2=A0 \defineornament
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [FrameTitle]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [preset=3Dlefttop]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 frame=3Doff,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 foregroundstyle=3D\bfx\ss,=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 foregroundcolor=3Dwhite, =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 background=3Dcolor,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 backgroundcolor=3DMyColorB= ,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ]

=C2=A0 =C2=A0 =C2=A0 =C2=A0 \defineframedtext
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [FramedText]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 offset=3D0.6em,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 style=3D\ss,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 toffset=3D\lineheight,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 background=3Dcolor,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 backgroundcolor=3DMyColorA,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 foregroundstyle=3D{\switchtobodyf= ont[10pt]},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 align=3D{right, broad},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 frame=3Doff,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 corner=3Dround,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 radius=3D1.5em,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 width=3D10cm,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ]

=C2=A0 =C2=A0 =C2=A0 =C2=A0 \showframe

=C2=A0 =C2=A0 =C2=A0 =C2=A0 \starttext

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\FrameTitle{Info}{%
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\startFramedText%
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \input zapf
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \stopFramedText}

=C2=A0 =C2=A0 =C2=A0 =C2=A0 \stoptext

The width option works now, because I didn=E2=80=99t realize that your samp= le
had it right after the "\startFramedText" command.

I hope it helps now. If anything is not working as you expect, please
explain what should be different.

Pablo
--
http:/= /www.ousia.tk
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000007678fb0573bcafc6-- --===============4579637964200509750== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============4579637964200509750==--