From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62256 Path: news.gmane.org!not-for-mail From: Elias Oltmanns Newsgroups: gmane.comp.tex.context Subject: Simple Bibliography Date: Sat, 02 Oct 2010 15:00:49 +0200 Message-ID: <87k4m0696m.fsf@denkblock.local> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1286024477 26359 80.91.229.12 (2 Oct 2010 13:01:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 13:01:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 02 15:01:15 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P21iE-0006b3-Gx for gctc-ntg-context-518@m.gmane.org; Sat, 02 Oct 2010 15:01:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0F8CCCA698; Sat, 2 Oct 2010 15:01:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UWHrdHcJv8Iz; Sat, 2 Oct 2010 15:01:10 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EACF8CA5F6; Sat, 2 Oct 2010 15:01:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8697ACA5D9 for ; Sat, 2 Oct 2010 15:01:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mR17mnkgGL28 for ; Sat, 2 Oct 2010 15:00:56 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id BFDA2CA5F6 for ; Sat, 2 Oct 2010 15:00:56 +0200 (CEST) Original-Received: from nebensachen.de (nebensachen.de [78.46.130.30]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o92D0twX020648 for ; Sat, 2 Oct 2010 15:00:56 +0200 Original-Received: from upstream.obscured ([192.168.0.1]) by mail.nebensachen.de (Postfix) with ESMTPSA id BF1C420DA23B for ; Sat, 2 Oct 2010 15:00:55 +0200 (CEST) X-Hashcash: 1:20:101002:ntg-context@ntg.nl::XaHDsPF7XkecuIXo:000000000000000000000000000000000000000000011XK Mail-Copies-To: nobody Mail-Followup-To: mailing list for ConTeXt users User-Agent: Gnus/5.13 (Gnus v5.13) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=78.46.130.30; country=DE; region=01; city=Karlsruhe; latitude=49.0047; longitude=8.3858; http://maps.google.com/maps?q=49.0047,8.3858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DdN0UE8 - 275621682615 - 20101002 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:62256 Archived-At: Hi there, in the attempt to stich together a simple bibliography, I don's seem to get as far as I'd have liked. The layout of the bibliography should look something like this: +----------------------------------------------+ | authora: title of book | | authorb, F.: opus magnum with a rather | | title and ref. details | | authord, authore: another important book | +----------------------------------------------+ To achieve this, I'm thinking of something along these lines: \definedescription[bibitem][ location=left,align=flushright,sample={ longest author},width=broad, command=\BibCommand] \def\BibCommand#1{#1:} \starttext \chapter{Bibliography} \bibitem{authora} title of book \bibitem{authorb, F.} opus magnum with a rather title and ref. details \bibitem{authord, authore} another important book \stoptext Alas, it doesn't work out as expected. Can someone give a few hints towards a working example? It should compile under MkII too. Thanks for your help, Elias ___________________________________________________________________________________ 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 ___________________________________________________________________________________