From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47129 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: setuphead question Date: Sat, 31 Jan 2009 08:42:39 +0100 Message-ID: <087CEC15-98E1-4B43-B6D7-A6936712D1E6@gmail.com> References: <326847810901290250i5e9b492dmca2815647b3493e4@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233387935 30200 80.91.229.12 (31 Jan 2009 07:45:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2009 07:45:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 31 08:46:48 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LTAYw-0001WG-Ff for gctc-ntg-context-518@m.gmane.org; Sat, 31 Jan 2009 08:46:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1498C1FDED; Sat, 31 Jan 2009 08:45:26 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11200-05; Sat, 31 Jan 2009 08:44:15 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B4E6B1FDD2; Sat, 31 Jan 2009 08:44:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5E3171FDD2 for ; Sat, 31 Jan 2009 08:44:14 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17349-01-2 for ; Sat, 31 Jan 2009 08:43:37 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 88D101FDD1 for ; Sat, 31 Jan 2009 08:43:37 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0V7ha1u001377 for ; Sat, 31 Jan 2009 08:43:37 +0100 Original-Received: by fg-out-1718.google.com with SMTP id e21so205668fga.8 for ; Fri, 30 Jan 2009 23:43:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=oyrQOw4CW5TC732BC7qM2vwtSWIF4W7IJBQHD2osSuo=; b=V28HyT1uP9GuD25OkCWqptFueEiE+Sbpw1mvox1jdCCufso/TsZn/J8Fy0K71XiMLM FFwD2SoGoXosL2lhAD5Dg+m/ilRST9aIDewGrcdZ1yTefKyknlVbP73WkE/VVFwi1f1Z +dIPYaFmIhGLb77aX9v8UK1ri595OQhgw3kIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=IZrNofK4ybBbSNn7zzPh+fbg3QgxU7C1eoJ7qOH1Lui6yndTKTf2v6THxVCFDbCMpQ v6m73zHuQJkqzQqw9H6DkrsMADGlTS2UxQF/Uac3y24t6p1KjudlDwcJ+xhakG7M+7yk QpbwoB/AmTfOHuPD51Eu9dSHUhZel6u6Gafmk= Original-Received: by 10.86.94.11 with SMTP id r11mr1086595fgb.11.1233387816459; Fri, 30 Jan 2009 23:43:36 -0800 (PST) Original-Received: from ?10.70.2.69? (8.106.113.82.net.de.o2.com [82.113.106.8]) by mx.google.com with ESMTPS id e11sm13294fga.40.2009.01.30.23.43.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 30 Jan 2009 23:43:35 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.159; 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: 173077132 - da50a69bcb61 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47129 Archived-At: Am 30.01.2009 um 13:13 schrieb Mohamed Bana: > i also have a question; why can't i use different fonts in > > \def\myCommand#1#2{{\ss\sc #1}{\rm\sc #2}{\ss\sc\bf #1}{\rm\sc\bf #2}} > \setuphead[part][command=\myCommand] > > the font commands are simply ignored. I don't want to have to > resort to using numberstyle and textstyle. You code works but the style and number/textstyle values act as part of #1 and #2 and you have to set them to nothing to get your own settings. \setuphead[part][command=\myCommand,style=] Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________