View Single Post
Old 01-15-2008, 09:38 AM   #48
daudi
Addict
daudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-books
 
Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Kent, UK
Device: iRex iLiad, Psion 5MX, nokia n800
Here we go. These two layout files now create a python/jython script that when run will create the manifest file, scribble file and put the whole lot (including PDF) into a PDF container directory. You *MUST* have a PDF with exactly the same name as the bibtex key in the directory or it will crash (I have not added nice code for error handling).

The two layout files must be in together. iliad-batch-jython.layout is registered in jabref in the usual way and it will pickup the "begin" layout file when it is run.

So, the steps are now:

i) install python or get jython (as shown above)
ii) register the layout file in jabref (Options->Manage custom exports)
iii) place your (correctly named) PDFs in a directory
iv) select your refs in jabref
v) export them using the new export filter (thereby creating a python script)
vi) run the python script in the directory with the PDFs
Attached Files
File Type: txt iliad-batch-jython.begin.layout.txt (26 Bytes, 408 views)
File Type: txt iliad-batch-jython.layout.txt (1.8 KB, 417 views)

Last edited by daudi; 01-15-2008 at 10:28 AM. Reason: Clarified step ii)
daudi is offline   Reply With Quote