From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97170 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Title without the parentheses Date: Sun, 29 Jan 2017 23:04:05 +0100 Message-ID: References: <3C30066D-183B-4F0D-9008-50D95845B57D@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3650787308037503972==" X-Trace: blaine.gmane.org 1485727492 20397 195.159.176.226 (29 Jan 2017 22:04:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 29 Jan 2017 22:04:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 29 23:04:48 2017 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 1cXxaa-000591-5C for gctc-ntg-context-518@m.gmane.org; Sun, 29 Jan 2017 23:04:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EC4821260326; Sun, 29 Jan 2017 23:04:21 +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 4-EcDVHOrTkJ; Sun, 29 Jan 2017 23:04:20 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 6BAF7126031F; Sun, 29 Jan 2017 23:04:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C32D512602DC for ; Sun, 29 Jan 2017 23:04: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 dWwzR1Ed6nS3 for ; Sun, 29 Jan 2017 23:04:17 +0100 (CET) Original-Received: from mail-io0-f174.google.com (mail-io0-f174.google.com [209.85.223.174]) (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 700E112601EC for ; Sun, 29 Jan 2017 23:04:07 +0100 (CET) Original-Received: by mail-io0-f174.google.com with SMTP id v96so95854407ioi.0 for ; Sun, 29 Jan 2017 14:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=GHz8cfiTY9yTjnd/eejWyZjCemXabEfpC2uZQuP6cAQ=; b=QEn6TabyVPBKXkqsedfzmjXIjWMgMvyEAgnWJqx4LbyLgH1l6rJmZPUTR59FQG5/dw thVHZcBmmHsbX49K2HB6F/hHGHeA0KTt0gLV7UpQriUgT34aciIx8cJQNtJOZP9TyOmx qRWv7AXo5jZ0bVTgnfOHZcC+FTiEIShp78VqrPJp8GpN6rcvHhASKmCbUaiaGahrmkeB goPxWFoVQiwUWOHlGyxg+pRkkEJxQ8cVH2BqZlMwASJeMOHbYYjFtCDapW9fDdKnLmIf yo/SfvhHfuXl5yF/QU3Vdgk5hyr+caxRCgiEQ2cwccXJghxQxz9TYqCTLSfFbKCn/QB/ 6z3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=GHz8cfiTY9yTjnd/eejWyZjCemXabEfpC2uZQuP6cAQ=; b=YOk+iIv8MRJZq7bCiZEpIs2huhxC+Z67fbqymCqiJCQVTeIWWqKr7Dp216FX7lnccz TyT9FSCmrEhvCswQ20Z8ydTrBFazSGRI0wgkcG67pb6FttOQ33gLMg52JDpCzzyzw3iF wonTxDS7TR0OzhEc5oGxlIHYSuDUq63qSTXPMxhbih+C8YD0NG+VyHMUmP9fupjtJicx 9N/uFIOcEM5PgwZfnkGTkDcnZ1Lpvx45wj8jisSN04wGjGMToCaAC3yhXzi/OxSZNeuH ReYD3DyOeDBXZhTfktmIzlH2yQXFR/0UOoq4tTcM8m4TnWIVFgodshOdLyZwaOk403fl LPwA== X-Gm-Message-State: AIkVDXLJ9SerWKTEcD+6dxsoa17fgYvVWsbDVQVpjOH6BUIfFS3+aFtbghCRmwBE6LrKM72GKWuUoHXO+MN7+Q== X-Received: by 10.107.18.201 with SMTP id 70mr19021649ios.33.1485727445863; Sun, 29 Jan 2017 14:04:05 -0800 (PST) Original-Received: by 10.64.24.73 with HTTP; Sun, 29 Jan 2017 14:04:05 -0800 (PST) In-Reply-To: <3C30066D-183B-4F0D-9008-50D95845B57D@gmail.com> 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:97170 Archived-At: --===============3650787308037503972== Content-Type: multipart/alternative; boundary=001a113f7282a4d44b054742e07b --001a113f7282a4d44b054742e07b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Kavian, Thank you for your answer, it's good for the parentheses. For the command, I found only this which does not exactly answer what I want to do. Fabrice \defineenumeration [ex] [text=3D{Exercice}, headcommand=3D\EXFRAME, titleleft=3D, titleright=3D, title=3Dyes, width=3Dfit, numberconversionset=3DACCONVERSION, alternative=3Dtop, number=3Dyes] 2017-01-29 12:02 GMT+01:00 Otared Kavian : > Hi Fabrice, > > To suppress the parentheses in the title, you can use the keys titleleft > and titleright as in the following: > > \defineenumeration > [ex] > [text=3DExercice, > title=3Dyes, > titleleft=3D, > titleright=3D, > width=3Dfit, > numberconversionset=3DACCONVERSION, > alternative=3Dtop, > number=3Dyes] > > In order to put the word =C2=AB Exercice =C2=BB in the frame you should d= efine a > special command, for instance \MyTextCommand and the say text =3D > \MyTextCommand > > Best regrads: OK > > On 29 Jan 2017, at 09:07, Fabrice Couvreur > wrote: > > Hello, > I would like a title without the parentheses and the text "Exercice" in > the frame with the number. > Thank you. > Fabrice > > \defineframed > [EXFRAME] > [frame=3Doff, > offset=3D0pt, > location=3Dlow, > width=3D\struttotal, > background=3Dcolor, > backgroundcolor=3Ddarkred, > foregroundcolor=3Dwhite, > forgroundstyle=3Dbold] > > \defineprocessor[ACPROCESSOR][command=3D\EXFRAME] > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > > \defineenumeration > [ex] > [text=3DExercice, > title=3Dyes, > width=3Dfit, > numberconversionset=3DACCONVERSION, > alternative=3Dtop, > number=3Dyes] > > \starttext > > \startex{Pour tous les candidats \hfill 5 points} > \input ward > \stopex > > \stoptext > > > > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________ > --001a113f7282a4d44b054742e07b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Kavian,
Than= k you for your answer, it's good for the parentheses. For the command, I found only this which does not exactly answ= er what I want to do.
Fabrice


