LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] LaTeX hyperref pdfstartview(?) "Fit Width" - how?

[ILUG] LaTeX hyperref pdfstartview(?) "Fit Width" - how?

Daren Nestor daren at skynet.ie
Wed Jul 25 17:23:04 IST 2007


On Wed, 25 Jul 2007, Brian Foster wrote:

> Using latex (or pdflatex):
>
>    pdfTeX 3.141592-1.40.3-2.2 (Web2C 7.5.6)
>
> with the hyperref package:
>
>    2007/02/07 v6.75r Hypertext links for LaTeX
>
> (both from the TeX Live 2007 DVD), how do I arrange
> for a default acroread(1) viewing size of “Fit Width”?
> Or of “Fit Visible”?
>
> The PDFs nominally generated end up as “Fit Page”,
> which is unreadable, so the readers/users have to
> click  |View| → |Fit Width|  (or similar; e.g.,
> Ctrl-2).  I consider this both annoying and silly.
>
> The hyperref doc mentions the package option
> “pdfstartview” with a default value of “Fit”,
> but does not list other possible values (albeit
> there is an incomprehensible example of “FitBH”,
> whatever that is!).  Obvious guesses such as
> “FitWidth” and “Width” just cause acroread v7.0
> to pop up an error saying the guess is unknown.
>
> That incomprehensible example (see §4.2, “Utility
> Macros”, in the hyperref manual) sort-of seems to
> do what I want (on quick tests), but since I'm
> uncertain what it really is doing, I'm reluctant
> to use it ....  ;-\

The options are:

The following are possible values for the pdfview and pdfstartview parameters.

XYZ 	left top zoom 	Sets a coordinate and a zoom factor. If any
 			one is null, the source link value is used. null
 			null null will give the same values as the current
 			page.
Fit 			Fits the page to the window.
FitH 	top 		Fits the width of the page to the window.
FitV 	left 		Fits the height of the page to the window.
FitR 	left bottom	Fits the rectangle specified by the four
 	right top 	coordinates to the window.
FitB 			Fits the page bounding box to the window.
FitBH 	top 		Fits the width of the page bounding box to
 			the window.
FitBV 	left 		Fits the height of the page bounding box to
 			the window.

from the manual that comes with the hyperref package (Section 3.6 page 9 
middle of the page).

--
Daren Nestor


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell