ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* another bib-question
@ 2008-07-14 14:28 Thomas A. Schmitz
  2008-07-14 15:14 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas A. Schmitz @ 2008-07-14 14:28 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Hi all, Taco,

yet another question re the bib-module: I am wondering how to deal  
with place names (or other elements) in different languages. E.g., if  
a book has been published in Munich, I'd like the place to read  
"Munich" when the language of the document in which the bibliography  
occurs is German, "München" when the language is German. So is there  
any switch that would allow me to have something like this in my .bib- 
file:

address = {\iflanguageelse{de}{München}{Munich}}

Or do you have any other suggestions what I could do?

Thanks!

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: another bib-question
  2008-07-14 14:28 another bib-question Thomas A. Schmitz
@ 2008-07-14 15:14 ` Wolfgang Schuster
  2008-07-14 16:21   ` Thomas A. Schmitz
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2008-07-14 15:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.07.2008 um 16:28 schrieb Thomas A. Schmitz:

> Hi all, Taco,
>
> yet another question re the bib-module: I am wondering how to deal
> with place names (or other elements) in different languages. E.g., if
> a book has been published in Munich, I'd like the place to read
> "Munich" when the language of the document in which the bibliography
> occurs is German, "München" when the language is German. So is there
> any switch that would allow me to have something like this in my .bib-
> file:
>
> address = {\iflanguageelse{de}{München}{Munich}}
>
> Or do you have any other suggestions what I could do?

You could try \doifelse\currentmainlanguage{de}{M\uumlaut nchen} 
{Munich}.

Regards
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
___________________________________________________________________________________


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

* Re: another bib-question
  2008-07-14 15:14 ` Wolfgang Schuster
@ 2008-07-14 16:21   ` Thomas A. Schmitz
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas A. Schmitz @ 2008-07-14 16:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Jul 14, 2008, at 5:14 PM, Wolfgang Schuster wrote:

> You could try \doifelse\currentmainlanguage{de}{M\uumlaut nchen}
> {Munich}.
>
> Regards
> Wolfgang

Thanks Wolfgang! That did the trick nicely.

All best

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-07-14 16:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-14 14:28 another bib-question Thomas A. Schmitz
2008-07-14 15:14 ` Wolfgang Schuster
2008-07-14 16:21   ` Thomas A. Schmitz

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