Re: [NTG-context] definelabel and TEXpage
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
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
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 ___
[NTG-context] definelabel not working as previously on ConTeXt ver: 2018.08.19 12:52
With the latest beta, labels do not work for me. With the following code: \definelabel[Q] \starttext Label: \Q[abc] Label: see \in[abc]. Reference: \reference[def]{2} Reference: see \in[def]. \stoptext I get: and the log states: references > unknown reference '[][abc]' while with tl18, I get the 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 ___
[NTG-context] \definelabel -- location
The documentation has an example for placing a label in the margin, but it doesn't work, it is still in the text: \definelabel[video][text=Video,location=inmargin] \starttext The label\video\ (Video 1) is not in the margin \stoptext or did I misunderstand the meaning of location? current minimal Herbert ___ 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 ___
Re: [NTG-context] \definelabel
On 3/31/2014 4:55 PM, Herbert Voss wrote: Hi all, this worked some time ago: \definelabel[video][text=Video,location=inmargin] \starttext \video foo \nextvideo bar \currentvideo[video1] baz \page see \at[video1]. \incrementvideo \video foobar \resetvideo \video foobarbaz \stoptext now \currentvideo and \incrementvideo are undefined in mkii labels were also used for some mechanisms but that has changed which is why i rmeoved some of these auto-generated commands in fact, \current* is somewhat dangerous as there can be other \current's already i've added the current one for labels but increment is the same as next so that one is gone \incrementcounter[video] \decrementcounter[video] are of course also there Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
[NTG-context] \definelabel
Hi all, this worked some time ago: \definelabel[video][text=Video,location=inmargin] \starttext \video foo \nextvideo bar \currentvideo[video1] baz \page see \at[video1]. \incrementvideo \video foobar \resetvideo \video foobarbaz \stoptext now \currentvideo and \incrementvideo are undefined Herbert ___ 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 ___