Re: pdf files do not display correctly
- From: Dan <luecking@xxxxxxxx>
- Date: Fri, 1 Feb 2008 09:46:48 -0800 (PST)
On Feb 1, 2:36 am, r...@xxxxxxxxxxxx (Robin Fairbairns) wrote:
xngse <n...@xxxxxxxxx> writes:
I installed mactex and the tex files compiled and print correctly.
If I do latex and the use xdvi to display the dvi file, it comes out
fine on the screen.
If I do pdflatex, the pdf file will print out on letter size paper
correct, but the display on the screen is messed up. It seems like one
screen displays 3/4 of a page. After two page downs, I would be on
page 1.5 instead of p.2.
I wouldn't call that "messed up" it's just a different zoom level than
in xdvi. It might take nothing more than editing the preferences in
whatever software is used to display the PDF. Under windows, with
Acrobat Reader, it is a menu: [Edit]->[Preferences]->[Page Display].
Of course, PDF files can contain an "page view on open" setting that
overrides the user's preferences (at least in Acrobat Reader).
[...]
the most likely thing is that you've got a default pdf start view of
"FitH"; i _think_ the correct one is "FitV". however, i know of no
way of setting this parameter other than using hyperref.
The correct _default_ (in my opinion) is for the PDF file
to do nothing for the start view and let the user's defaults
prevail (in whatever software is used to view PDFs).
One can achieve that (using hyperref) with something
like
\usepackage[pdfstartview={XYZ null null null},%
%otheroptions
]{hyperref}
I _think_ the default in pdflatex without hyperref is to not include
any page view action (letting the reader defaults hold.
fwiw, i always use FitH, since it allows me actually to read the stuff
on the screen -- with FitV the text is too small for my aged eyes.
This is also my Acrobat Reader preference (and gsview
default) for _reading_ PDF files (I also have aged eyes), but
for _building_ PDF files I use the above. As the eyes age, I am
leaning toward a fixed scaling of about 150-200%. However, as
monitors keep getting larger I am able to hold off on that.
To test non-hyperref defaults, I created files with hyperref
(no options) and without it, by three routes each:
pdflatex, latex+dvipdfmx, and latex+dvips+ps2pdf. All
three hyperref files opened in FitV (fit vertical dimension
to window) and the other three opened in FitH (fit horizontal
page dimension to window, my AcroRd preference setting).
If I turn off that preference (selecting "automatic" in the
display preference dialog), all of them open in FitV.
I'm guessing all three routes without hyperref include
opening page display setting.
something like:
\usepackage{ifpdf}
\ifpdf
\usepackage[pdfstartview=FitV]{hyperref}
\fi
may help. this won't make any difference if (a) you're using a reader
that doesn't honour pdfstartview, or (b) i've got it wrong.
I think the OP should accept that he will often have to change
the settings when viewing PDF files. There are a lot of PDF
producers out there who think they know better than the
consumer what view their PDFs should start in. :-(
in the latter case, someone who knows what they're talking about may
be along soon...
Which is not to say that I know what I'm talking about, but I did
look at a few PDFs before replying.
Dan
.
- References:
- pdf files do not display correctly
- From: xngse
- Re: pdf files do not display correctly
- From: Robin Fairbairns
- pdf files do not display correctly
- Prev by Date: Re: pdf files do not display correctly
- Next by Date: Re: Uppercasing the first character of an expanded macro arg?
- Previous by thread: Re: pdf files do not display correctly
- Next by thread: Re: pdf files do not display correctly
- Index(es):
Relevant Pages
|