From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63600 Path: news.gmane.org!not-for-mail From: Herbert Voss Newsgroups: gmane.comp.tex.context Subject: \definehead -- latest minimal Date: Wed, 17 Nov 2010 13:59:35 +0100 Organization: Freie =?UTF-8?B?VW5pdmVyc2l0w6R0IEJlcmxpbg==?= Message-ID: <4CE3D1B7.7030801@FU-Berlin.DE> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289998790 28980 80.91.229.12 (17 Nov 2010 12:59:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2010 12:59:50 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 17 13:59:45 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 1PIhc0-0001xl-Kv for gctc-ntg-context-518@m.gmane.org; Wed, 17 Nov 2010 13:59:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6BE33CA84D; Wed, 17 Nov 2010 13:59:44 +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 Q9N78ynWNd9N; Wed, 17 Nov 2010 13:59:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7DDECA84F; Wed, 17 Nov 2010 13:59:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 22CBECA84D for ; Wed, 17 Nov 2010 13:59:39 +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 DrAKkJ4Bqp+l for ; Wed, 17 Nov 2010 13:59:37 +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 24916CA84E for ; Wed, 17 Nov 2010 13:59:37 +0100 (CET) Original-Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAHCxaRZ022424 for ; Wed, 17 Nov 2010 13:59:36 +0100 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtp (envelope-from ) id <1PIhbs-00053P-Em>; Wed, 17 Nov 2010 13:59:36 +0100 Original-Received: from p54bfbc50.dip.t-dialin.net ([84.191.188.80] helo=[192.168.1.12]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtpsa (envelope-from ) id <1PIhbs-0007UM-6c>; Wed, 17 Nov 2010 13:59:36 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.15) Gecko/20101026 SUSE/3.0.10 Thunderbird/3.0.10 X-Originating-IP: 84.191.188.80 X-Bayes-Prob: 0.4554 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=130.133.4.66; country=DE; region=16; city=Berlin; latitude=52.5167; longitude=13.4000; http://maps.google.com/maps?q=52.5167,13.4000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDwcXA1i - faa4af98dc95 - 20101117 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:63600 Archived-At: doesn't work with mkiv \definehead[SSEC][subsection] \starttext foo \stoptext ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-mar.lua:171: attempt to index global 'setting' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/strc-mar.lua:171: in function 'define'
:1: in main chunk. ...e("SSEC",{ parent = "subsection" })} \getparameters [\??mk SSEC... \secondoftwoarguments #1#2->#2 ...n]\definemarking [SSEC] [subsection] \definemarking [SSEC\v!num... \secondoftwoarguments #1#2->#2 \dodefineclonedstructurehead ...!prefix =\v!no ]}} \the \everystructureheadse... \next1 ...dododefinestructurehead {subsection}{#1} \doprocesscommaitem ... l.1 \definehead[SSEC][subsection] Herbert ___________________________________________________________________________________ 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 ___________________________________________________________________________________