From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82272 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: METAFUN+CONTEXT+CUSTOMIZE Date: Fri, 3 May 2013 00:52:11 +0200 Message-ID: <59E96B5B-D024-4510-A3AB-F8A7F813429C@gmail.com> References: <8ace00445e1ab7e5.518308ae@uniovi.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: multipart/mixed; boundary="===============0290014442==" X-Trace: ger.gmane.org 1367535164 32553 80.91.229.3 (2 May 2013 22:52:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 May 2013 22:52:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 03 00:52:40 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UY2Mf-0000bu-N7 for gctc-ntg-context-518@m.gmane.org; Fri, 03 May 2013 00:52:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6ABF101F2; Fri, 3 May 2013 00:52:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lKEkW4LhVrrG; Fri, 3 May 2013 00:52:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 32B8A101E9; Fri, 3 May 2013 00:52:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97874101E9 for ; Fri, 3 May 2013 00:52:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DoBxk2P+h0e7 for ; Fri, 3 May 2013 00:52:32 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 24B49101E5 for ; Fri, 3 May 2013 00:52:21 +0200 (CEST) Original-Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r42MqELH012470 for ; Fri, 3 May 2013 00:52:20 +0200 Original-Received: by mail-ee0-f51.google.com with SMTP id c1so507958eek.10 for ; Thu, 02 May 2013 15:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:content-type:message-id:mime-version:subject:date :references:to:in-reply-to:x-mailer; bh=41pT7kzbu4FR+W1BvnFHBPSw+TuFAIKV6QbInavZ5Ck=; b=If7nh7ERO+wJX+/txud3VR11YFU7/OwXG5eb0/lvaYxHi7Ci1K2o62jgyyS+hnAolj AXwNjYsARm+d8Mt4tSx1aSu9e7liYT/pU+4xRMbgkQwX+BLJQEzx+6BcUxzcFMwHspTZ e54UwMAC5Bv3Sh7s6kK3GchbXtfPO5b+nbM/Xwv7Wj7Kk2AYBlEZpf0qa2CeLL6rzvFV wKK3GwMF/3iZhFDuFZH2jpnpSZH1mh0akpJ/t/JPNv+JBCmNa0rRy2xdPcY1An2Hlku+ fvozi9j/2fdJ5s8h2egN+xpA4H1h22/gApwb/N3OUOXEBgAvahluJQcSvSSkNX4QZTPY xOOQ== X-Received: by 10.14.111.129 with SMTP id w1mr21542595eeg.13.1367535134068; Thu, 02 May 2013 15:52:14 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf8b3e.pool.mediaWays.net. [77.191.139.62]) by mx.google.com with ESMTPSA id i3sm12431777eev.1.2013.05.02.15.52.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 15:52:13 -0700 (PDT) In-Reply-To: <8ace00445e1ab7e5.518308ae@uniovi.es> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.51; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07JvaQeTb - 36df9ff60034 - 20130503 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82272 Archived-At: --===============0290014442== Content-Type: multipart/alternative; boundary="Apple-Mail=_9C0ACCA9-9364-4399-9133-D241CD296378" --Apple-Mail=_9C0ACCA9-9364-4399-9133-D241CD296378 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 03.05.2013 um 00:45 schrieb MANUEL GONZALEZ SUAREZ = : > I use TeXLive 2011 and I get the following error (the file name is = custo.tex): Use this definition \define[2]\ChapterCommand {\framed [frame=3Doff,bottomframe=3Don,framecolor=3Dorange,width=3Dfit] {#1\hspace[medium]#2}} In newer versions (the environment form was added a few months ago) you = can use \startframed =85 \stopframed instead of \framed{=85} which makes it easier to format code when \framed has more content. Wolfgang --Apple-Mail=_9C0ACCA9-9364-4399-9133-D241CD296378 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 gonzalezsmanuel@uniovi.es>= ;:
I use TeXLive 2011 and I get the following error (the file name = is custo.tex):

Use this = definition

\define[2]\ChapterCommand
  {\framed
    =  [frame=3Doff,bottomframe=3Don,framecolor=3Dorange,width=3Dfit]
=
    =  {#1\hspace[medium]#2}}


In = newer versions (the environment form was added a few months ago) you can = use

  \startframed =85 = \stopframed

instead = of

  = \framed{=85}

which makes it easier to format = code when \framed has more = content.

Wolfgang

= --Apple-Mail=_9C0ACCA9-9364-4399-9133-D241CD296378-- --===============0290014442== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0290014442==--