Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BibTex, a .bst file, and no article titles appearing

1,721 views
Skip to first unread message

Mike

unread,
Apr 1, 2009, 5:45:43 PM4/1/09
to

I'm preparing to submit a journal article for publication. Per
instructions on the journal's web site I am using jphysicsB.bst file.
When I run BibTex the journal references appear with no article
titles. I've poked around jphysicsB.bst but can't seem to get it to
produce the titles. Here is the way I have the entires in my .bib
file. I assume this is OK:

@article{Anisimov:97, author = "O. A. Anisimov and N. I. Shiklomanov
and F. E. Nelson", title = "Effects of Global Warming on Permafrost
and Active-Layer Thickness: Results from Transient General Circulation
Models", journal = "Global and Planetary Change", volume = 15, year =
1997, pages = {61--77}}

@article{Archer:08, author = "Archer, C. L. and K. Caldeira", title =
"Historical trends in the jet streams"
, journal = GRL, volume = 35, year = 2008, note = {L08803, doi:
10.1029/2008GL033614}}


I'm also using Natbib. I've never run into this before. Do I need to
paste the entire jphysicsB.bst here? Here's the arcticle function
from jphysicsB.bst:

FUNCTION {article}
{ output.bibitem
list.label.output
" " list.year * output.nonnull
author "author" item.check
crossref missing$
{ journal emphasize "journal" duplicate$ item.check
" " * format.vol.num.pages * output
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
new.block
note output
fin.entry
write.url
}

Mike

Michael Shell

unread,
Apr 1, 2009, 8:25:27 PM4/1/09
to
On Wed, 1 Apr 2009 14:45:43 -0700 (PDT)
Mike <rawl...@yahoo.com> wrote:

>
> I'm preparing to submit a journal article for publication. Per
> instructions on the journal's web site I am using jphysicsB.bst file.
> When I run BibTex the journal references appear with no article
> titles. I've poked around jphysicsB.bst but can't seem to get it to
> produce the titles.


Is it possible that it is supposed to be that way?

According to a jphysicsB.bst output sample I found:

http://www.mackichan.com/products/shells/jphysicsB.pdf

it may well be true and the article code from the .bst does not
show a title being output. How do the references appear in the
journal in question?


Cheers,

Mike Shell

Donald Arseneau

unread,
Apr 2, 2009, 4:57:36 PM4/2/09
to
On Apr 1, 1:45 pm, Mike <rawlin...@yahoo.com> wrote:
> I'm preparing to submit a journal article for publication. Per
> instructions on the journal's web site I am using jphysicsB.bst file.
> When I run BibTex the journal references appear with no article
> titles.

Bibliographies in physics journal articles never show article
titles. The usually do show book titles for book references.

D.J. Arseneau et al. Physica B, 404 (2009) 946.

Mike

unread,
Apr 4, 2009, 1:21:38 PM4/4/09
to
On Apr 1, 5:25 pm, Michael Shell <ne...@michaelshell.org> wrote:
> On Wed, 1 Apr 2009 14:45:43 -0700 (PDT)
>


The references in the journal have titles. However, I've been told by
the technical editor not to be concerned about the format of
references within the submitted manuscript; their technical staff
will handle formatting during final preparations for publication. In
the past I've pasted the .bbl entires into the .tex file, and will do
so with this one as well. Given that there's only 30 or so references
I assume that final adjustments won't be too difficult for the staff
to make. Saves me the trouble....

Mike

Mike

unread,
Apr 4, 2009, 1:29:19 PM4/4/09
to

And, indeed, my bibliography entries that I have as @book are
producing entires in the reference list with a title. So as Mike
suggested I'm getting likely getting the intended output.

Mike

Michael Shell

unread,
Apr 4, 2009, 11:16:04 PM4/4/09
to
On Sat, 4 Apr 2009 10:21:38 -0700 (PDT)
Mike <rawl...@yahoo.com> wrote:


> The references in the journal have titles.

If you show us a sample of a journal article reference, perhaps
the .bst can be tweaked to do as you need.


Mike

Mike

unread,
Apr 8, 2009, 7:23:55 PM4/8/09
to
On Apr 4, 8:16 pm, Michael Shell <ne...@michaelshell.org> wrote:
> On Sat, 4 Apr 2009 10:21:38 -0700 (PDT)
>
> Mike <rawlin...@yahoo.com> wrote:
> > The references in the journal have titles.
>
> If you show us a sample of a journal article reference, perhaps
> the .bst can be tweaked to do as you need.
>
> Mike

Hi Mike,

Here is a book reference followed by two journal article references
from a paper in that journal:

ACIA 2004 Impacts of a Warming Arctic: Arctic Climate Impact
Assessment (Cambridge: Cambridge University Press)

Chiacchio M and Francis J A 2002 Evaluation of methods to estimate the
surface downwelling longwave flux during Arctic winter J. Appl.
Meteor. 41 306-18

Francis J A 1994 Improvements to TOVS retrievals over sea ice and
applications to estimating Arctic energy fluxes J. Geophys. Res. 99
10395-408

My apologies for the delay in replying; I've been on travel.
Mike

Michael Shell

unread,
Apr 9, 2009, 2:05:12 AM4/9/09
to
On Wed, 8 Apr 2009 16:23:55 -0700 (PDT)
Mike <rawl...@yahoo.com> wrote:

> Chiacchio M and Francis J A 2002 Evaluation of methods to estimate the
> surface downwelling longwave flux during Arctic winter J. Appl.
> Meteor. 41 306-18


Well, there may be other differences with the format as I don't
see any quotes and the .bst puts quotes around all other such
titles (e.g., booklet).

That said, you can try changing the article function to:


FUNCTION {article}
{ output.bibitem
list.label.output
" " list.year * output.nonnull
author "author" item.check

title.field field.used =
{ skip$ }
{ format.title quote "title" output.check }
if$


crossref missing$
{ journal emphasize "journal" duplicate$ item.check
" " * format.vol.num.pages * output
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
new.block
note output
fin.entry
write.url
}


and it will use the exact same title format as booklet.

To get rid of the article title quotes, just change the line:


{ format.title quote "title" output.check }


to:


{ format.title "title" output.check }


in FUNCTION {article}

Cheers,

Mike

Mike

unread,
Apr 9, 2009, 10:40:28 AM4/9/09
to
On Apr 8, 11:05 pm, Michael Shell <ne...@michaelshell.org> wrote:
> On Wed, 8 Apr 2009 16:23:55 -0700 (PDT)
>


Thanks Mike. I've made the changes. We're not quite there yet.
First, the article references are showing up with the word title
immediately after the actual article title within the reference:

Chiacchio M and Francis J A 2002 Evaluation of methods to estimate the

surface downwelling longwave flux during Arctic winter title J. Appl.
Meteor. 41 306-18

Bibliography entries that are defined as @misc have 'title' in single
quotes after the actual title.

Lastly, in my terminal window, I'm getting messages like this when I
run bibtex:

ptr=1, stack=
2005
---the literal stack isn't empty for entry Chiacchio:02
while executing---line 1322 of file ../jphysicsBNEW.bst
ptr=1, stack=
2008
---the literal stack isn't empty for entry Smith:08
while executing---line 1322 of file ../jphysicsBNEW.bst


I assume it's correct or not a problem that I'm use the natbib package

\usepackage{natbib}


Mike

Michael Shell

unread,
Apr 10, 2009, 3:30:01 AM4/10/09
to
On Thu, 9 Apr 2009 07:40:28 -0700 (PDT)
Mike <rawl...@yahoo.com> wrote:

> We're not quite there yet.
> First, the article references are showing up with the word title
> immediately after the actual article title within the reference:


It would not surprise me if I made a mistake in the code,
especially as I did not actually test it - always risky where
BibTeX script is concerned.

However, much to my surprise, it worked for me.

Now, are you using the latest jphysicsB.bst ?

http://www.ctan.org/tex-archive/macros/latex/contrib/harvard/

or, is there another jphysicsB.bst out there besides what
is in the Harvard package?

If we are going to create a new version, we might as well start
with the newest model. LOL.

If that isn't the problem, look for typos or newsreader
induced line breaks or other corruption.

For the record, my modified article function reads:


FUNCTION {article}
{ output.bibitem
list.label.output
" " list.year * output.nonnull
author "author" item.check
title.field field.used =
{ skip$ }
{ format.title quote "title" output.check }
if$
crossref missing$
{ journal emphasize "journal" duplicate$ item.check
" " * format.vol.num.pages * output
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
new.block
note output
fin.entry
write.url
}

Cheers,

Mike

Mike

unread,
Apr 13, 2009, 10:57:12 AM4/13/09
to
On Apr 10, 12:30 am, Michael Shell <ne...@michaelshell.org> wrote:
> On Thu, 9 Apr 2009 07:40:28 -0700 (PDT)
>


Success! As you suspected, it looks like there I might have been
using a version that was not the latest. I did a UNIX/Linux diff
between the version I was using and the one I downloaded from the site
at URL you listed. The difference is in the format.title function.
The first one below is from the older file, the second is from the
latest I just grabbed.

FUNCTION {format.title}
{ title
duplicate$ empty$ 'skip$
{ "t" change.case$ }
if$
"title" bibinfo.check
}


FUNCTION {format.title}
{ title empty$
{ "" }
{ title "t" change.case$ }
if$
}


Thanks for your help Mike.

Mike

incredio

unread,
Jun 11, 2009, 4:51:51 PM6/11/09
to

Actually, the IOP journal "Physic education" is anomalous, and does
include the title of the article in the reference list. The journal home
recommends the standard jphysicsB.bst, but that doesn't work until it is
edited, as advised in this thread.

0 new messages