1

I am using JabRef to manage my bibliography. I also edited it to have extra table entries in the such as SpecialRemarks . However, I don't want these to appear in my bibtex source. So, my bibtex source is as follows:

@ARTICLE{XYZS2009,
  author = {X, Y and Z, S},
  title = {köuhr wqeröih wefdäkljwer oakwed },
  journal = {Elsevier},
  year = {2009},
  volume = {34},
  pages = {2051--2062},
  number = {12},
  doi = {10.1016/j.energy.2008.08.022},
  file = {:C$\backslash$:blblblblblblbl},
  issn = {03605442},
  keywords = {1d thermo-fluid dynamic models,diesel oxidation catalysts,diesel particulate
    filters,doc,dpf},
  publisher = {XYZ Ltd},
 url = {http://tex.stackexchange.com/questions/ask},
 SpecialRemarks = {skljfc lökasd äplasd  üpasd}

}

And with bibtex source I mean, the tab shown in the figure:

enter image description here

I don't want the timestep, file and keywords ...to appear in the bibtex source. The best way to do that in my opinion, is to add an extra table entry, say BibSourceShort, which will contain only relevant bibtex entrix that I can copy directly to my *.tex project. So I finally get only:

@ARTICLE{XYZS2009,
  author = {X, Y and Z, S},
  title = {köuhr wqeröih wefdäkljwer oakwed },
  journal = {Elsevier},
  year = {2009},
  volume = {34},
  pages = {2051--2062},
  number = {12},
  doi = {10.1016/j.energy.2008.08.022},
  issn = {03605442},
  keywords = {1d thermo-fluid dynamic models,diesel oxidation catalysts,diesel particulate
    filters,doc,dpf},
  publisher = {XYZ Ltd},
}

Does any one know how to do that?

10
  • 1
    you might want to look into building your own export filter for JabRef.
    – greyshade
    Aug 26, 2014 at 11:25
  • How did you define the ‘SpecialRemarks’ field? It isn't defined in any the bibstyle I know of. That said you can either save the bib files in two versions (with and without, if there are not too many entries). Or you can do a Search and Replace with regular expressions to remove automatically the irrelevant entries.
    – Bernard
    Aug 26, 2014 at 11:26
  • @Bernard you can do that through Options-->Preferences-->Entry table columnsand use the +button to add the fields you are interested in. Aug 26, 2014 at 11:44
  • 3
    I'm confused: the 'bibtex source' is the .bib file: you can't add stuff in JabRef and not have it in the file. As commented by others, this data will almost certainly not appear in your bibliographies as the fields will be ignored by BibTeX. WE probably need to know what you are actually after here to have a hope of helping.
    – Joseph Wright
    Aug 26, 2014 at 12:06
  • 1
    @user2536125 Following edit: As I've tried to indicate in my previous comment, the 'BibTeX source' is the content of the file. All of the other tabs are simply a 'cleaner' way to view the same data. If you want to add something to the BibTeX file it will be in the source. As Willie has mentioned and I replied, if you want a copy of the file with some data removed that is quite doable but does need a second file.
    – Joseph Wright
    Aug 26, 2014 at 12:17

1 Answer 1

3

A BibTeX database is a plain text file (.bib file): JabRef provides a convenient and powerful editing front-end but cannot store data in the file without it being in the source. As such, if you add custom fields to the database they will be in the .bib file and so JabRef will show them in the source tab (which is meant for low-level editing).

It is of course possible to make a copy of a database file and remove some data. To remove fields, JabRef offers Set/clear/rename field on the Search menu. For example, to remove the keywords field in a copy of a database you would use:

enter image description here

As I say, this modifies the database so should only be done on a copy (unless you really want to 'kill' some useless data).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .