* Possible bug: definetextbackground and grid layout
@ 2014-04-04 21:17 Rik Kabel
2014-04-04 21:22 ` Rik Kabel
0 siblings, 1 reply; 6+ messages in thread
From: Rik Kabel @ 2014-04-04 21:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 677 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1608 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Possible bug: definetextbackground and grid layout
2014-04-04 21:17 Possible bug: definetextbackground and grid layout Rik Kabel
@ 2014-04-04 21:22 ` Rik Kabel
2014-04-04 21:48 ` Rik
2014-04-04 21:53 ` Rik Kabel
0 siblings, 2 replies; 6+ messages in thread
From: Rik Kabel @ 2014-04-04 21:22 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 903 bytes --]
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?
--
Rik
[-- Attachment #1.2: Type: text/html, Size: 2189 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Possible bug: definetextbackground and grid layout
2014-04-04 21:22 ` Rik Kabel
@ 2014-04-04 21:48 ` Rik
2014-04-04 21:53 ` Rik Kabel
1 sibling, 0 replies; 6+ messages in thread
From: Rik @ 2014-04-04 21:48 UTC (permalink / raw)
To: ntg-context
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Possible bug: definetextbackground and grid layout
2014-04-04 21:22 ` Rik Kabel
2014-04-04 21:48 ` Rik
@ 2014-04-04 21:53 ` Rik Kabel
2014-04-05 21:11 ` Thangalin
1 sibling, 1 reply; 6+ messages in thread
From: Rik Kabel @ 2014-04-04 21:53 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1185 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.
[-- Attachment #1.2: Type: text/html, Size: 2775 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Possible bug: definetextbackground and grid layout
2014-04-04 21:53 ` Rik Kabel
@ 2014-04-05 21:11 ` Thangalin
2014-04-05 21:39 ` Rik Kabel
0 siblings, 1 reply; 6+ messages in thread
From: Thangalin @ 2014-04-05 21:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
http://wiki.contextgarden.net/TextBackground
The first example works.
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Possible bug: definetextbackground and grid layout
2014-04-05 21:11 ` Thangalin
@ 2014-04-05 21:39 ` Rik Kabel
0 siblings, 0 replies; 6+ messages in thread
From: Rik Kabel @ 2014-04-05 21:39 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 600 bytes --]
On 2014-04-05 17:11, Thangalin wrote:
> http://wiki.contextgarden.net/TextBackground
>
> The first example works.
> ___________________________________________________________________________________
First, thank you for pointing to the documentation.
Second, the first example works as presented, but fails when the line
\setuplayout[grid=yes]
is added and it is run (with MKIV). It can be made to work by removing
either that line or one of the following two lines.
location=paragraph,
topoffset=.5\bodyfontsize,bottomoffset=.5\bodyfontsize,
That is my complaint.
--
Rik Kabel
[-- Attachment #1.2: Type: text/html, Size: 1232 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-04-05 21:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04 21:17 Possible bug: definetextbackground and grid layout Rik Kabel
2014-04-04 21:22 ` Rik Kabel
2014-04-04 21:48 ` Rik
2014-04-04 21:53 ` Rik Kabel
2014-04-05 21:11 ` Thangalin
2014-04-05 21:39 ` Rik Kabel
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).