From: Peter R. <p.r...@sh...> - 2015-01-08 08:31:53
|
On 07/01/15 22:00, Michael A. Morrison wrote: > control which fields JabRef exports to a bbl file > > Hi, > > I’mrelativelynew to JabRef and am unclear about how to control which > of the fieldsin a given entrywillactuallybe exported to the BibTeX in > the *.bbl file created by JabRef. For example, downloading citations > from most journal cites directly into JabRefautomaticallyfills in the > url field(and often the Doi field)in the General tab in the entry > editor. When I run BibTeX with a standard bst file (e.g., the onefor > the American Physical Society), the resulting LaTeX bibliography > contains the url even though the APS does not want it included in the > bibliography environmentI submit to the journal. The obvious way to > solvethe problem is to edit, by hand, every entry in thebibliography > environment before I submit the paper. This seems extremely > inefficient. Another obvious solution would be to editevery entry in > JabRefand remove theinformationin the url(and other unwanted fields, > such as Doi) before I run BibTeX to generate the bibliography I will > then paste into the LaTeX file I’ll submit to the journal. This > seemsanunsatisfactory solution, not onlybecauseit would be very > tedious with a long bibliography (e.g., for a review article) but also > because I would like to keep that information for future use in other > circumstances. Is there a way, within JabRef, to tellcontrolwhich > fields to include in the BibTeX it generates and which to leave out? > (I thought the Entry Export editor was the answer, but studying the > information I could find on line suggests that it’s not.) Thanks very > much.--- michael > > Michael Morrison > > Michael If you get an answer to this I (and I, suspect, many others) will be delighted! But having looked at this before at length, I think the consensus is that this is a deficiency of the bst file you are using, and not JabRef. I routinely create a paper-specific bib file so I can do things like deleting unwanted fields that the (often publisher-supplied!) bst file insists on including. One other option, which has just occurred to me and hence haven't tried, is to run sed (or a similar stream editor) on the bbl file to comment out "\newblock URL \url{" fields. If you use an IDE like TexStudio, I think it should be possible to automate this using the Macros facility? Peter |