Re: [NTG-context] unsetting textstyle for one synonym
Peter Münster wrote: > Hello, > > how could I cancel the textstyle=cap for just one synonym? > Here an example to show what I want: > > \definesynonyms[Test][Tests][\Full] > \setupsynonyms[Test][textstyle=cap] > \Test{BLA}{This is B.L.A.} > %\Test[CONTEXT]{{\nocap{\ConTeXt}}}{This is \ConTeXt}% does not work > %\Test[CONTEXT]{{\tf\ConTeXt}}{This is \ConTeXt}% does not work > \starttext > \BLA\ and \CONTEXT. > \stoptext > > Greetings, Peter > > \definealternativestyle[xxx][\cap][\bf] \setupsorting[logo][style=xxx] \logo[TEST]{Test} \starttext \title{Test \TEST} test \TEST test {\dontconvertfont \TEST} \stoptext -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] unsetting textstyle for one synonym
On Thu, 3 May 2007, Aditya Mahajan wrote: > \nocap ... for example > > \def\test > {\cap{This is cap \nocap{this is no cap} this is cap}} > \starttext > > {\bf \test} > > {\ss \test} > > \stoptext Try this: \def\test {\cap{This is cap \nocap{THIS is no cap} this is cap}} "THIS" gets lower cased... Peter -- http://pmrb.free.fr/contact/ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] unsetting textstyle for one synonym
On Thu, 3 May 2007, Peter M??nster wrote: On Thu, 3 May 2007, Wolfgang Schuster wrote: \Test[Foo]{FOO}{Say foo to me.} \def\FOO{FOO\setbox\scratchbox\hbox{\Foo}} Nice, thanks! Nevertheless, here a little feature request: \cap{this is cap \unsetcap{this is normal} this is cap again} \nocap ... for example \def\test {\cap{This is cap \nocap{this is no cap} this is cap}} \starttext {\bf \test} {\ss \test} \stoptext Aditya___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] unsetting textstyle for one synonym
On Thu, 3 May 2007, Wolfgang Schuster wrote: > \Test[Foo]{FOO}{Say foo to me.} > \def\FOO{FOO\setbox\scratchbox\hbox{\Foo}} Nice, thanks! Nevertheless, here a little feature request: \cap{this is cap \unsetcap{this is normal} this is cap again} just as: {\bf this is bold {\tf this is normal} again bold} Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] unsetting textstyle for one synonym
2007/4/29, Peter Münster <[EMAIL PROTECTED]>: > Hello, > > how could I cancel the textstyle=cap for just one synonym? > Here an example to show what I want: > > \definesynonyms[Test][Tests][\Full] > \setupsynonyms[Test][textstyle=cap] > \Test{BLA}{This is B.L.A.} \Test[Foo]{FOO}{Say foo to me.} \def\FOO{FOO\setbox\scratchbox\hbox{\Foo}} > %\Test[CONTEXT]{{\nocap{\ConTeXt}}}{This is \ConTeXt}% does not work > %\Test[CONTEXT]{{\tf\ConTeXt}}{This is \ConTeXt}% does not work > \starttext > \BLA\ and \CONTEXT. \BLA\ and \FOO. \completelistofTests > \stoptext > > Greetings, Peter 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] unsetting textstyle for one synonym
On Sun, 29 Apr 2007, Aditya Mahajan wrote: > I think I completely misunderstood what you want. This works for me, > that is, "context" is not capitalized. All right. So here in other words, what I'm looking for: How can I disable the textstyle=cap setting for just one synonym? Of course I could hack a big workaround, but first I would like to know, if there is an easy and clean way to achieve this. Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] unsetting textstyle for one synonym
On Sun, 29 Apr 2007, Peter Münster wrote: > On Sun, 29 Apr 2007, Aditya Mahajan wrote: > >> Did you try (untested) >> >> \Test[CONTEXT] {\nocap{context}} {This is \ConTeXt} > > Yes, now I've tried it and it does not work, but why should this work?? I think I completely misunderstood what you want. This works for me, that is, "context" is not capitalized. \definesynonyms[Test][Tests][\Full] \setupsynonyms[Test][textstyle=cap] \Test{BLA}{This is B.L.A.} \Test[CONTEXT]{\nocap{context}}{This is \ConTeXt} \starttext \BLA\ and \CONTEXT. \Full{BLA} and \Full{CONTEXT} \stoptext Aditya ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] unsetting textstyle for one synonym
On Sun, 29 Apr 2007, Aditya Mahajan wrote: > Did you try (untested) > > \Test[CONTEXT] {\nocap{context}} {This is \ConTeXt} Yes, now I've tried it and it does not work, but why should this work?? Here another try, that gives me an error: \Test[CONTEXT]{{\setupsynonyms[Test][textstyle=]\ConTeXt}}{% This is \ConTeXt}% does not work Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] unsetting textstyle for one synonym
On Sun, 29 Apr 2007, Peter Münster wrote: > Hello, > > how could I cancel the textstyle=cap for just one synonym? > Here an example to show what I want: > > \definesynonyms[Test][Tests][\Full] > \setupsynonyms[Test][textstyle=cap] > \Test{BLA}{This is B.L.A.} > %\Test[CONTEXT]{{\nocap{\ConTeXt}}}{This is \ConTeXt}% does not work > %\Test[CONTEXT]{{\tf\ConTeXt}}{This is \ConTeXt}% does not work > \starttext > \BLA\ and \CONTEXT. > \stoptext Did you try (untested) \Test[CONTEXT] {\nocap{context}} {This is \ConTeXt} Aditya ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___