From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bibliography help - some problems I have noticed
Date: Sun, 06 Dec 2009 10:40:00 +0100 [thread overview]
Message-ID: <4B1B7BF0.4070709@elvenkind.com> (raw)
In-Reply-To: <3b4b12310912050752x1743423an8c691c4e82acf52c@mail.gmail.com>
Hi,
Curiouslearn wrote:
> (0) Do I need bibltx for latex databases?
No. These days, the ConTeXt core defines \newcommand so the bibltx
module is obsolete.
> (0.5) Using \type{\cite[author,year][BergstromBagnoli2005]} just
> returns the key in the document
This is caused by the \cite[author,year][] input. If the first argument
of \cite[] has a comma, it is taken to be the list of references, and
the second set of square brackets is just typeset text.
Use \cite[authoryear][] or \cite[authoryears][].
> (1) If the Key has a paranthesis, the \cite[Reference] gives empty brackets.
In this example, I do not know what is wrong, but adding an
explicit first argument to \cite fixes it. It could be that the
optional argument parser in ConTeXt gets confused by the ().
> (2) If I use \cite[author][Reference] then I get a line break after
> the opening paranthesis.
This is a bug in current mkiv that was also mentioned in a thread last
week. Should be fixed in this beta or one of the next ones.
As a workaround, you can add
\usepublications[\jobname]
just after the \usemodule[bib] line
> (3) Also, note that I refer to only one paper of Daughety and
> Reinganum in the minimal example below. However, because there are two
> papers by them in my database, the References section lists the year
> as (2000a) instead of just (2000). The bbl file generated contains all
> the references in my database and not only the once I have cited.
Adding
\def\maybeyear#1{}
works around this. It is one of the few bibtex features that I have
not found a good solution for. Otherwise, just remove the \setupbibtex
command from the source and edit the bbl file by hand.
> Should it not contain only the ones I have cited in the document.
No, it always contains the entire database. That is why manuak editing
is possible.
Best wishes,
Taco
___________________________________________________________________________________
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:[~2009-12-06 9:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-05 15:52 Curiouslearn
2009-12-06 9:40 ` Taco Hoekwater [this message]
2009-12-06 13:22 ` Curiouslearn
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=4B1B7BF0.4070709@elvenkind.com \
--to=taco@elvenkind.com \
--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).