From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80127 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Make annotations tolerant against empty lines Date: Mon, 7 Jan 2013 22:25:55 +0100 Message-ID: <20130107212555.GW11551@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0411494833==" X-Trace: ger.gmane.org 1357593972 12105 80.91.229.3 (7 Jan 2013 21:26:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2013 21:26:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 07 22:26:28 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 1TsKD5-0006Qf-IH for gctc-ntg-context-518@m.gmane.org; Mon, 07 Jan 2013 22:26:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 199BC10258; Mon, 7 Jan 2013 22:26:04 +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 7lc5-BZlf5Y6; Mon, 7 Jan 2013 22:26:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BD822101EE; Mon, 7 Jan 2013 22:26:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 552EB101FD for ; Mon, 7 Jan 2013 22:26:01 +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 NEqryRW0H6a4 for ; Mon, 7 Jan 2013 22:26:00 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id A282D101EE for ; Mon, 7 Jan 2013 22:26:00 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r07LG69F027903 for ; Mon, 7 Jan 2013 22:16:07 +0100 Original-Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id B0C8D11BB68 for ; Mon, 7 Jan 2013 15:25:57 -0600 (CST) Original-Received: from homerow (83.68.239.193) by lavabit.com with ESMTP id DCB11QCNT471 for ; Mon, 07 Jan 2013 15:25:57 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=p9/Z/ENjHIkxrmtwdQ2V+XwCC3pidNq3B5qPzFtABr2NXWtK9NLtAo8Yhb0Mb7zHokIj7DkCUNtprUB+cym0ElvWKD6liMQBIqfwF9zf1gpBeQQKDxp07Y13XV3yx+x21MGShjO3VYY7LZFZ2dyQU99cc9Vj4wlUFCeE2LVRw5I=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:MIME-Version:Content-Type:Content-Disposition:User-Agent; Mail-Followup-To: mailing list for ConTeXt users User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.9962 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WIJ9g6MP - 03c75c502dd7 - 20130107 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:80127 Archived-At: --===============0411494833== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WjpOG6URjntW8FAF" Content-Disposition: inline --WjpOG6URjntW8FAF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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)? \usemodule [annotation] \defineannotation [myannotation] \setupannotation [myannotation] [alternative=myalternative] \defineannotationalternative [myalternative] [renderingsetup=annotation:myalternative] \startsetups [annotation:myalternative] Content: \placeannotationcontent \stopsetups \starttext \startmyannotation \input knuth \stopmyannotation \blank \startmyannotation \input knuth \stopmyannotation \stoptext Marco --WjpOG6URjntW8FAF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJQ6z1jAAoJEPGqVaNSn0iKrDYH/RlstmtPe2xffZvCN38NkJc8 r8q3Ql5v2mPtq/uhvKF95LaeCIfKOqJDW5uECJifagf+UMw2lX9SOR81gZYx0mot 26DMDwOGzdp837ck3SVqE67/xuJQQ4XoJp+pPjPxYk4rL2LjiM8f3pDpEdNuIyb8 /6DMI/hVJRWaeFjL3TzX1SXFlKL/1sK2PIU5YMrPOqYsBPMfmOm+q8lOKVlFwjRf a3XWbJKpw/jEDg7ABOj97gmQ90dko0cK8DstOrUThHcQsaLDi7V88iHdcZqD+Qx6 KwjxtaL7LwHtl/y7jnJHD4oZR+haC/1myjUuOPJwd/7WUC6cUhdzvZjofeJdTU4= =wlBC -----END PGP SIGNATURE----- --WjpOG6URjntW8FAF-- --===============0411494833== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0411494833==--