\definee= numeration
=C2=A0 [ex]
=C2=A0 [text=3D{Exercice},
=C2=A0=C2=A0 hea= dcommand=3D\EXFRAME,
=C2=A0=C2=A0 titleleft=3D,
=C2=A0=C2=A0 titlerig= ht=3D,
=C2=A0=C2=A0 title=3Dyes,
=C2=A0=C2=A0 width=3Dfit,
=C2=A0= =C2=A0 numberconversionset=3DACCONVERSION,
=C2=A0=C2=A0 alternative=3Dto= p,
=C2=A0=C2=A0 number=3Dyes]
=
2017-01-29 12:02 GMT+01:00 Otared Kavian <ot= ared@gmail.com>:
Hi Fabrice,

To suppress the = parentheses in the title, you can use the keys titleleft and titleright as = in the following:

\defineenumeration
=C2=A0 [ex]
=C2=A0 [text=3DExercice,
=C2=A0 =C2=A0tit= le=3Dyes,
=C2=A0 =C2=A0titleleft=3D,
=C2=A0 =C2=A0title= right=3D,
=C2=A0 =C2=A0width=3Dfit,
=C2=A0 =C2=A0number= conversionset=3DACCONVERSION,
=C2=A0 =C2=A0alternative=3Dtop= ,
=C2=A0 =C2=A0number=3Dyes]

In or= der to put the word =C2=AB Exercice =C2=BB in the frame you should define a= special command, for instance \MyTextCommand and the say text =3D \MyTextC= ommand

Best regrads: OK

On 29 Jan 2017, at 09:07, Fa= brice Couvreur <fabrice1.couvreur@gmail.com> wrote:

Hello,
I would like a title without the parentheses and th= e text "Exercice" in the frame with the number.
T= hank you.
Fabrice

\defineframed
=C2=A0 [EXFRAME]=C2=A0 [frame=3Doff,
=C2=A0=C2=A0 offset=3D0pt,
=C2=A0=C2=A0 locatio= n=3Dlow,
=C2=A0=C2=A0 width=3D\struttotal,
=C2=A0=C2=A0 background=3D= color,
=C2=A0=C2=A0 backgroundcolor=3Ddarkred,
=C2=A0=C2=A0 foregroun= dcolor=3Dwhite,
=C2=A0=C2=A0 forgroundstyle=3Dbold]

\defineproces= sor[ACPROCESSOR][command=3D\EXFRAME]
\defineconversionset[ACCO= NVERSION][][ACPROCESSOR->n]

\defineenumeration
=C2=A0 [ex= ]
=C2=A0 [text=3DExercice,
=C2=A0=C2=A0 title=3Dyes,
=C2=A0=C2=A0 = width=3Dfit,
=C2=A0=C2=A0 numberconversionset=3DACCONVERSION,
= =C2=A0=C2=A0 alternative=3Dtop,
=C2=A0=C2=A0 number=3Dyes]

\start= text

\startex{Pour tous les candidats \hfill 5 points}
=C2=A0 \in= put ward
\stopex

\stoptext
=


________________________________= ___________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--001a113f7282a4d44b054742e07b-- --===============3650787308037503972== 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 --===============3650787308037503972==--