Hello everyone,
I'd like Adobe Reader to preserve the view of the current document when I work with TeXnicCenter, that is, I want that it sets the last page/zoom scale on reopen when I recompile the file. By default, a new file is always opened with the first page and the default zoom scale.
Adobe Reader has an option for that in the settings. However, when I recompile the file and the checksum hence changes, the Reader regards it as a totally new document and discards the previous view settings, again showing the first page.
I digged into the DDE Reference from Acrobat. There exist commands to set the scale and current page number, however, there is no way to read the current page number/view, which renders this option unusable. Adobe also provides an OLE Interface which is more poweful, but is only provided by Adobe Acrobat and not the Reader...
I'm a bit stuck now, does anyone know another way to accomplish what I want?
Thanks in advance
General ⇒ Preserve Adobe Reader View
Preserve Adobe Reader View
This is not possible with Adobe Reader. You should try Sumatrapdf (http://blog.kowalczyk.info/software/sumatrapdf/). See also http://william.famille-blum.org/blog/.
Martin.
Martin.
Preserve Adobe Reader View
You can append [MenuitemExecute("GoBack")] to your DDE command in order to return to previous view after reload.
Cheers,
Tomek
Cheers,
Tomek
Re: Preserve Adobe Reader View
Thanks for your help.
I tried SumatraPDF. It reloads the changes indeed, however it crashes about every second time I recompile the file on both my desktop and my laptop...which is kind of annoying.
The "[MenuitemExecute("GoBack")]" trick doesn't work for me, it still always opens the first page of the document.
I tried SumatraPDF. It reloads the changes indeed, however it crashes about every second time I recompile the file on both my desktop and my laptop...which is kind of annoying.
The "[MenuitemExecute("GoBack")]" trick doesn't work for me, it still always opens the first page of the document.
Preserve Adobe Reader View
I've seen somewhere that this doesn't work with new versions.flar wrote:The "[MenuitemExecute("GoBack")]" trick doesn't work for me, it still always opens the first page of the document.
From other alternatives you can try PDF-XChange Viewer. This one remembers the last view (settable in preferences). It locks open files but you can close files from the command line with /close switch.
Cheers,
Tomek
Re: Preserve Adobe Reader View
Works fine, thanks a lot!
Preserve Adobe Reader View
Did you set the right DDE commands? They are not the same as for Adobe Reader. See http://code.google.com/p/sumatrapdf/wiki/DDEcommands.flar wrote:Thanks for your help.
I tried SumatraPDF. It reloads the changes indeed, however it crashes about every second time I recompile the file on both my desktop and my laptop...which is kind of annoying.
The "[MenuitemExecute("GoBack")]" trick doesn't work for me, it still always opens the first page of the document.
Sumatrapdf has the advantage that it supports forward and inverse search, like YAP.
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Preserve Adobe Reader View
Oh, that's an interesting matter. I have to take a look at that (for the case I will work under Windows in the future).MartinC wrote:[...] Sumatrapdf has the advantage that it supports forward and inverse search, like YAP.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1