From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74293 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \startstopcomment fails on latest beta Date: Fri, 3 Feb 2012 15:19:11 +0100 Message-ID: References: <878vkm8ky0.fsf@universe.krase.net> <4F2B1BEB.3080800@wxs.nl> <87k444i8jf.fsf@universe.krase.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328278789 29258 80.91.229.3 (3 Feb 2012 14:19:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2012 14:19:49 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 03 15:19:46 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 1RtJzN-0007l2-DA for gctc-ntg-context-518@m.gmane.org; Fri, 03 Feb 2012 15:19:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F326ACB206; Fri, 3 Feb 2012 15:19: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 zlvlk3bHgcPD; Fri, 3 Feb 2012 15:19:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EAB58CB1E4; Fri, 3 Feb 2012 15:19:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5FFB9CB1E4 for ; Fri, 3 Feb 2012 15:19:28 +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 h5hpD1wTchQU for ; Fri, 3 Feb 2012 15:19:17 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 89F6ACB1DA for ; Fri, 3 Feb 2012 15:19:17 +0100 (CET) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q13EJGHA008761 for ; Fri, 3 Feb 2012 15:19:16 +0100 Original-Received: by eaag11 with SMTP id g11so1645241eaa.14 for ; Fri, 03 Feb 2012 06:19:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=9cjEzA9rDqx2W8u6DKBiwMEWymCNxy+ODJAa1zAizWs=; b=TF2v4DMVFCwfLCxqKtHgrJSGQpJJZmqLIAL49wwyzTKoeZeg6miFBOQRIAz82exm91 yb+0QxBmO4hzubjkJA5KDurmsbq2Rn7lRNJJfYoy01yhDxuJbu3YqnCApxPFl+HFGW7l pz06E/ZNd9T0EEoODC3wJOxalpvPFSaq39oKk= Original-Received: by 10.213.4.71 with SMTP id 7mr1233148ebq.11.1328278756433; Fri, 03 Feb 2012 06:19:16 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFB5BD.dip.t-dialin.net. [87.175.181.189]) by mx.google.com with ESMTPS id t11sm22300633eea.10.2012.02.03.06.19.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Feb 2012 06:19:14 -0800 (PST) In-Reply-To: <87k444i8jf.fsf@universe.krase.net> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; 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: 07Gtqjgb7 - 9a7635f882d6 - 20120203 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:74293 Archived-At: Am 03.02.2012 um 10:13 schrieb Marco Pessotto: > This is better, as the compilation doesn't fail and the comment appears > as comment, but on the page there is a literal "[title=,]" (in the first > example) or "[title=commentname,]" in the second and third example. scrn-wid.mkvi \def\scrn_comment_start_indeed[#title][#settings]% {\bgroup \doifassignmentelse{#title} - {\setupcurrentcomment[\currentcomment][#title]} - {\setupcurrentcomment[\currentcomment][\c!title=#title,#settings]}% + {\setupcurrentcomment[#title]} + {\setupcurrentcomment[\c!title=#title,#settings]}% \def\scrn_comment_stop{\scrn_comment_inject\egroup}% \grabbufferdatadirect\v!comment{\e!start\currentcomment}{\e!stop\currentcomment}} @Hans: \scrn_comment_start_indeed is defined twice \def\scrn_comment_start_indeed {\doifelse{\commentparameter\c!state}\v!start {\scrn_comment_start_indeed} {\scrn_comment_start_ignore}} \def\scrn_comment_start_indeed[#title][#settings]% {\bgroup \doifassignmentelse{#title} {\setupcurrentcomment[\currentcomment][#title]} {\setupcurrentcomment[\currentcomment][\c!title=#title,#settings]}% \def\scrn_comment_stop{\scrn_comment_inject\egroup}% \grabbufferdatadirect\v!comment{\e!start\currentcomment}{\e!stop\currentcomment}} 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________