Xan wrote:
>/ Hi,
/>/ />/ I posted previously />/ [http://www.ntg.nl/pipermail/ntg-context/2009/043675.html] but no one />/ answer that. Is it possible to localizated bibliography module depending />/ on \mainlanguage? I think for example in @inproceedings or @article in />/ ams. It appears "number" for specifying the number of journal, but />/ "number" is in english. It were useful if we could display "número" for />/ \mainlanguage[es], "nombre" for \mainlanguage[ca], etc like we display />/ tableofcontents or the title of references in \mainlanguage localization.
/
There is only very limited support for internationalisation in the bib
module, but at least you can define the reference title:

   \setupheadtext[ca][pubs=Referències]

this definition is actually already there.
Yes, I know that.
For the small bits of text inside the reference list, you have to create
a copy of the relevant bibl-xxx file with the two-letter language code
attached to the name, edit that file to your liking, then do:

   \setuppublications[alternative=apa-ca] % for example.
I refer to that. For not having apa-ca, apa-es, apa-fr, etc I think you could rewrite bib module for having localization in automatic way. If \mainlanguage = es, then number = "número" or something similar in TeX way Sorry but I don't know TeX so much for doing that in my own. But I think it's simply for you ;-)


>/ For the other hand, is it possible to define second references like />/ wikipedia? I plan to write a document that will have a normal />/ bibliography citations (like \cite[bridson].... and display the book of />/ Bridson) and a wikipedia-like citations for citing specifically />/ paragraphs of text (that I want to display like wikipedia references />/ \wikicite[This text appears in paragraph 2 of \cite[bridson] in a reject />/ of ....]) Is it possible?
/
I am not sure whether I understand you correctly, but there is this
command:

   \def\getcitedata [key][field] to \macroname

which stores the value of 'field' in the reference 'key' into the
\macroname. The idea is that you can use this to fetch any simple
key from a reference anywhere in the document.

I will investigate it.... Thanks a lot,
Xan.
Best wishes,
Taco

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

Reply via email to