Suppose I do
helm-do-ag on my tex-files, I can select a file on the results list and get a preview in another buffer by pressing tab. Is there a way (by pressing another key, not by redefining tab), to preview the corresponding pdf-file (if available) instead?
Another idea would be to define a variant of 'helm-follow-mode' say 'helm-tex-pdf-follow-mode' which previews the compiled pdf of the corresponding tex file if existend.
You may say that I could use pdfgrep, but with grep on the source files, I can for example find files containing specific comments (for example tags), not contained in the pdf-file or you can better search for math formulas.