tmalsburg / helm-bibtex

Search and manage bibliographies in Emacs
GNU General Public License v2.0
464 stars 74 forks source link

escape brackets in file path for org links #319

Closed wo closed 4 years ago

wo commented 4 years ago

My PDF files are in a directory called '[A-Z]'. When I insert citations with links to the PDF into an org file, the brackets in the file path are not escaped, resulting in a malformed link of the form [[file:/foo/[A-Z]/bar.pdf][title]].

tmalsburg commented 4 years ago

Thanks for reporting this. We're using org infrastructure to generate links. This should make sure that everything is escaped properly (using whatever method org developers deem appropriate at a given time).

tmalsburg commented 4 years ago

LaTex stuff (e.g. curly braces) is now also being stripped from the title when generating links.