[NTG-context] \definesynonyms broken?

2011-01-26 Thread Verhaag, G.C.H.M.
Hi, I use \definesynonyms in several documents but it seems to be broken! For testing purposes I use the folowing command: \definesynonyms[kind][kinds][\infull] \kind{to}{test one!} \kind{t}{sonething else} \definesynonyms[state][states][\infull] \state{a}{anything} \state{ab}{anything b}

Re: [NTG-context] \definesynonyms broken?

2011-01-26 Thread Peter Münster
Verhaag, G.C.H.M. verhaagg...@ziggo.nl writes: \definesynonyms[kind][kinds][\infull] \definesynonyms[state][states][\infull] Don't use the same command. Better: \definesynonyms[kind][kinds][\KindFull] \definesynonyms[state][states][\StateFull] -- Peter

Re: [NTG-context] \definesynonyms broken?

2011-01-26 Thread Verhaag, G.C.H.M.
Peter Münster wrote: Verhaag, G.C.H.M. verhaagg...@ziggo.nl writes: \definesynonyms[kind][kinds][\infull] \definesynonyms[state][states][\infull] Don't use the same command. Better: \definesynonyms[kind][kinds][\KindFull] \definesynonyms[state][states][\StateFull] Hi, Thanks

[NTG-context] definesynonyms infull [mkiv]

2010-05-31 Thread Thomas Floeren
Hi, the following example works in mkii, but in mkiv the first 'infull' won't appear: \enableregime [utf] \definesynonyms [StandardAbbrev] [StandardAbbrevs] [\infull] \definesynonyms [TechAbbrev] [TechAbbrevs] [\infull] \StandardAbbrev [DIN] {\kap{din}} {Deutsches Institut für

Re: [NTG-context] definesynonyms

2006-07-28 Thread Bernd Militzer
Am 27.07.2006 um 07:54 schrieb Aditya Mahajan: You can also do \def\PID[#1]#2[#3]{\getparameters[PID#1][#3]} % #2 is to gobble spaces thanks for that hint Aditya! Bernd ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] definesynonyms

2006-07-28 Thread Taco Hoekwater
Bernd Militzer wrote: Am 27.07.2006 um 07:54 schrieb Aditya Mahajan: You can also do \def\PID[#1]#2[#3]{\getparameters[PID#1][#3]} % #2 is to gobble spaces thanks for that hint Aditya! There is also this (more formal) solution: \def\PID{\dodoubleempty\doPID}

Re: [NTG-context] definesynonyms

2006-07-28 Thread Bernd Militzer
Am 28.07.2006 um 16:34 schrieb Taco Hoekwater: There is also this (more formal) solution: \def\PID{\dodoubleempty\doPID} \def\doPID[#1][#2]{\getparameters[PID#1][#2]} thanks Taco! Cheers, Bernd ___ ntg-context mailing list

Re: [NTG-context] definesynonyms

2006-07-26 Thread Aditya Mahajan
On Mon, 24 Jul 2006, Bernd Militzer wrote: Thanks a Taco! with PID[268]% ^ [Fam=Rudolph, Nam=Rudluffen, Vor=Adam] You can also do \def\PID[#1]#2[#3]{\getparameters[PID#1][#3]} % #2 is to gobble spaces \def\doGetPID#1#2{\getvalue{PID#2#1}}

Re: [NTG-context] definesynonyms

2006-07-25 Thread Bernd Militzer
Thanks a Taco! with PID[268]% ^ [Fam=Rudolph, Nam=Rudluffen, Vor=Adam] all is ok. Bernd ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] definesynonyms

2006-07-25 Thread Bernd Militzer
Am 24.07.2006 um 11:11 schrieb Taco Hoekwater: But it is probably easier to write a small database interface layer. Somewhat like this (note that I had to change \doGeTPID as well). \def\PID[#1][#2]{\getparameters[PID#1][#2]} \def\doGetPID#1#2{\getvalue{PID#2#1}}

Re: [NTG-context] definesynonyms

2006-07-24 Thread Taco Hoekwater
Bernd Militzer wrote: Hi all, for a large ancestor-project I defined a set of informations for a lot of persons like you can see below. QUESTION: how many synonyms can I max. define? I need about 4000 defs. If you need only 4000 separate PIDs, that should work ok. or has someone a

Re: [NTG-context] definesynonyms

2006-07-24 Thread Hans Hagen
Bernd Militzer wrote: Hi all, for a large ancestor-project I defined a set of informations for a lot of persons like you can see below. QUESTION: how many synonyms can I max. define? I need about 4000 defs. a lot (as much as tex's hash + mem permits; the hash can be 100K) Hans

[NTG-context] definesynonyms

2006-07-23 Thread Bernd Militzer
Hi all, for a large ancestor-project I defined a set of informations for a lot of persons like you can see below. QUESTION: how many synonyms can I max. define? I need about 4000 defs. or has someone a better idea to handle those informations. thanks for help! Bernd % -- snip %