Discussion:
Another desired feature: commandline processor
Michael R. Head
2007-04-15 18:53:45 UTC
Permalink
Hi, one more idea,

I'd like to integrate referencer into my latex build. Right now, I have
to remember to manually export to bibtex inside Referencer. What I'd
prefer is to have a commandline tool that I can add to my makefile so I
can do something like this:

%.bib: %.reflib
ref2bib --reflib=$< --bib=$@ --tag=paper

Or something along those lines. If I get a chance after all the paper
deadlines I'm facing this month, I might take a look at it, but I
figured I'd put the idea out there and see if there's any interest.

mike
--
Michael R. Head <burner at suppressingfire.org>
http://www.suppressingfire.org/~burner/
http://suppressingfire.livejournal.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3189 bytes
Desc: not available
URL: <http://icculus.org/pipermail/referencer/attachments/20070415/a368f4bf/attachment.bin>
John Spray
2007-04-17 10:30:04 UTC
Permalink
Post by Michael R. Head
I'd like to integrate referencer into my latex build. Right now, I have
to remember to manually export to bibtex inside Referencer. What I'd
prefer is to have a commandline tool that I can add to my makefile so I
%.bib: %.reflib
Or something along those lines. If I get a chance after all the paper
deadlines I'm facing this month, I might take a look at it, but I
figured I'd put the idea out there and see if there's any interest.
The Plan(tm) for this functionality is to have a "Manage BibTeX file"
function, which causes referencer to write to a certain bibtex file
every time the reflib file is saved, keeping it magically up to date.
I've been meaning to write this for a while...

The reason for doing this rather than having the command line tool is
that it's a bit more general: for instance LyX users wouldn't have a
Makefile the way LaTeX users would, but would still want this kind of
functionality. Having said that, anyone who wants to code up a
'ref2bib' should find it trivial, as simple as a Library::load and a
Library::writeBibtex.

John
John Spray
2007-04-25 11:59:29 UTC
Permalink
Post by John Spray
Post by Michael R. Head
I'd like to integrate referencer into my latex build. Right now, I have
to remember to manually export to bibtex inside Referencer. What I'd
prefer is to have a commandline tool that I can add to my makefile so I
%.bib: %.reflib
The Plan(tm) for this functionality is to have a "Manage BibTeX file"
function, which causes referencer to write to a certain bibtex file
every time the reflib file is saved, keeping it magically up to date.
I've been meaning to write this for a while...
I've now implemented this functionality in SVN, anybody who is
interested in this is encouraged to test it.

John

Loading...