From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80137 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Make annotations tolerant against empty lines Date: Mon, 7 Jan 2013 23:12:38 +0100 Message-ID: <9BD09721-BF88-4C95-A32C-371D38072C80@gmail.com> References: <20130107212555.GW11551@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357596767 11602 80.91.229.3 (7 Jan 2013 22:12:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2013 22:12:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 07 23:13:04 2013 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 1TsKwI-0000E6-0N for gctc-ntg-context-518@m.gmane.org; Mon, 07 Jan 2013 23:13:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56D64101EE; Mon, 7 Jan 2013 23:12:46 +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 2b3QbtBRLU2G; Mon, 7 Jan 2013 23:12:45 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 072FE10236; Mon, 7 Jan 2013 23:12:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 915B010236 for ; Mon, 7 Jan 2013 23:12:43 +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 8AfCM9Tx9gHm for ; Mon, 7 Jan 2013 23:12:37 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 8B784101EE for ; Mon, 7 Jan 2013 23:12:37 +0100 (CET) Original-Received: from mail-bk0-f42.google.com (mail-bk0-f42.google.com [209.85.214.42]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r07MCaM4014516 for ; Mon, 7 Jan 2013 23:12:36 +0100 Original-Received: by mail-bk0-f42.google.com with SMTP id ji2so8753708bkc.29 for ; Mon, 07 Jan 2013 14:12:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=N+9saWWRiYM4AqHqPgPcW5RwpfCwUP/CJEy0MF2nC2g=; b=vYodjrCaEW5c4yucatLbob/+/MKTVpbXGrfylt011M0bPVsBULWAQCxSXyj/MP66JC pqyYh7+PZQ4LTckq0lF7/nd4FNoiXCb03/tNwYEhNMYxuL70UN/L69w3MxSUrEC8pTYZ eIIvyVXibsJ19x9VqOpAq13kRbQqeaubaIQPA+x/rFMwUsNFhH+LrJbU/ewFQ1JVgLOG 97zuDD/I1R7BOLgwRCv1O8yU1t8fiFQjUGJRJz9BCJ57uzOxW8kS+EzRlL1Xu6kuLUsB QWrRDNtI1q9JehFCQuDRv7aAqWJYFOlQwnb5rZ9SZgsQ60SshI2fb3wyJ/p+G3kyXfq6 A5VA== X-Received: by 10.204.11.142 with SMTP id t14mr31467966bkt.9.1357596756095; Mon, 07 Jan 2013 14:12:36 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4d074adf.pool.mediaWays.net. [77.7.74.223]) by mx.google.com with ESMTPS id o7sm43935478bkv.13.2013.01.07.14.12.34 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Jan 2013 14:12:35 -0800 (PST) In-Reply-To: <20130107212555.GW11551@homerow> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.42; 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: 06IJacAgg - d59d58909a89 - 20130107 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80137 Archived-At: Am 07.01.2013 um 22:25 schrieb Marco Patzer : > Hi, > > if the first line after an annotation start is empty, a new line is > introduced. How can I make it tolerant so that the following both > examples come out equal (Content and the annotation text on the same > line)? I made a simple change in the module and the first line is now ignored (can be a side effect of stripping spaces at the begin/end of the content) but I want to run a few tests before I release it. Still I would try to avoid such input because there can be cases where such a input would fail because a empty line ends a paragraph. 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 ___________________________________________________________________________________