On 11/09/2013 4:44 a.m., Bob Alvarez wrote:
On 9/10/13 1:09 AM, Roel Schipper - CITG wrote:
Normally I use Adobe Acrobat, but if I am working on a Lyx file that I
want to update frequently during editing, I do the following:
- Go to you desktop, right-click a random PDF file
- From the context-menu, select "Open with..."
- One level deeper, choose "Choose default program..."
- In my situation, the PDF-viewer TeXworks is visible, if you check
"Always use the selected program to open this kind of file" then it
will work, since TeXworks doesn't lock the PDF down.
- If you don't see TeXworks, try to find it first by browsing to it,
from then on it will be in the menu
- If you want to go back to Acrobat, follow the same route.

Good luck,
Roel Schipper
Thanks, that does work but TexWorks is a limited program, for example it
does not seem to show bookmarks in pdf documents, so as you mention I
would have to switch back and forth.

I tried to change the defaults for pdf viewer in Tools|Preferences|File
Handling|File formats  and then selecting PDF in the Format dropdown menu.

The default in the Viewer: dropdown list is pdfview, which seems to
choose the system default viewer. I tried selecting Custom and the
entering the path to the texworks program but that does not work. The
message box at the bottom of the Lyx window says "successful preview
..." but the Texworks program does not open. I even tried using the
shortened path with no spaces with no luck.
C:\Progra~2\MIKTEX~1.9\miktex\bin\miktex-texworks.exe

Does anyone know how to set the Lyx pdf viewer to be different from the
system default?

Bob


With LyX 2.0.6 and Windows Vista, I changed the Viewer slot to Custom and in the right slot put texworks, just the name with no path. Using the View button successfully brought up the Texworks pdf viewer.

Andrew

Reply via email to