On Fri, Jul 23, 2010 at 10:17 AM, Paul Johnson <pauljoh...@gmail.com> wrote:
> Hi, everybody. > > In the last year or so, I've been testing services like CiteULike and > Zotero to build a biblio database as I research. This works pretty > well to output the citations to a bib file and work with LyX. > > I notice only one substantial problem. The citations from those online > services have extraneous information that I don't want to appear in > the bibliography. But when I use natbib citations with a format like > "apalike" (or any other, as far as I can tell), the extra info in the > bibtex data base comes into the final document. I'm now pasting from > the pdf output from LyX > > L’Ecuyer, P., Simard, R., Chen, E. J., and Kelton, W. D. (2002). An > Object-Oriented Random- > Number package with many long streams and substreams. Operations > Research, 50(6):1073–1075. > ArticleType: primary_article / Full publication date: Nov. - Dec., > 2002 / Copyright  c 2002 > INFORMS. > > > The part that starts ArticleType and goes to the end is extraneous, > should not be printed. > > The only fix I have found is to go through the bib file and just > manually delete that stuff. > > But I know there must be a better way. yes? > > pj > I have encountered the same problem and my solution is to exclude the bibtex field(s) containing the extra information from the final output. This is relatively easy with biblatex.: for the "note" field, for instance, I just add a command like \DeclareFieldFormat{note}{} to the preamble. Similarly for other fields. Standard bibtex may require tweaking the appropriate style file (apalike.bst, for instance), a feat I never attempted. Cheers, Stefano > > -- > Paul E. Johnson > Professor, Political Science > 1541 Lilac Lane, Room 504 > University of Kansas > -- __________________________________________________ Stefano Franchi Department of Philosophy Ph: (1) 979 862-2211 Texas A&M University Fax: (1) 979 845-0458 College Station, Texas, USA