* mkiv and Reverse list of abbreviations
@ 2010-08-31 14:41 Otared Kavian
2010-08-31 15:25 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Otared Kavian @ 2010-08-31 14:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi everyone,
I have three questions regarding the use of abbreviations in mkiv: it seems that there is a difference between the way in which mkii and mkiv treat the definitions of synonyms.
If one considers the minimal example:
% ----- begin abbrev-test.tex
\definesynonyms[abbreviation][abbreviations][\infull][\inshort]
\starttext
\abbreviation{LCTVS}{Locally Convex Topological Vector Space}
\abbreviation{EEG} {Electroencephalogram}
\abbreviation{ERP} {Event-Related Potentials}
\abbreviation{TVS}{Topological Vector Space}
Test inshort: \inshort{EEG}, \inshort{ERP}, \inshort{TVS},
Test infull: \infull{EEG}, \infull{ERP}, \infull{TVS}, \infull{LCTVS}
\completelistofabbreviations
\stoptext
% ----- end abbrev-test.tex
my questions are the following:
1) How can I tell mkiv that I want \infull{EEG} result in Electroencephalogram not in "ELECTROENCEPHALOGRAM"?
2) It seems that the order in which \infull and \inshort are defined in
\definesynonyms[abbreviation][abbreviations][\infull][\inshort]
is different in mkii and in mkiv: is this observation correct?
3) Is it possible to obtain, beside the list of abbreviations, another ordered list in which the full variant is in the first column while the short variant is in the second column? That is something like:
\completeReverseListOfAbbreviations
resulting in
Electroencephalogram EEG
Event-Related Potentials ERP
Locally Convex Topological Vector Space LCTVS
Topological Vector Space TVS
Thanks in advance for any help or insight.
Best regards: OK
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mkiv and Reverse list of abbreviations
2010-08-31 14:41 mkiv and Reverse list of abbreviations Otared Kavian
@ 2010-08-31 15:25 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2010-08-31 15:25 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Otared Kavian
On 31-8-2010 4:41, Otared Kavian wrote:
> Hi everyone,
>
> I have three questions regarding the use of abbreviations in mkiv: it seems that there is a difference between the way in which mkii and mkiv treat the definitions of synonyms.
>
> If one considers the minimal example:
>
> % ----- begin abbrev-test.tex
>
> \definesynonyms[abbreviation][abbreviations][\infull][\inshort]
>
> \starttext
> \abbreviation{LCTVS}{Locally Convex Topological Vector Space}
> \abbreviation{EEG} {Electroencephalogram}
> \abbreviation{ERP} {Event-Related Potentials}
> \abbreviation{TVS}{Topological Vector Space}
>
> Test inshort: \inshort{EEG}, \inshort{ERP}, \inshort{TVS},
>
> Test infull: \infull{EEG}, \infull{ERP}, \infull{TVS}, \infull{LCTVS}
>
> \completelistofabbreviations
>
> \stoptext
> % ----- end abbrev-test.tex
>
> my questions are the following:
>
> 1) How can I tell mkiv that I want \infull{EEG} result in Electroencephalogram not in "ELECTROENCEPHALOGRAM"?
>
> 2) It seems that the order in which \infull and \inshort are defined in
> \definesynonyms[abbreviation][abbreviations][\infull][\inshort]
> is different in mkii and in mkiv: is this observation correct?
I need to check it (no time right now) as there is no reason for it not
to be compatible
> 3) Is it possible to obtain, beside the list of abbreviations, another ordered list in which the full variant is in the first column while the short variant is in the second column? That is something like:
> \completeReverseListOfAbbreviations
> resulting in
>
> Electroencephalogram EEG
> Event-Related Potentials ERP
>
> Locally Convex Topological Vector Space LCTVS
>
> Topological Vector Space TVS
>
> Thanks in advance for any help or insight.
remind me to make it configureable (not that hard)
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-31 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-31 14:41 mkiv and Reverse list of abbreviations Otared Kavian
2010-08-31 15:25 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).