<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title>Recent changes to 28: Bibkey -&gt; Filename conversion</title><link href="http://sourceforge.net/p/jabref/patches/28/" rel="alternate"></link><id>http://sourceforge.net/p/jabref/patches/28/</id><updated>2005-06-22T08:13:33Z</updated><entry><title>Bibkey -&gt; Filename conversion</title><link href="http://sourceforge.net/p/jabref/patches/28/" rel="alternate"></link><updated>2005-06-22T08:13:33Z</updated><published>2005-06-22T08:13:33Z</published><author><name>Simon Fischer</name><uri>http://sourceforge.net/u/simonfischer/</uri></author><id>http://sourceforge.neta2e299e30bfbfab1e4368bfdd2b8f882f62bde30</id><summary type="html">Ticket 28 has been modified: Bibkey -&gt; Filename conversion
Edited By: Oliver Kopp (olly98)
Status updated: u'open' =&gt; u'pending'
_milestone updated: '' =&gt; u'Next full release'
Owner updated: None =&gt; u'olly98'</summary></entry><entry><title>Bibkey -&gt; Filename conversion</title><link href="http://sourceforge.net/p/jabref/patches/28/" rel="alternate"></link><updated>2005-06-22T08:13:33Z</updated><published>2005-06-22T08:13:33Z</published><author><name>Simon Fischer</name><uri>http://sourceforge.net/u/simonfischer/</uri></author><id>http://sourceforge.net020412e04a4164b9d91605af1fccf5a05bc9a2ae</id><summary type="html">Hi,

Usually my bibtex keys look like this

  FirstAuthor/SecondAuthor:SomeWordsOfTitle:05

and I use filenames based on these keys for pdf and ps
files. However, I do not want the slashes in the
filename, so I replace them by "\_". Attached is a patch
that adds two TextFields to the pattern tab into which
the user can enter a regular expression and a
replacement for this expression. When files are
searched based on the BibTeX key, the replacement is
applied using basefile.replaceAll\(,\). I think that
could be useful for others, too.

Using the regular expression \[:/\] and the replacement
"\_" works fine for me.

Cheers,
Simon
</summary></entry></feed>