General ⇒ Preserve Adobe Reader View
Preserve Adobe Reader View
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Preserve Adobe Reader View
Martin.
Preserve Adobe Reader View
Cheers,
Tomek
Re: Preserve Adobe Reader View
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
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: 9202
- 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.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10