From: "Christian" <metan0r@gmx.de>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Help with citation layout.
Date: Wed, 16 Nov 2011 22:45:03 +0100 [thread overview]
Message-ID: <015a01cca4a8$fff48e20$ffddaa60$@gmx.de> (raw)
In-Reply-To: <20111116210950.GL5988@rae.vm.bytemark.co.uk>
> > I need the help of a BibTeX/citation module expert. I want to modify the
> appearance of @INBOOK entries.
> > Currently they look like this (apa-de style):
> >
> > author (year) _booktitle_, Chapter chaptertitle, pages, publisher, edition.
> >
> > What I'm aming for is this:
> >
> > author (year) _chaptertitle_, In editor (Edt.): _booktitle_, pages, publisher,
> edition.
> >
> > Where chaptertitle refers to the title of the chapter (usually some sort of
> article or essay), very similar to arttitle.
>
> I encountered the same problem a while ago and discovered that using
> @incollection solves it. (The documentation at
> http://www.kfunigraz.ac.at/~binder/texhelp/bibtx-12.html implies that
> @inbook only supports a chapter number or page range, rather than a titled
> section.) Example:
>
> @incollection{ernst1989anisotropy,
> title = {Averaging of anisotropy of magnetic susceptibility data},
> author = {Ernst, R. E. and Pearce, G. W.},
> booktitle = {Statistical Applications in the Earth Sciences},
> editor = {Agterberg, F. P. and Bonham-Carter, G. F.},
> note = {Paper 89-9},
> pages = {297--305},
> year = {1989},
> publisher = {Geological Survey of Canada} }
>
> With the default bibliography style this typesets to:
>
> Ernst, R. E. and Pearce, G. W. (1989). Averaging of anisotropy of magnetic
> susceptibility data. In Agterberg, F. P. and Bonham-Carter, G. F., editors,
> _Statistical Applications in the Earth Sciences_, pages 297–305. Geological
> Survey of Canada. Paper 89-9.
Thanks Pont, that is already helpful to know that others encountered this problem, too.
However, @inbook supports a chapter title that is placed with \insertchapter.
So I thought I could put the "arttitle" in the chapter field and the book title in the title field of bibtex.
But I did not manage to get the author and the editor in my layout.
Example:
% Bibtex:
@INBOOK{naunin07,
author ={Dietrich Naunin},
editor = {Dietrich Naunin},
title = {Hybrid-, Batterie- und Brennstoffzellen-Elektrofahrzeuge: Technik, Strukturen und Entwicklungen},
chapter = {Elektrische Antriebssysteme},
editor = {Dietrich Naunin},
pages = {20-33},
address = {Renningen},
publisher = {expert-Verlag},
year = {2007},
edition = {4.},
ISBN = {3-8169-2625-8},
}
% Context:
\setuppublicationlayout[inbook]{%
\insertauthors{}{ }{}%
\insertpubyear{(}{). }{\unskip.}%
\insertchapter{\bgroup \it}{\egroup. }{\unskip}%
\inserteditors{In\ }{, editors: }{}%
\inserttitle{\bgroup \it}{\egroup. }{\unskip}%
\insertpages{}{}{}%}
With this I get:
Naunin, Dietrich (2007). _Elektrische Antriebssysteme_. _Hybrid-, Batterie- und Brennstoff-
zellen-Elektrofahrzeuge: Technik, Strukturen und Entwicklungen_. 20-33
The editor is not inserted, but the pages are :( This may be a bad example since the author of the chapter is the editor, but it's also not working anywhere else.
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-11-16 21:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 19:10 Christian
2011-11-16 21:09 ` Pontus Lurcock
2011-11-16 21:45 ` Christian [this message]
2011-11-16 21:50 ` Christian
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='015a01cca4a8$fff48e20$ffddaa60$@gmx.de' \
--to=metan0r@gmx.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).