ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Which way to type greek letters in synonym list?
@ 2010-12-06 14:43 seasoul
  2010-12-06 14:48 ` Andreas Harder
  0 siblings, 1 reply; 5+ messages in thread
From: seasoul @ 2010-12-06 14:43 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 502 bytes --]

Dear All,

 I am setting up the synonym list. I defined it as "nomenclature"

\definesynonyms[nomenclature][nomenclatures][\infull]

\setupsynonyms[nomenclature] [criterium=all,location=serried]



when i type in someting like



\nomenclature{A} {Area}



it works.



But if I type

\nomenclature{$\alpha$}{Angle of something}



it fails. The reason may be only text could be used. I found the list is
sorted alphabetically. Then if I type a greek letter, the compiler does not
konw how to sort it.

[-- Attachment #1.2: Type: text/html, Size: 1582 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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] 5+ messages in thread

* Re: Which way to type greek letters in synonym list?
  2010-12-06 14:43 Which way to type greek letters in synonym list? seasoul
@ 2010-12-06 14:48 ` Andreas Harder
  2010-12-06 16:03   ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Harder @ 2010-12-06 14:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi!

> But if I type
> \nomenclature{$\alpha$}{Angle of something}
Try \nomenclature[alpha]{$\alpha$}{…}

Greeting
	Andreas
___________________________________________________________________________________
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] 5+ messages in thread

* Re: Which way to type greek letters in synonym list?
  2010-12-06 14:48 ` Andreas Harder
@ 2010-12-06 16:03   ` Wolfgang Schuster
  2010-12-07  3:57     ` seasoul
  2010-12-17  5:23     ` Jonas Stein
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2010-12-06 16:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 06.12.2010 um 15:48 schrieb Andreas Harder:

> Hi!
> 
>> But if I type
>> \nomenclature{$\alpha$}{Angle of something}
> Try \nomenclature[alpha]{$\alpha$}{…}

This will fail because to create a macro \alpha which expands to \alpha ...

Use uppercase letter to prevent this, when your font contains greek you can also use a text alpha, e.g.

\abbreviation[ALPHA]{α}{Angle of something}
\setupbodyfont[termes]
\starttext
\ALPHA
\stoptext

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Which way to type greek letters in synonym list?
  2010-12-06 16:03   ` Wolfgang Schuster
@ 2010-12-07  3:57     ` seasoul
  2010-12-17  5:23     ` Jonas Stein
  1 sibling, 0 replies; 5+ messages in thread
From: seasoul @ 2010-12-07  3:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1292 bytes --]

Thanks to Andreas and Wolfgang,

      That's true. The uppercase letter works, the lowercase method
complains.




On Tue, Dec 7, 2010 at 12:03 AM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:

>
> Am 06.12.2010 um 15:48 schrieb Andreas Harder:
>
> > Hi!
> >
> >> But if I type
> >> \nomenclature{$\alpha$}{Angle of something}
> > Try \nomenclature[alpha]{$\alpha$}{...}
>
> This will fail because to create a macro \alpha which expands to \alpha ...
>
> Use uppercase letter to prevent this, when your font contains greek you can
> also use a text alpha, e.g.
>
> \abbreviation[ALPHA]{α}{Angle of something}
> \setupbodyfont[termes]
> \starttext
> \ALPHA
> \stoptext
>
> 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
>
> ___________________________________________________________________________________
>



-- 
Yours Sincerely
Ba Te

[-- Attachment #1.2: Type: text/html, Size: 2173 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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] 5+ messages in thread

* Re: Which way to type greek letters in synonym list?
  2010-12-06 16:03   ` Wolfgang Schuster
  2010-12-07  3:57     ` seasoul
@ 2010-12-17  5:23     ` Jonas Stein
  1 sibling, 0 replies; 5+ messages in thread
From: Jonas Stein @ 2010-12-17  5:23 UTC (permalink / raw)
  To: ntg-context


> \abbreviation[ALPHA]{α}{Angle of something}
> \setupbodyfont[termes]
> \starttext
> \ALPHA
> \stoptext

a copy is here now:
http://wiki.contextgarden.net/Reference/en/definesynonyms#Hint

-- 
Jonas Stein <news@jonasstein.de>

___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2010-12-17  5:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-06 14:43 Which way to type greek letters in synonym list? seasoul
2010-12-06 14:48 ` Andreas Harder
2010-12-06 16:03   ` Wolfgang Schuster
2010-12-07  3:57     ` seasoul
2010-12-17  5:23     ` Jonas Stein

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).