Re: Producing modified bibtex output.
Markus Hoenicka <[email protected]> Fri, 13 Jul 2007 09:08:36 +0200
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Joe, Quoting Josef Karthauser <[email protected]>: > I want to add an extra field to each bibtex record, called 'EPRINT' > which would carry the value of one of the refdb tags (although I'm not > sure which one yet), perhap the UR. > > How do I go about doing this? Is it a modification to the style xml > file, or do I need to hack code? > The mapping of RIS fields to bibtex fields during data export is currently hard-wired. UR and L1-L4 are being exported as "URL = {}" entries. Some fields, most notably M1-M3 and U1-U5 are currently ignored (which is not a good thing). I believe the mapping of RIS fields to bibtex tags should remain hard-wired on the server side, as RefDB is designed as a multi-user system. The tag names could then be fixed on the client side using sed as every user sees fit. Support for U1-U5 could be added in no time if it is ok to export them to the pseudo-bibtex fields U1-U5 (which you could then change on the client side to something meaningful). I've been reluctant to export M1-M3 because their contents depend on the reference type. I'm currently in the process of disentangling these along the lines of the proposed rbib data format (see http://refdb.sourceforge.net/rbib.html). I'm not going to switch to an internal rbib representation in 0.9.9 yet, but some features are likely to get implemented anyway. This holds true for the M1-M3 fields which will be split into several fields according to their true meaning. Once that is implemented, it will be a snap to export them properly to bibtex. regards, Markus -- Markus Hoenicka [email protected] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/