From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86907 Path: news.gmane.org!not-for-mail From: Rik Newsgroups: gmane.comp.tex.context Subject: Re: Possible bug: definetextbackground and grid layout Date: Fri, 04 Apr 2014 17:48:00 -0400 Message-ID: <533F2890.6080700@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="===============1364000208==" X-Trace: ger.gmane.org 1396648122 14797 80.91.229.3 (4 Apr 2014 21:48:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2014 21:48:42 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 04 23:48:37 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 1WWByX-0002BG-NQ for gctc-ntg-context-518@m.gmane.org; Fri, 04 Apr 2014 23:48:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46A8F10229 for ; Fri, 4 Apr 2014 23:48:37 +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 Apr5FYRlX9Ga for ; Fri, 4 Apr 2014 23:48:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 524F510220 for ; Fri, 4 Apr 2014 23:48:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 05F7B101E6 for ; Fri, 4 Apr 2014 23:48: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 Co7a593fC7w3 for ; Fri, 4 Apr 2014 23:48:26 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 5CFC9101E1 for ; Fri, 4 Apr 2014 23:48:16 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s34LmEhY017079 for ; Fri, 4 Apr 2014 23:48: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 ECD1E2ED73 for ; Fri, 4 Apr 2014 17:48:13 -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: 0TLJVMefH - 5b81bade3516 - 20140404 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:86907 Archived-At: This is a multi-part message in MIME format. --===============1364000208== Content-Type: multipart/alternative; boundary="------------040501060506090409000907" This is a multi-part message in MIME format. --------------040501060506090409000907 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. -- Rik --------------040501060506090409000907 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.

--
Rik
--------------040501060506090409000907-- --===============1364000208== 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 ___________________________________________________________________________________ --===============1364000208==--