Re: [NTG-context] referenceformat, text
Hans Hagen wrote: On 9-8-2010 12:22, Yury G. Kudryashov wrote: \NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in {left}{right}[x] \NC \NR I see no left or right in the first string in PDF output. Just 1\t1\t1\t1. sure, as \in has no left and right (nor a setup) Yes, but \in{left}{right}[x] has left and right but I don't see them in the output. ___ 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] referenceformat, text
On 9-8-2010 9:17, Yury G. Kudryashov wrote: Hans Hagen wrote: On 9-8-2010 12:22, Yury G. Kudryashov wrote: \NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in {left}{right}[x] \NC \NR I see no left or right in the first string in PDF output. Just 1\t1\t1\t1. sure, as \in has no left and right (nor a setup) Yes, but \in{left}{right}[x] has left and right but I don't see them in the output. i see them here so maybe your update went wrong 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 ___
Re: [NTG-context] referenceformat, text
Hans Hagen wrote: On 9-8-2010 9:17, Yury G. Kudryashov wrote: Hans Hagen wrote: On 9-8-2010 12:22, Yury G. Kudryashov wrote: \NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in {left}{right}[x] \NC \NR I see no left or right in the first string in PDF output. Just 1\t1\t1\t1. sure, as \in has no left and right (nor a setup) Yes, but \in{left}{right}[x] has left and right but I don't see them in the output. i see them here so maybe your update went wrong I don't see them in a fresh install. Probably you have some uncomitted stuff. ___ 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] referenceformat, text
On 8-8-2010 2:44, Yury G. Kudryashov wrote: Hi! The following code: \definereferenceformat[lem][text=Lemma] \inlem[lem:mylemma] produces just a number, no Lemma prefix. I've sent a patch to fix it a while ago. Could you please apply it, or tell me why you don't want to apply it? because it needs another patch, i'll look at it - 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 ___
Re: [NTG-context] referenceformat, text
Hans Hagen wrote: On 8-8-2010 2:44, Yury G. Kudryashov wrote: Hi! The following code: \definereferenceformat[lem][text=Lemma] \inlem[lem:mylemma] produces just a number, no Lemma prefix. I've sent a patch to fix it a while ago. Could you please apply it, or tell me why you don't want to apply it? because it needs another patch, i'll look at it It applies with some shift (GNU patch resolves this automatically), and works here. ___ 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] referenceformat, text
On 8-8-2010 7:19, Yury G. Kudryashov wrote: Hans Hagen wrote: On 8-8-2010 2:44, Yury G. Kudryashov wrote: Hi! The following code: \definereferenceformat[lem][text=Lemma] \inlem[lem:mylemma] produces just a number, no Lemma prefix. I've sent a patch to fix it a while ago. Could you please apply it, or tell me why you don't want to apply it? because it needs another patch, i'll look at it It applies with some shift (GNU patch resolves this automatically), and works here. this is only one case (we also need labels, content, left and right to work ok) - 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 ___
Re: [NTG-context] referenceformat, text
Hans Hagen wrote: On 8-8-2010 7:19, Yury G. Kudryashov wrote: Hans Hagen wrote: On 8-8-2010 2:44, Yury G. Kudryashov wrote: Hi! The following code: \definereferenceformat[lem][text=Lemma] \inlem[lem:mylemma] produces just a number, no Lemma prefix. I've sent a patch to fix it a while ago. Could you please apply it, or tell me why you don't want to apply it? because it needs another patch, i'll look at it It applies with some shift (GNU patch resolves this automatically), and works here. this is only one case (we also need labels, content, left and right to work ok) At least left and right work ok without any patch. ___ 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] referenceformat, text
On 8-8-2010 7:40, Yury G. Kudryashov wrote: this is only one case (we also need labels, content, left and right to work ok) I uploaded a beta that handles the following as intended. \starttext \definereferenceformat [intesta] [left=(,right=),text=Whatever~] \definereferenceformat [intestb] [left=(,right=),label=figure] \placeformula[x]\startformula a \stopformula \starttabulate[|] \NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in {left}{right}[x] \NC \NR \NC \intesta[x] \NC \intesta{left}[x] \NC \intesta{}{right}[x] \NC \intesta{left}{right}[x] \NC \NR \NC \intestb[x] \NC \intestb{left}[x] \NC \intestb{}{right}[x] \NC \intestb{left}{right}[x] \NC \NR \stoptabulate \stoptext - 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 ___
Re: [NTG-context] referenceformat, text
Am 09.08.10 00:22, schrieb Yury G. Kudryashov: I see no left or right in the first string in PDF output. Just 1\t1\t1\t1. Try it again later, it takes always a while till the beta is in the minimals. Other strings work as expected except for ~ in text= field. In the earlier versions ~ was inserted automatically. For example, http://wiki.contextgarden.net/References suggests \definereferenceformat[insec][text=section] Am I right that the main difference between text and label (in the new version) is that context automatically uppercases label and adds ~ after it? No, the label key takes whatever you set with \setuplabeltext[language][figure=...] and in the default value for figure is 'Figure ' with a space after the string. 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] referenceformat, text
On 9-8-2010 12:22, Yury G. Kudryashov wrote: \NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in {left}{right}[x] \NC \NR I see no left or right in the first string in PDF output. Just 1\t1\t1\t1. sure, as \in has no left and right (nor a setup) - 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 ___