TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to have two independent file viewers for SumatraPDF and Acrobat using the same file format (pdflatex=pdf2). What is the easiest way to achieve this?

The viewer seems to be connected to the file format so I either use one or the other right not. But I would love to be able to switch between the two!

Sumatra gives you forward and inverse search, but Acrobat prints nicely.

share|improve this question
In Sumatra you can open a file in Reader by selecting File --> Open in Adobe Reader. So you could use Sumatra as default, and if you want to check how it looks in Reader, or print it, use that feature. – Torbjørn T. Dec 3 '11 at 0:21

If you can set your own program as a PDF viewer, the easiest is to write a script that calls both viewers, and to instruct LyX to use this script as PDF viewer. If you are under Unix, the script would be something like

sumatraPDF "$@" &
acroread "$@" &

However, you are probably using Windows: in that case you could create a batch file with something like

start "sumatraPDF" "/path/to/sumatraPDF.exe %1 %2"
start "Acrobat" "/path/to/acrobat.exe %1 %2"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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