Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
1  
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

1 Answer 1

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

#!/usr/bash
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

 
discard

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.