1

I have a request, one of which I am not certain attainable. Recently I have gone from taking notes in Evernote, to just taking notes using my latex distribution, by reason of the fact that whenever I had to type of an equation in Evernote, I had to go to the website http://www.codecogs.com/latex/eqneditor.php, and generate an image, which I found particularly annoying. I also like using latex because it is allows for a lot of customization. However, one thing that I did enjoy about Evernote was the fact that all my notes were contained in one area, and every single note was capable of being searched at once.

Here comes my request: Does anyone know of a way of making all of the pdf files that I generate from my latex distribution searchable, without actually having to open each individual pdf, and searching through it?

  • 1
    This depends on the type of operating system you're working within. If you're using a Linux box or a Mac, you can search your text files from the command line using grep -rIn <search string>. This will recursively look through the directory hierarchy from whichever directory to you start the search. It's been a while since I've done anything like this on a windows machine; so, I'll leave that for someone else to answer. – A.Ellett Feb 16 '14 at 17:34
  • I am in fact using a Windows machine. Thank you, A.Ellett, for the hope, however, seeing as you are saying that it is possible :) – Mack Feb 16 '14 at 17:39
  • Have you considered cygwin? It gives you a Linux-like terminal. When I had a windows machine, I did a lot of my work within cygwin. It allowed me to compile LaTeX documents, run perl scripts, and do file searches as suggested in my earlier comment. – A.Ellett Feb 16 '14 at 18:12
  • @A.Ellett: grep is the wrong command for searching pdfs, as they can contain binary. – Martin Schröder Feb 17 '14 at 10:59
  • 1
    @MartinSchröder I wasn't intending to suggest searching for the pdf's. I assume since the OP was creating the pdf's, a grep search would find the original text files used to create them. – A.Ellett Feb 17 '14 at 16:25

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.