From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75892 Path: news.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.comp.tex.context Subject: Seems `\definedescription' do not work Date: Sun, 29 Apr 2012 15:48:45 +0900 Message-ID: <20120429064845.GF1360@smoon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1335682138 1132 80.91.229.3 (29 Apr 2012 06:48:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2012 06:48:58 +0000 (UTC) To: General mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 29 08:48:57 2012 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 1SONwG-0002QO-Io for gctc-ntg-context-518@m.gmane.org; Sun, 29 Apr 2012 08:48:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35F84101E6; Sun, 29 Apr 2012 08:48:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8QW1UHq-L7YE; Sun, 29 Apr 2012 08:48:53 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 949F7101E8; Sun, 29 Apr 2012 08:48:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4C73101E8 for ; Sun, 29 Apr 2012 08:48:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Jn0qK1p5OaKT for ; Sun, 29 Apr 2012 08:48:51 +0200 (CEST) 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 EEFD6101E6 for ; Sun, 29 Apr 2012 08:48:50 +0200 (CEST) Original-Received: from mail-lpp01m010-f41.google.com (mail-lpp01m010-f41.google.com [209.85.215.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q3T6mnfG017795 for ; Sun, 29 Apr 2012 08:48:50 +0200 Original-Received: by lagz14 with SMTP id z14so1865750lag.14 for ; Sat, 28 Apr 2012 23:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; bh=1SgYkZ4v0XXWQoD7fhL23qRj7lKommDcUzH85j/rRy0=; b=FL+Zq8BbY6Eikr/5pHA6b9ptRl9/xH84CgbeF1afIUwPw9EYvtO60x78ROf57RjMYh kXnlEbhdYyq+Tm2Xo75VGyG/Nn4ELdgAVWLoV1yPZdUn5EiqX19K9p4ZwquCcIp87KQP wVK6UQXGVQjfO+KeBxIOY+x8AJ1TZAYBLVHhBmz50HueDggwEZj1Z+WN2/sG+Gv35ZdW 2HFLZN5iif9UXJM1MCGfzZb74zekJLXV4DEE83KQIe5JqA7BdVdq1DQIYpcPBOcL64jg YnQ7ofR9Qoy1sR6+rKUew3QPpyWPWRDZPtJlZCVOHELH213hFmJfC9TtY+sczZE1LS/p mXLQ== Original-Received: by 10.152.146.163 with SMTP id td3mr2828623lab.25.1335682129214; Sat, 28 Apr 2012 23:48:49 -0700 (PDT) Original-Received: from smoon ([141.105.33.55]) by mx.google.com with ESMTPS id py12sm12348947lab.4.2012.04.28.23.48.48 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 Apr 2012 23:48:48 -0700 (PDT) Mail-Followup-To: Vladimir Lomov , General mailing list for ConTeXt users Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.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: 0TH3GMNQ8 - 35778bf51800 - 20120429 (trained as not-spam) 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:75892 Archived-At: Hello, I borrow this example from wiki: %\setupbodyfont[computer-modern-unicode,12pt] \definedescription [Desc] [location=top,hang=20, headstyle={\bf\color[blue]}, command=\hskip-1cm,margin=1cm] \starttext \startDesc{Tufte} \input tufte \stopDesc \stoptext but context can't compile it: mtx-context | run 1: luatex --fmt="/usr/local/opt/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/usr/local/opt/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./ex2.tex" \stoptext This is LuaTeX, Version beta-0.70.1-2011051918 (rev 4277) \write18 enabled. (ex2.tex ConTeXt ver: 2012.04.26 22:27 MKIV fmt: 2012.4.28 int: english/english system > cont-new.mkiv loaded (/usr/local/opt/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > ex2.top loaded (ex2.top) fonts > latin modern fonts are not preloaded languages > language en is active {/usr/local/opt/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) fonts > typescripts > unknown: library 'loc' {/usr/local/opt/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/local/opt/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded ! Missing } inserted. system > tex > error on line 11 in file ex2.tex: Missing ... 1 %\setupbodyfont[computer-modern-unicode,12pt] 2 3 \definedescription 4 [Desc] 5 [location=top,hang=20, 6 headstyle={\bf\color[blue]}, 7 command=\hskip-1cm,margin=1cm] 8 9 \starttext 10 \startDesc{Tufte} 11 >> \input tufte 12 \stopDesc 13 \stoptext 14 } \endgroup \currentconstructiontext ...ionhandler \endcsname \endstrut \144>construction ... \currentconstructionsample } }\assignwidth {\constructi... \dodogotopar ...andler \v!construction \endcsname \BeforePar \emptytoks \input l.11 \input tufte ? Do I miss something? --- WBR, Vladimir Lomov -- The time was the 19th of May, 1780. The place was Hartford, Connecticut. The day has gone down in New England history as a terrible foretaste of Judgement Day. For at noon the skies turned from blue to grey and by mid-afternoon had blackened over so densely that, in that religious age, men fell on their knees and begged a final blessing before the end came. The Connecticut House of Representatives was in session. And, as some of the men fell down and others clamored for an immediate adjournment, the Speaker of the House, one Col. Davenport, came to his feet. He silenced them and said these words: "The day of judgment is either approaching or it is not. If it is not, there is no cause for adjournment. If it is, I choose to be found doing my duty. I wish therefore that candles may be brought." -- Alistair Cooke ___________________________________________________________________________________ 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 ___________________________________________________________________________________