export only pdf attachment - better bibtex
Hi folks, I am exporting a .bib file of my library using better bibtex. For many of my references I have multiple attachments (often this includes a "snapshot" attachment). Is there any way to export only the pdf attachments?
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
:%s/;.*/}/
will remove the semi-colon and everything after on that line and add a right curly brace to close the field. A hack for sure but would certainly be nice to have better control of this.
There's no need to fiddle with vi here, there's a setting for outputting only the filename.
I have a solution for you in the issue you opened on github. What you want can only be done with a postscript, and I've put two there; which of them you want is dependent on what you seek to achieve.