GNOME Bugzilla – Bug 613449
Open file on a specific absolute page number
Last modified: 2010-04-01 11:05:42 UTC
Would it be possible to have a command line option to open a file in a specific page number (absolute based, not label based)? Submitted via evince-list@gnome.org [1] by D M German <dmg@uvic.ca> [1] http://mail.gnome.org/archives/evince-list/2010-March/msg00003.html
Created attachment 156644 [details] [review] Fix #613449 open a file in a specific page number (absolute based, not label based) Author: D M German <dmg@uvic.ca>
There are several problems in the patch: - Page number shouldn't be 0 based, that's for internal use only, we always expose to user that first page is 1. Command line interface should be consistent with GUI. - What happen if both -p and -i options are provided? Page label takes precedence, which I think is good, but global_dest is leaked. I've just fixed these issues and pushed the patch to git master. Thank you very much.
*** Bug 604328 has been marked as a duplicate of this bug. ***