Page LayoutOpen the last Page in PDF Reader after Compilation

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
arindamp
Posts: 2
Joined: Wed Nov 21, 2012 3:38 am

Open the last Page in PDF Reader after Compilation

Post by arindamp »

I edit big documents, so it is useful for me to open the last page after compilation. Normally, the first page is opened, but by using hyperref, I can configure it to open any page at start.

Code: Select all

\usepackage[pdftex,pdfstartpage=1]{hyperref}
But there is no variable "lastpage". Can this be done in some other ways?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Open the last Page in PDF Reader after Compilation

Post by localghost »

Question also posted to {TeX} SX. Please read what our administrator thinks about that.
arindamp
Posts: 2
Joined: Wed Nov 21, 2012 3:38 am

Re: Open the last Page in PDF Reader after Compilation

Post by arindamp »

The answers in http://tex.stackexchange.com/ didn't work, so I had to post it here.
Post Reply