ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* definelabel and TEXpage
@ 2021-05-21  2:31 Rik Kabel
  2021-05-21  4:16 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Rik Kabel @ 2021-05-21  2:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

In the following example:

    \definelabel[BB][alternative=inright,headcolor=red,text=]
    \startTEXpage
    Where is the label?\BB
    \stopTEXpage

The label is not displayed if a TEXpage is used, but if the start/stop 
is changed to starttext/stoptext, all is well.

Is this expected?

-- 
Rik


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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: definelabel and TEXpage
  2021-05-21  2:31 definelabel and TEXpage Rik Kabel
@ 2021-05-21  4:16 ` Wolfgang Schuster
  2021-05-21 13:56   ` Rik Kabel
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2021-05-21  4:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Rik Kabel schrieb am 21.05.2021 um 04:31:
> In the following example:
> 
>     \definelabel[BB][alternative=inright,headcolor=red,text=]
>     \startTEXpage
>     Where is the label?\BB
>     \stopTEXpage
> 
> The label is not displayed if a TEXpage is used, but if the start/stop 
> is changed to starttext/stoptext, all is well.
> 
> Is this expected?

Yes this is normal because a TEXPage has no margin areas.

\showframe

\starttext

\blackrule[width=\hsize,height=\vsize,color=green]

\startTEXpage[width=\paperwidth,height=\paperheight]
\blackrule[width=\hsize,height=\vsize,color=orange]
\stopTEXpage

\stoptext

Wolfgang
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: definelabel and TEXpage
  2021-05-21  4:16 ` Wolfgang Schuster
@ 2021-05-21 13:56   ` Rik Kabel
  0 siblings, 0 replies; 3+ messages in thread
From: Rik Kabel @ 2021-05-21 13:56 UTC (permalink / raw)
  To: ntg-context


On 5/21/2021 00:16, Wolfgang Schuster wrote:
> Rik Kabel schrieb am 21.05.2021 um 04:31:
>> In the following example:
>>
>>     \definelabel[BB][alternative=inright,headcolor=red,text=]
>>     \startTEXpage
>>     Where is the label?\BB
>>     \stopTEXpage
>>
>> The label is not displayed if a TEXpage is used, but if the 
>> start/stop is changed to starttext/stoptext, all is well.
>>
>> Is this expected?
>
> Yes this is normal because a TEXPage has no margin areas.
>
> \showframe
>
> \starttext
>
> \blackrule[width=\hsize,height=\vsize,color=green]
>
> \startTEXpage[width=\paperwidth,height=\paperheight]
> \blackrule[width=\hsize,height=\vsize,color=orange]
> \stopTEXpage
>
> \stoptext
>
> Wolfgang
>

Indeed, and I would have seen this if I had not used the inright 
alternative.

Sorry for the noise.

-- 
Rik

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-21 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21  2:31 definelabel and TEXpage Rik Kabel
2021-05-21  4:16 ` Wolfgang Schuster
2021-05-21 13:56   ` 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).