I've been trying to understand how to include DOI and URL references within
bibtex so that they come out properly formatted for APA.
The kbibtex program is very good for keeping references in a bibtex file, and
allows lots of extra functionality, like keeping the DOI and URL references
so you can just click on them and it will bring up the document. However,
apacite doesn't use these fields and I have had to code them into
the 'howpublished' bibtex field to use with either the @article{} or @misc{}
types:
howpublished = {Retrieved 20 June 2007, from \doi{101.3...}}
This of course is annoying, as it means copying the info which is already in
the doi field into the howpublished field in a formatted manner.
Does anyone know of a neat bibtex macro that would build the howpublished
field from doi{}, url{} and retrieved{} fields?
How could we add an extra type of format into apacite.bst which uses
retrieved{}, url{} and doi{} fields?
And, for lyx, only the "article(APA)" document class works with apacite
without problems. All other document classes (like books) give errors when
building the document from with lyx. This is because the \usepackage{apacite}
has to come before the \usepackage[longnamesfirst]{natbib} package, which lyx
puts first into the preample. My solution so far has been to export the lyx
document to LaTeX and then eddit the .tex file to put the apacite reference
before the natbib reference (and add the longnamesfirst correction).
Mateo.
On Wednesday 05 September 2007 11:45, Roberto Gorjão wrote:
> Thank you so much, again, Miki,
>
> The apacite documentation (I guess that was what Paul, also, was talking
> about) was of great help, specially Table1, on page 15, where reference
> types and fields are matched. That makes it so much easier to understand!
>
> I suppose that these tools are evolving and that lots of work has been
> already committed to it, but it certainly isn't easy for the newbie to
> grasp all the possibilities made available and their corresponding
> requirements. In order to be able to write my first paper (and text) in
> LyX, with an adequately formatted bibliography, I had to invest almost
> 16 hours. I guess that it was a good investment, as I'll have an easier
> time in future papers, but I'm not sure if others would be as persistent
> as I had to be.
>
> Thanks again!
>
> Roberto
>
> ------------------
>
> Miki Dovrat wrote:
> > Hi,
> >
> > By bibtex entry type, I mean "article, book, techreport, other, etc..
> >
> > By bibtex style, I mean, plain, unsrt, apsrev, whatever journal style or
> > liking fits your needs.
> >
> > The bibtex style decides what fields will show up. For instance, all
> > article bibtex styles I have tried do not display the title of the paper,
> > but do display the titles of books.
> >
> > Are the urls of papers which can be found in journals, or of technical
> > reports ? You will have to decide which is the best bibtex entry type to
> > use.
> >
> > The apacite documentation itself contains references to url's in the
> > "howpublished" field of the "misc" bibtex entry type:
> >
> > http://www.dante.de/CTAN//help/Catalogue/entries/apacite.html
> >
> > You may download the package and look at their bibtex file.
> >
> > I hope this helps you.
> >
> > Miki