The RefTeX manual clearly describes how to mark multiple entries in a search buffer an insert them into a single \cite command, but how can you get the search buffer to contain results from multiple search terms?

For example, if I want to cite two books with different authors I need to use two different search terms to find the entries in my BibTEX database but I want them to appear in the same cite command I need them to be in the same search buffer. I have tried regular expressions like author1|author2 and author1,author2.


Searching for Author1\|Author2 works for me.

  • Thank you! I didn't think of the escape character. Is this syntax documented somewhere? – godbolt Aug 28 '12 at 14:36
  • Yes, indirectly. The help for reftex-citations mentions that it accepts a regular expression. Emacs' flavour of regular expressions is documented in the manual; section 15.6 "Backslash in Regular Expressions" mentions the syntax for alternatives. – anonymous Aug 28 '12 at 18:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.