From: Christopher O. <oe...@oe...> - 2006-08-07 08:53:27
|
Hi Michael, that clarifies it. I actually have a patch that does exactely what yo= u = want (make auto work for all file-types), but since it is experimental, = we = did not want to include it in 2.1. If you check out CVS you can activate it yourself by modifying the = ExternalFilePanel.java Change the line: String found =3D Util.findPdf((String) o, fieldName, dir, off); to String found =3D Util.findFile(getEntry(), null, dir, = ".*[bibtexkey].*\\.(pdf|html|txt|ps)"); or generally String found =3D Util.findFile(getEntry(), null, dir, ".*[bibtexkey].= *"); Greetings, Christopher On Mon, 07 Aug 2006 00:50:33 +0200, Michael Chen = <van...@gm...> wrote: > Dear Christopher, > > Several entries have PDF links. I have recently moved associated PDF > files into another subdirectory which is under the Main PDF directory.= > Hence all PDF links for these files are not right anymore. However > once I click the "Auto" button for "PDF", JabRef find these PDF files,= > and set correct links to them. This is great. > > I also use PDF links to store links to .txt or .html files too. And > once I moved these .txt or .html files to a subdirectory under Main > PDF directory, I would like JabRef to reset these links once a user > click "Auto" button. > > Hopeful it clarifies. > > Michael > > On 8/6/06, Christopher Oezbek <oe...@oe...> wrote: >> Hi Michael, >> I don't totally understand your bug to fix it. Can you post a = >> testcase >> of what you would like JabRef to do? >> >> Something like >> >> "I have >> >> @INPROCEEDINGS{YeKis03, >> author =3D {Ye, Yunwen and Kishida, Kouichi}, >> title =3D {{T}oward an understanding of the motivation of {O}pen = >> {S}ource >> {S}oftware >> developers}, >> booktitle =3D {Proceedings of the of the 25th International Confer= ence = >> on >> Software-Engineering >> (Portland, Oregon)}, >> year =3D {2003}, >> pdf =3D {YeKis03 - Toward an understanding of the motivation of Op= en >> Source Software developers.pdf} >> } >> >> and pdf repository is /home/chen/papers/ >> >> When I move it to /home/chen/papersNew/ then..." >> >> Thank you. >> Christopher >> >> On Fri, 04 Aug 2006 23:08:00 +0200, Michael Chen >> <van...@gm...> wrote: >> >> > hi, I have been using JabRef for a while, it works great. One thing= I >> > am worrying is the link to file formats other than .PDF or .PS. Onc= e I >> > relocate the main repository, only links to PDF and PS files can be= >> > updated easily by Tools-Scan database->synchronize PDF links. How c= an >> > I also update links to other files? Thanks. >> > >> >> >> |