ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andy Thomas <andythomas@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: A bibliography difficulty
Date: Wed, 30 May 2012 08:09:58 +0200	[thread overview]
Message-ID: <EBA621EC-52D2-43A3-ACB5-180ABE191833@web.de> (raw)
In-Reply-To: <CAPGiC76CCzMcvqJYP+Sqaqbx00oU2sVzaVfxyGEk-duF1qGFGA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2784 bytes --]

Hello,

I am not sure if I understand you correctly, but do you directly edit a bbl file? Normally, a .bib file is made by the user and ConTeXt (and LaTeX as well) generate the .bbl file for you. Your example works for me using the following code 


\setupbibtex[database={library}]
\setuppublications[alternative=ams]


\starttext
Bla\cite{birn06}

\placepublications[criterium=all]
\stoptext

with a .bib file containing

@article{birn06,
  author = {Dieter Birnbache},
  title = {The Socratic method in teaching medical ethics: Potentials and limitations},
  year = {1999},
  journal = {Medicine, Health Care and Philosophy},
  volume = {2},
  issue = {3},
  pages = {219-224}
}

More information is on the wiki page: http://wiki.contextgarden.net/Bibliography, e.g. why you do not need to use a module any more.



On May 30, 2012, at 6:58 AM, Alasdair McAndrew wrote:

> In my list of references, I can't get the author or title (of journal article) to print.  In my .tex file, I have the following lines:
> 
> \usemodule[bib]
> \setuppublications[alternative=ams,refcommand=num,numbering=yes]
> 
> and in my .bbl file the (so far) only reference is:
> 
> \startpublication[k=birn06,
>   t=article,
>   a=D.~Birnbache,
>   y=1999]
>   \author{Dieter}{}{Birnbache}
>   \title{The Socratic method in teaching medical ethics: Potentials and limitations}
>   \pubyear{1999}
>   \journal{Medicine, Health Care and Philosophy}
>   \volume{2}
>   \issue{3}
>   \pages{219-224}
> \stoppublication
> 
> However, when I typeset the file, the reference list consists of
> 
> [1] , Medicine, Health Care and Philosophy 2, 219 (1999).
> 
> I'm a little confused about all the variables, commands and parameters.  So - first, what am I doing wrong?  Second, are there somewhere out there some example files of bibliography usage (I learn best by seeing what other people have done, and adapting that to my own ends)?  Third: can I include the references in the body of the .tex file (as you can do with LaTeX and the thebibliography environment)?
> 
> Thanks,
> Alasdair
> 
> -- 
> Blog: http://amca01.wordpress.com
> Web:  http://sites.google.com/site/amca01/
> Facebook: http://www.facebook.com/alasdair.mcandrew
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 4285 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2012-05-30  6:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30  4:58 Alasdair McAndrew
2012-05-30  6:09 ` Andy Thomas [this message]
2012-05-30 12:06   ` Alasdair McAndrew

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=EBA621EC-52D2-43A3-ACB5-180ABE191833@web.de \
    --to=andythomas@web.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).