[texhax] problem getting editor's names into a citation with bibtex and natbib
Christopher W. Ryan
cryan at binghamton.edu
Wed Jun 27 18:10:35 CEST 2007
Running MikTeX on WinXP. Having a problem getting editor's name to show
up in my bibliography.
Here is my preamble (there is some leftover junk from another journal's
house template, which I've commented out:
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\documentclass[12pt]{mypaper}
% Load packages
\usepackage[margin=1in]{geometry}
%\usepackage{cite} % Make references as [1-4], not [1,2,3,4]
\usepackage{url}
%\usepackage{ifthen} % Conditional
\usepackage{multicol} %Columns
\usepackage[utf8]{inputenc} %unicode support
%\usepackage[applemac]{inputenc} %applemac support if unicode package fails
%\usepackage[latin1]{inputenc} %UNIX support if unicode package fails
\urlstyle{rm}
\usepackage[super,sort&compress]{natbib}
\bibpunct{}{}{,}{}{}{}
\usepackage{setspace}
\title{Association between constipation and attention deficit disorder
and other behavior problems in Dutch children: a longitudinal study from
general practice}
\author{Christopher W. Ryan, MD}
\institution{State University of New York Upstate Medical University,
Clinical Campus at Binghamton \\ 40 Arch Street, Johnson City, NY
13790. \\ e-mail: cryan at binghamton.edu. Phone: 607-763-6165. Fax:
607-763-5553.}
I am using a custom bst file I made with custom bib. However, for
illustrative purposes, I tried compiling it with unsrt style, so you
could see what the error messages were, and that they were not due to my
custom style:
\bibliographystyle{unsrt}
\bibliography{C:/DATA/scholar/ADHDconstipation/ADHDconstipationreferences}
And here are the error messages. I get the same error with my custom
bst file:
This is BibTeX, Version 0.99c (MiKTeX 2.4)
The top-level auxiliary file: DutchEFPjpgn_article.aux
The style file: unsrt.bst
Database file #1:
C:/DATA/scholar/ADHDconstipation/ADHDconstipationreferences.bib
Warning--can't use both author and editor fields in TPWS
Warning--empty chapter and pages in TPWS
Warning--can't use both author and editor fields in Okkes2003
(There were 3 warnings)
Tool completed successfully
The two problematic bibtex entries, TPWS and Okkes2003, are here (the
middle warning, about chapter and pages, does not concern me; I'd like
to solve the first and third, if possible):
@INBOOK{TPWS,
title = {EFP-Extended. Episodes of Care in Family Practice, Extended
Version.
Epidemiological data based on the routine use of the International
Classification of Primary Care (ICPC) in the Transition Project
of the University of Amsterdam (1995-2005).},
publisher = {Academic Medical Center/University of Amsterdam},
year = {2005},
editor = {IM Okkes and SK Oskam and H Lamberts},
author = {I Okkes and S Oskam and K van Boven and H Lamberts},
booktitle = {ICPC in the Amsterdam Transition project ({CD}-{ROM})},
address = {Amsterdam},
timestamp = {2007.01.11},
url = {http://www.transitieproject.nl/}
}
@INBOOK{Okkes2003,
chapter = {4.3},
pages = {139-152},
title = {Classification and the domain of family practice},
publisher = {Oxford University Press},
year = {2003},
editor = {R Jones},
author = {IM Okkes and Henk Lamberts},
booktitle = {The Oxford Textbook of Primary Medical Care},
volume = {1},
address = {Oxford},
timestamp = {2007.01.26}
}
Thank you for any ideas you could suggest.
--
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
40 Arch Street, Johnson City, NY 13790
cryanatbinghamtondotedu
PGP public keys available at http://home.stny.rr.com/ryancw/
"If you want to build a ship, don't drum up the men to gather wood,
divide the work and give orders. Instead, teach them to yearn for the
vast and endless sea." [Antoine de St. Exupery]
More information about the texhax
mailing list