#28 Bibkey -> Filename conversion

Next full release
pending
None
5
2012-11-24
2005-06-22
No

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

Discussion

  • Simon Fischer

    Simon Fischer - 2005-06-22

    Diff file for BasePanel.java

     
    Attachments
  • Simon Fischer

    Simon Fischer - 2005-06-22

    Diff for TabLabelPattern.java

     
    Attachments
  • Simon Fischer

    Simon Fischer - 2005-06-22

    Diff for Jabref_en.properties

     
  • Simon Fischer

    Simon Fischer - 2005-06-22

    Diff for Jabref_de.properties

     
  • Oliver Kopp

    Oliver Kopp - 2012-11-24

    The problem seems to still exist in JabRef 2.9. We're currently investigating how to integrate the idea in the current autolink infrastructure.

     
  • Oliver Kopp

    Oliver Kopp - 2012-11-24
    • status: open --> pending
    • assigned_to: Oliver Kopp
    • milestone: --> Next full release
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks