ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik <rik@panix.com>
To: ntg-context@ntg.nl
Subject: Re: Possible bug: definetextbackground and grid layout
Date: Fri, 04 Apr 2014 17:48:00 -0400	[thread overview]
Message-ID: <533F2890.6080700@panix.com> (raw)
In-Reply-To: <533F22AE.6080209@rik.users.panix.com>


[-- Attachment #1.1: Type: text/plain, Size: 1192 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2797 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2014-04-04 21:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-04 21:17 Rik Kabel
2014-04-04 21:22 ` Rik Kabel
2014-04-04 21:48   ` Rik [this message]
2014-04-04 21:53   ` Rik Kabel
2014-04-05 21:11     ` Thangalin
2014-04-05 21:39       ` Rik Kabel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=533F2890.6080700@panix.com \
    --to=rik@panix.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).