From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73015 Path: news.gmane.org!not-for-mail From: "Philipp A." Newsgroups: gmane.comp.tex.context Subject: headers: numberconversion=something or \definestructureconversionset Date: Thu, 8 Dec 2011 11:21:51 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1194706182==" X-Trace: dough.gmane.org 1323339725 32719 80.91.229.12 (8 Dec 2011 10:22:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2011 10:22:05 +0000 (UTC) To: ConTeXt Mainling List Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 08 11:22:01 2011 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 1RYb73-00060c-1K for gctc-ntg-context-518@m.gmane.org; Thu, 08 Dec 2011 11:22:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE21ECB157; Thu, 8 Dec 2011 11:21:59 +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 4tJtP38-ltHn; Thu, 8 Dec 2011 11:21:57 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33F0BCB144; Thu, 8 Dec 2011 11:21:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8D4C8CB144 for ; Thu, 8 Dec 2011 11:21:55 +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 TZa-2C6JGhKN for ; Thu, 8 Dec 2011 11:21:53 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 4D424CB142 for ; Thu, 8 Dec 2011 11:21:53 +0100 (CET) Original-Received: from mail-pz0-f41.google.com (mail-pz0-f41.google.com [209.85.210.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB8ALppp029548 for ; Thu, 8 Dec 2011 11:21:52 +0100 Original-Received: by dakl33 with SMTP id l33so2091932dak.14 for ; Thu, 08 Dec 2011 02:21:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=h7sDx6YFgOWqQyQEQxQ1U1ZJkt46WZ87El397OM/leU=; b=eR070yQ/z62Fz8MuxbOqDnOmCVgsGHsNOXLfjtse7cTL1rpPBBuCil/uE0itFGAOzk yLbJ2++Pw/oMKwTmOu8vhUCs30VFUPh46jQRf3v0MHHGbjFTeclIr9t1Zr/ni8N/PqWB ikTCS/1QrbfT6cxVNPcTBP5kRvOigMUu+vk5o= Original-Received: by 10.68.20.73 with SMTP id l9mr14088548pbe.80.1323339711149; Thu, 08 Dec 2011 02:21:51 -0800 (PST) Original-Received: by 10.142.165.5 with HTTP; Thu, 8 Dec 2011 02:21:51 -0800 (PST) X-Google-Sender-Auth: ysy_2Q9gA7DdrmeQIEfoLobRtRY X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.41; 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: 0rG6ylQtH - ae92f82435d9 - 20111208 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:73015 Archived-At: --===============1194706182== Content-Type: multipart/alternative; boundary=bcaec521590d66753704b3920959 --bcaec521590d66753704b3920959 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hi list, i want to make an exercise sheet style. exercises are already correctly rendered as =E2=80=9C*Exercise <1>: *=E2=80=9D, but sub-exercises sho= uld simply be like =E2=80=9C*)*=E2=80=9D. what i tried: \definestructureconversionset[ex][numbers,characters][numbers] \setupheads[numberconversion=3Dex] and \setuphead[subsection][numberconversion=3Dcharacters, =E2=80=A6] but i have no idea what i=E2=80=99m doing in the first case and even less i= dea of what i=E2=80=99m doing wrong in the second. documentation would help in both cases, but contextgarden just has some (for me) incomprehensible examples. thanks, philipp ------------------------------ what i=E2=80=99d really love to have is the following commands, but i=E2=80= =99ll figure it out once i have above problem solved. =E2=80=9C\sheet=E2=80=9D reads the current sheet number from the file name = and gives =E2=80=9C*Sheet <1>*=E2=80=9D as title level header. =E2=80=9C\exercise[]=E2=80=9D gives =E2=80=9C*Exercise <1>*=E2=80=9D= without and =E2=80=9C*Exercise <1>: *=E2=80=9D as section level header. =E2=80=9C\subexercise[]=E2=80=9D gives =E2=80=9C*)*=E2=80=9D with= out and =E2=80=9C*: )*=E2=80=9D with description as subsection level header. --bcaec521590d66753704b3920959 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hi list,

i want to make an exercise sheet style. exercises are alrea= dy correctly rendered as =E2=80=9CExercise <1>: <Text>= =E2=80=9D, but sub-exercises should simply be like =E2=80=9C<a>)=E2=80=9D.

what i tried:

\definestructureconversionset[ex][num= bers,characters][numbers]
\setupheads[numberconversion=3Dex]
and

\setuphead[subsection][numbe= rconversion=3Dcharacters, =E2=80=A6]

but i have no idea what i=E2=80=99m doing in the first case and e= ven less idea of what i=E2=80=99m doing wrong in the second.

documen= tation would help in both cases, but contextgarden just has some (for me) i= ncomprehensible examples.

thanks,
philipp



what i=E2=80=99d really love to have = is the following commands, but i=E2=80=99ll figure it out once i have above= problem solved.

=E2=80=9C\sheet=E2=80=9D reads the current sheet nu= mber from the file name and gives =E2=80=9CSheet <1>=E2=80=9D = as title level header.
=E2=80=9C\exercise[<descr>]=E2=80=9D gives =E2=80=9CExercise <1= >=E2=80=9D without and =E2=80=9CExercise <1>: <descr>= =E2=80=9D as section level header.
=E2=80=9C\subexercise[<descr&g= t;]=E2=80=9D gives =E2=80=9C<a>)=E2=80=9D without and =E2=80= =9C<a>: <descr>)=E2=80=9D with description as subsection= level header.
--bcaec521590d66753704b3920959-- --===============1194706182== 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 ___________________________________________________________________________________ --===============1194706182==--