From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86908 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: Possible bug: definetextbackground and grid layout Date: Fri, 04 Apr 2014 17:53:58 -0400 Message-ID: <533F29F6.1070107@rik.users.panix.com> References: <533F2166.6050802@rik.users.panix.com> <533F22AE.6080209@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0921475668==" X-Trace: ger.gmane.org 1396648485 19402 80.91.229.3 (4 Apr 2014 21:54:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2014 21:54:45 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 04 23:54:41 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WWC4M-0007Ew-HS for gctc-ntg-context-518@m.gmane.org; Fri, 04 Apr 2014 23:54:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 317E510242 for ; Fri, 4 Apr 2014 23:54:38 +0200 (CEST) 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 Tp2e6OPpT7jU for ; Fri, 4 Apr 2014 23:54:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id ECE7E101E8 for ; Fri, 4 Apr 2014 23:54:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2F7F8101E6 for ; Fri, 4 Apr 2014 23:54:28 +0200 (CEST) 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 WuE7s0aorSg4 for ; Fri, 4 Apr 2014 23:54:26 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 7387A101E1 for ; Fri, 4 Apr 2014 23:54:16 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s34Ls9Cc005778 for ; Fri, 4 Apr 2014 23:54:15 +0200 Original-Received: from [192.168.201.179] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id B43632E5A1 for ; Fri, 4 Apr 2014 17:54:08 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: <533F22AE.6080209@rik.users.panix.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QLJVS9SJ - e5d8b6ea0cb0 - 20140404 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:86908 Archived-At: This is a multi-part message in MIME format. --===============0921475668== Content-Type: multipart/alternative; boundary="------------050201060103070204090405" This is a multi-part message in MIME format. --------------050201060103070204090405 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2014-04-04 17:22, Rik Kabel wrote: > On 2014-04-04 17:17, Rik Kabel wrote: >> The following example fails to compile, complaining "Missing { inserted." >> >> It compiles cleanly if one or more of the three marked lines are >> removed. >> >> This is the case with TL2013 and with recent standalone beta >> versions. I do not know if it ever worked. >> >> \setuplayout [grid=yes]% line one >> \definetextbackground[TB][ >> topoffset=.25em,bottomoffset=.25em,% line two >> location=paragraph,% line three >> ] >> \starttext >> \startTB >> prisca iuvent alios ego me nunc denique natum gratulor: haec >> aetas moribus apta meis. >> \stopTB >> \stoptext >> >> -- >> Rik >> > > Sorry for the noise. It needs alternative= instead of location= in the > textbackground definition. > > Where can we find the command description? > Perhaps I retracted too quickly. The background is not placed with alternative=paragraph. It looks like all I did using that was to remove one of the three problem lines. To be clear, this is an issue with MKIV. --------------050201060103070204090405 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 2014-04-04 17:22, Rik Kabel wrote:
On 2014-04-04 17:17, Rik Kabel wrote:
The following example fails to compile, complaining “Missing { inserted.”

It compiles cleanly  if one or more of the three marked lines are removed.

This is the case with TL2013 and with recent standalone beta versions. I do not know if it ever worked.

\setuplayout   [grid=yes]%                            line one
\definetextbackground[TB][
                 topoffset=.25em,bottomoffset=.25em,% line two
                 location=paragraph,%                 line three
                ]
\starttext
\startTB
  prisca iuvent alios ego me nunc denique natum gratulor: haec
  aetas moribus apta meis.
\stopTB
\stoptext
--
Rik


Sorry for the noise. It needs alternative= instead of location= in the textbackground definition.

Where can we find the command description?

Perhaps I retracted too quickly. The background is not placed with alternative=paragraph. It looks like all I did using that was to remove one of the three problem lines.

To be clear, this is an issue with MKIV.
--------------050201060103070204090405-- --===============0921475668== 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 ___________________________________________________________________________________ --===============0921475668==--