[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 Normung~e.\,V

[NTG-context] Numbers in \definesynonyms

2010-05-13 Thread Otared Kavian
Dear all, When defining abbreviations through \definesynonyms, if the abbreviation contains a digit then it seems that the built-in macro is not recognized: in the example below the command \EEG is recognized, whereas \M2 or \Y2K are not. Is there a way around this difficulty? Or should one

Re: [NTG-context] Numbers in \definesynonyms

2010-05-13 Thread Hans Hagen
On 13-5-2010 10:42, Otared Kavian wrote: Dear all, When defining abbreviations through \definesynonyms, if the abbreviation contains a digit then it seems that the built-in macro is not recognized: in the example below the command \EEG is recognized, whereas \M2 or \Y2K

Re: [NTG-context] LuaTex choking on \definesynonyms?

2009-08-30 Thread Hans Hagen
Roland wrote: Hi, sorry to get back to this so late but I still can't get it to work with the latest updated ConTeXt Minimals. Am I using a wrong command? Is the command already integrated in the latest Minimals? I can't seem to find it in the setup-en.pdf file dated August 28th... there is

Re: [NTG-context] LuaTex choking on \definesynonyms?

2009-08-30 Thread Hans Hagen
Roland wrote: Hi, sorry to get back to this so late but I still can't get it to work with the latest updated ConTeXt Minimals. Am I using a wrong command? Is the command already integrated in the latest Minimals? I can't seem to find it in the setup-en.pdf file dated August 28th... Solution

Re: [NTG-context] LuaTex choking on \definesynonyms?

2009-08-29 Thread Roland
%\definesynonyms[abbreviation][abbreviations][\infull] 2 3 \starttext 4 \abbreviation{VVV}{Bureau of Tourist Information} 5 The Dutch \VVV\ can provide you with the tourist 6 information on Hasselt. 7 \completelistofabbreviations 8 \stoptext Output: 1

[NTG-context] LuaTex choking on \definesynonyms?

2009-08-04 Thread Roland
Hi all, LuaTex doesn't seem to like the \definesynonyms command. The following works fine in PDFtex: 1 \definesynonyms[abbreviation][abbreviations][\infull] 2 3 \starttext 4 \abbreviation{VVV}{Bureau of Tourist Information} 5 The Dutch \VVV\ (\infull{VVV}) can

Re: [NTG-context] LuaTex choking on \definesynonyms?

2009-08-04 Thread Kevin D. Robbins
}{Bureau of Tourist Information}. Kevin On Sun, Aug 2, 2009 at 8:08 AM, Roland ntg-cont...@rolandsiebelink.comwrote: Hi all, LuaTex doesn't seem to like the \definesynonyms command. The following works fine in PDFtex: 1 \definesynonyms[abbreviation][abbreviations][\infull] 2 3

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
% \definesynonyms[PID][PIDs][\doGetPID] \PID{Fam268}{Rudolph} \PID{Nam268}{Rudluffen} \PID{Vor268}{Adam} \PID{Ruf268}{Adam} \PID{Geb268}{k.A.} \PID{GebOrt268} {Oberkoskau} \PID{Tau268}{19. Mai 1725} \PID{TauOrt268