On Fri, 2012-04-13 at 10:29 +1200, Pontus Lurcock wrote:
I had a quick google before writing my previous mail, but only turned up http://archive.contextgarden.net/message/20100208.170849.f874f701.hu.html , which implies that at least as of two years ago MLA bibliographies were still an unsolved problem.
That's too bad.
Sounds like a bug, but never having used the other styles I don't really know.
=(
The aforementioned bibmod-doc.pdf file by Taco is the best documentation I've found, though it's a little out of date. But it's worth reading to get the idea of how ConTeXt interacts with BibTeX.
I've read it top to bottom several times now =(
As you say, discussion is a little scant too. I'm a user with a fairly limited understanding of the bibliography system, but I try to do what I can with bibliography questions if nobody else is answering.
It's appreciated.
Here's a sample entry from my PhD bibliography:
% TODO is there a better way to cite a webpage? @manual{acton2011zplotit, author = {Acton, Gary}, title = {{ZPLOTIT} Software Users' Guide, version 2011-01}, year = {2011}, address = {\hyphenatedurl{http://paleomag.ucdavis.edu/software-Zplotit.html}}, note = {Retrieved 1 February 2011} }
... as the TODO shows, I don't consider this a perfect solution :-). With APA style, this produces an acceptable-looking entry, although semantically ‘address’ is probably the wrong key for the URL.
Perhaps, but you just gave me a great idea.
\hyphenatedurl allows the url to be split nicely, but doesn't make it clickable; for that the tricks detailed at http://wiki.contextgarden.net/url should work. I'd guess that something like
address = {\useURL[dummy][http://www.example.com]\from[dummy]}
should make a clickable bibliography URL.
See I totally forgot that it's basically copying the values of the tags directly into the bbl file which is already ConTeXt syntax, so all I have to do is replace the value of the title tag with the url. Here is what I did and it works marvellously: @Misc{asymptotic_notation, author = {Walker, Julienne}, month = {apr}, publisher = {Eternally Confuzzled}, title = {\href{http://www.eternallyconfuzzled.com/arts/jsw_art_bigo.aspx}{Asymptotic Notation}}, year = {2012} } I've defined \href as such: \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} It works great and this is what I see: "Walker, Julienne (2012a). Asympt% otic Notation. Eternally Confuzzled." But why the "% " string gets inserted in there I do not know? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com