From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74294 Path: news.gmane.org!not-for-mail From: Marco Pessotto Newsgroups: gmane.comp.tex.context Subject: Re: \startstopcomment fails on latest beta Date: Fri, 03 Feb 2012 15:54:38 +0100 Message-ID: <871uqchsr5.fsf@universe.krase.net> 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328280932 13897 80.91.229.3 (3 Feb 2012 14:55:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2012 14:55:32 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 03 15:55:31 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 1RtKXp-000202-LM for gctc-ntg-context-518@m.gmane.org; Fri, 03 Feb 2012 15:55:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8E6BECB1EF; Fri, 3 Feb 2012 15:55:20 +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 MbwGF4jygrqX; Fri, 3 Feb 2012 15:55:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19884CB1E4; Fri, 3 Feb 2012 15:55:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA3D2CB1E4 for ; Fri, 3 Feb 2012 15:55:13 +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 O9kpAGuUd0Cc for ; Fri, 3 Feb 2012 15:54:59 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 0F085CB1DA for ; Fri, 3 Feb 2012 15:54:59 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q13EsvbJ005801 for ; Fri, 3 Feb 2012 15:54:57 +0100 Original-Received: by eekc13 with SMTP id c13so1331221eek.14 for ; Fri, 03 Feb 2012 06:54:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Zu1MZcRvagmHySm57VWZReXFEipdblOUjpffpZ9Bj5w=; b=Q36EDbouxlo5ZCM0a6CG1/PSWh9o+03Fr6yBBy6AmSJdrRtnpH0cwj82WzJ9yvuzFk REfqjaDL1dGQZR9CbupRnyTAvpRtGCwontEg1bNKR9/OjqBr2Ct31jRfLTR7RpMfuq76 E50ij2FaHFt6gCpACh9J3HHuCisWnXMFUr54c= Original-Received: by 10.14.35.73 with SMTP id t49mr2353388eea.84.1328280897404; Fri, 03 Feb 2012 06:54:57 -0800 (PST) Original-Received: from localhost (93-137-142-195.adsl.net.t-com.hr. [93.137.142.195]) by mx.google.com with ESMTPS id b3sm22709200een.2.2012.02.03.06.54.52 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Feb 2012 06:54:55 -0800 (PST) In-Reply-To: (Wolfgang Schuster's message of "Fri, 3 Feb 2012 15:19:11 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.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: 0cGtqSVpA - efb92fc2522a - 20120203 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:74294 Archived-At: Wolfgang Schuster writes: > 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}} > Tested and works like a charm. Thanks a lot. Best wishes -- Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________