Hi Greg, In fact, someone had already filed a bug report in November, but it was closed apparently with no other solution than requiring users to use a previous version of BibDesk (1.3.17 or earlier) to do the import from PubMed, which is, in my opinion, not very useful. This is:
http://sourceforge.net/tracker/index.php?func=detail&aid=2333712&group_id=61487&atid=497423 I added a comment a few days ago, but admittedly, it's probably not very useful either to add a comment to a closed bug report. I haven't looked very carefully to your patch and I tend to get a bit lost with regexp's... did you take into account that DP has sometimes only the year, sometimes year+month and sometimes year+month+day. If so, I would also like to see this patch committed. Yep, BibDesk is great stuff! Happy new year to all, especially to those who suffer, Miguel Le 3 janv. 09 à 08:15, Gregory Jefferis a écrit : > Hello, > > I've noticed recently that when importing records from PubMed (eg > via the > built in search) the BibTex Year field ends up with the full > contents of > PubMed's DP (Date of Publication) field which looks like: > > DP - 1975 Oct 27 > > This is annoying because BibTex expects that field to have nothing > but the > year and I end up malformed author-year citations looking like: > > (Jones et al., 2007 Jan 21) > > Have others noticed this? I'm not sure what's changed, perhaps > something at > the PubMed end, but looking at the current code, the problem seems > to be > that DP is translated into the BibTex Year field without any further > processing. It seems to me that it should be split into the BibTex > Year and > Month fields respectively. Does that sound right? > > Finally this seems a good time of year to thank all of the > developers for > making BibDesk such a useful application. > > Best wishes, > > Greg. > > PS After a bit more poking around, I've submitted a bug report > #2483379 > including a patch against current svn trunk which fixes this for > me. The > patch is also at: > > http://pastie.org/351410 > > It would be great if one of the developers could give it the once > over and > fix/commit. > > -- > Gregory Jefferis, PhD [email protected] > Division of Neurobiology LMB Lab: +44 (0)1223 > 252943 > MRC Laboratory of Molecular Biology, LMB Office: +44 (0)1223 > 252944 > Hills Road, LMB Fax: +44 (0)1223 > 402310 > Cambridge, CB2 0QH, UK. Voicemail: +44 (0)1223 > 339899 > > http://www2.mrc-lmb.cam.ac.uk/NB/jefferis_g > http://www.neuroscience.cam.ac.uk/directory/profile.php?gsxej2 > http://flybrain.stanford.edu > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Bibdesk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bibdesk-users > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > -- Miguel Ortiz Lombardía Architecture et Fonction des Macromolécules Biologiques UMR6098 ( CNRS, U. de Provence, U. de la Méditerranée ) Case 932 163 Avenue de Luminy 13288 Marseille cedex 9 France Tel : +33(0) 491 82 55 93 Fax: +33(0) 491 26 67 20 e-mail: [email protected] Web: http://www.pangea.org/mol/spip.php?rubrique2 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ _______________________________________________ Bibdesk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-users
