Re: [NTG-context] definelabel and TEXpage

2021-05-21 Thread Rik Kabel


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
___


Re: [NTG-context] definelabel and TEXpage

2021-05-20 Thread Wolfgang Schuster

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
___


[NTG-context] definelabel and TEXpage

2021-05-20 Thread Rik Kabel

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

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