fuxialexander / org-pdftools

A custom org link type for pdf-tools
GNU General Public License v3.0
335 stars 36 forks source link

Integrate with org-noter, and a variable to custom search string seperator rather than `$$' #15

Closed smallzhan closed 4 years ago

smallzhan commented 4 years ago
  1. Integrate with org-note, as a seperate file org-noter-pdftools.el, which is from https://github.com/weirdNox/org-noter/raw/master/other/org-noter-integration.el , by fixing some issues such that `org-noter-create-skeletion' works smoothly, and pdftools links kept tidy.

  2. Add a variable org-pdftools-search-string-seperator to custom search string seperator, default to $$. $$ is not a good choice, since in latex, math equations are surrounded by $$ and it is valid for an equation appears in multi lines. In org mode, there is a so variable org-highlight-latex-and-related, if non nil, can be used to highlight the latex related syntax such as math equations, subscripts or superscripts, so if it is set to '(latex) or so, the org note file will be badly highlighted due to the $$ appears in pairs.

fuxialexander commented 4 years ago

Thanks for your efforts!