On 02/10/2012 03:10 PM, Wagner Macedo wrote:
Ah, yes. I'm setuping my own style. As I'm not so good with TeX (if this
could be in Lua, will be perfect), I'm using apa, that is the closest to
my style.

So, all right, I'll try to customize my style, that is the only good
solution to this. Thanks by attention, Thomas.

OK, I had a second look. What you want may not be that easy to accomplish with simple setup commands (at least, I didn't manage to make it work). So I see two possibilities, one clean and difficult, the other easier, but somewhat hackish:

1. Edit a local copy of cont-au.bst and insert a function that will make the author name uppercase. bst is infamous for its incomprehensible syntax, but it appears to be possible. this would be the proper way. google is your friend here.

2. ConTeXt produces a .bbl file from which it retrieves the bibliographical information. The authorname used in the \cite command is captured in a key=value of the form
a={{Hagen}},
Write a simple lua script which will make the captured name uppercase and write everything out to a new file. Then, in your preamble, replace the \setupbibtex[database=...] line with
\usepublications[<name>.bbl]
So this is something you would do at the very end of the editing process, when you're sure that all the references are in the bbl file. It may also be possible to hook a lua function into the process when ConTeXt typesets the value from the bbl, but that's beyond my knowledge, Hans is the only one who knows the internals of the mkiv bib mechanism well enough to say if/how this may work.

HTH

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to