From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64535 Path: news.gmane.org!not-for-mail From: "Philipp A." Newsgroups: gmane.comp.tex.context Subject: Re: how to redefine section headers Date: Wed, 15 Dec 2010 00:29:18 +0100 Message-ID: References: <03D44923-190D-451F-A0AB-BBAFA48C01E4@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0864666232==" X-Trace: dough.gmane.org 1292369372 26192 80.91.229.12 (14 Dec 2010 23:29:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2010 23:29:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 15 00:29:28 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PSeJE-0003nT-1x for gctc-ntg-context-518@m.gmane.org; Wed, 15 Dec 2010 00:29:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C1482CA8F1; Wed, 15 Dec 2010 00:29:26 +0100 (CET) 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 Hw-1kNwNhCH0; Wed, 15 Dec 2010 00:29:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A387ACA8EA; Wed, 15 Dec 2010 00:29:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56BD2CA8EA for ; Wed, 15 Dec 2010 00:29:22 +0100 (CET) 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 gSMmf3dzYu7j for ; Wed, 15 Dec 2010 00:29:19 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id B457ECA8DA for ; Wed, 15 Dec 2010 00:29:19 +0100 (CET) Original-Received: from mail-bw0-f46.google.com (mail-bw0-f46.google.com [209.85.214.46]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBENTI8O004143 for ; Wed, 15 Dec 2010 00:29:19 +0100 Original-Received: by bwz15 with SMTP id 15so1526072bwz.5 for ; Tue, 14 Dec 2010 15:29:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=+xZNS+pi5xTYWOZngMjj2+fcRNy47R6CF61BMoj2L6g=; b=WqmnVZKXNDHURZuDLALOP3j2Kv8EoS+0Jvo9vgrFcFUb5RwV+KfUGQM0nPwAr/fyBf 3e9SFnQ1KsLmrK3ZMiodEEWDVGpNbfCB33J9JAZvJkCXGrcQliMpX1SvfLatEW0nrmdk 6SI3ILPdTLYDT3kIIjnl6ceDGAcg7Un9eWD5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=mp11wjFU3WlhHe6i6YtbZj9V+PuqAwXYIaY4xADNkdMPX3F9+GkgdNvAwQWao3avNr 6Xf1uE0BkbuS8+sngaCac3blYjJTs0xmpTOHmGzGh+LmNGy/obbp3Dgyf6tN1oWQqZSQ i8HDdVOjfw0DBo+RQTgvt4XOrsZz97VH7/L9E= Original-Received: by 10.204.65.1 with SMTP id g1mr6245823bki.21.1292369358620; Tue, 14 Dec 2010 15:29:18 -0800 (PST) Original-Received: by 10.204.71.13 with HTTP; Tue, 14 Dec 2010 15:29:18 -0800 (PST) In-Reply-To: <03D44923-190D-451F-A0AB-BBAFA48C01E4@gmail.com> X-Google-Sender-Auth: OHxayBTgTRdvKZmAHJU2namC9vs X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.46; 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: 0bDHbtiaD - 654fcde776c2 - 20101215 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:64535 Archived-At: --===============0864666232== Content-Type: multipart/alternative; boundary=0016e6dd96708a08a10497673047 --0016e6dd96708a08a10497673047 Content-Type: text/plain; charset=UTF-8 2010/12/14 Wolfgang Schuster > \setuplabeltext[de][aufgabe={Aufgabe ,}] > > \define[1]\TaskCommand > {\doifsomething{#1}{: #1}} > > \definehead[thetask][section] > > \setuphead > [thetask] > [style=sansbold, > bodypartlabel=aufgabe, > distance=0pt, > deeptextcommand=\TaskCommand] > > \definecomplexorsimpleempty\task > > \def\complextask[#1]{\thetask{#1}} > > \mainlanguage[de] > thank you very much! this is now officially my favoutite mailing list! best regards, philipp --0016e6dd96708a08a10497673047 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2010/12/14 Wolfgang Schuster &= lt;schuster.wolfgang@go= oglemail.com>
\setuplabeltext[de][aufgabe=3D{Aufgabe ,}]

\d= efine[1]\TaskCommand
=C2=A0=C2=A0{\doifsomething{#1}{: #1}}
=

\definehead[thetask][section]

= \setuphead
=C2=A0=C2=A0[thetask]
=C2=A0=C2=A0[style=3Dsansbold,
=C2=A0=C2=A0 bodypartlabel=3Daufgabe,
=C2=A0=C2=A0 distance=3D= 0pt,
=C2=A0=C2=A0 deeptextcommand=3D\TaskCommand]

<= /div>
\definecomplexorsimpleempty\task

\def\complextask[#1]{\thetask{#1}}

\mai= nlanguage[de]

thank you very much!

this = is now officially my favoutite mailing list!

best regards,
philip= p
--0016e6dd96708a08a10497673047-- --===============0864666232== 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 ___________________________________________________________________________________ --===============0864666232==--