From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Need help with bibliography
Date: Mon, 21 Sep 2009 07:55:59 +0200 [thread overview]
Message-ID: <00B0826D-5642-4A08-BEB4-58333C66BE86@uni-bonn.de> (raw)
In-Reply-To: <86d68cc30909201541s550ab8e0m728a92691d1a9ab3@mail.gmail.com>
On Sep 21, 2009, at 12:41 AM, Mika Ritola wrote:
> I'll try to give a clearer explanation. First of all, when I cite a
> source using e.g. \cite[Smith2000], this should appear in the text
> as "Smith 2000". I've already managed to do this. Now, each entry in
> the bibliography should begin with the same string that was used to
> identify it within the text. So, the above example should look
> something like this:
>
> Smith 2000<tab>John Smith. Generic Book Title. Whatever Publishing
> Company, New York 2000.
>
> I know I can get the "John Smith" by using \insertauthors in
> \setuppublicationlayout. But how do I get just the last name? The
> answer is probably so simple that I should be ashamed that I can't
> figure it out by myself but I haven't quite gotten the hang of
> ConTeXt and TeX yet...
Ah, so it turns out you're looking for something else altogether. In
your case, you want a special kind of label for your bibliographic
list. See if Aditya's hack gives the result you want. But generally
speaking, I think your setup is pretty common in the humanities, so it
should be added as a key to the processactionlist in l. 308-316 of
bibl-tra.mkiv. Hans, Taco, is there a proper syntax for getting the
lastname and year of the current bib item?
>
> 2. This one, on the other hand, is likely to be rather non-trivial:
> the bibliography needs to be broken up into several categories of
> sources. For example, audiovisual sources, newspaper sources and
> books should be listed under separate headings, somewhat like this:
>
> BIBLIOGRAPHY
>
> I. AUDIOVISUAL SOURCES
>
> [some sources]
>
> II. NEWSPAPER SOURCES
>
> [...]
>
> III. BOOKS
>
> [...]
>
> I've tried to decipher the source code of the Bib module but as I'm
> not particularly fluent in TeX, I haven't been able to make much
> headway so far. I'd appreciate some hints on where to start with
> this. I don't suppose there's any existing code for something like
> this? Maybe I'd be better off writing the bibliography by hand?
>
> That sounds harder. You basically need three separate
> bibliographies, each of them sorted in some way. I'm not certain the
> current implementation of the bib module can do that (i.e. I'm
> almost certain it can't). How do you want to refer to these items in
> your text? Again, we'll probably need some more information about
> what you want to achieve.
>
> I think it would be easiest if I could refer to them in the usual
> way, using \cite[Smith2000]. Of course, each item in the .bib file
> should have some kind of a tag, so that ConTeXt could automagically
> insert it under the correct heading.
Well, Hans said it was possible. You'll need to define an additional
field to filter your items and then have three lists typeset.
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-09-21 5:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-20 11:30 Mika Ritola
2009-09-20 16:47 ` Hans Hagen
2009-09-20 20:53 ` Thomas A. Schmitz
2009-09-20 21:13 ` Hans Hagen
2009-09-20 22:41 ` Mika Ritola
2009-09-20 23:30 ` Aditya Mahajan
2009-09-20 23:46 ` Aditya Mahajan
2009-09-21 5:55 ` Thomas A. Schmitz [this message]
2009-09-21 7:54 ` Taco Hoekwater
2009-09-21 9:02 ` Thomas A. Schmitz
2009-09-21 9:11 ` Taco Hoekwater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=00B0826D-5642-4A08-BEB4-58333C66BE86@uni-bonn.de \
--to=thomas.schmitz@uni-bonn.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).