[Mac OS X TeX] Seminar/Landscape

Ross Moore ross at ics.mq.edu.au
Sat Oct 27 08:48:21 EDT 2001



> Yes I've tried pdflatex too, with the same results.
> Moreover, I prefer the dvips - ps2pdf route, since I use the hyperref 
> package and it produces great hyperlinks within the pdf file. (pdftex 
> doesn't do that, right?)

Quite wrong.
 hyperref  works perfectly with pdflatex .
Indeed, there are may be some features that only pdflatex can provide.

To get your slides to show as landscape orientation
on a landscape page, you need some code that sets
the  \pdfpagewidth  and  \pdfpageheight correctly.

This should happen with  \usepackage{hyperref} .

It doesn't happen automatically in older LaTeX macro
packages, since they were not written with PDF in mind.
Note that 'landscape' for dvips and printed pages means
'rotate the text' to fit on the page.
Whereas with PDF it is the underlying white rectangle representing
the page that needs to be rotated, or specified with a different
size to a normal portrait page.


If hyperref, or your LaTeX documentclass doesn't get it right
automatically, then you can do it yourself, using:

\AtBeginDocument{%
  \pdfpageheight = \paperheight
  \pdfpagewidth = \paperwidth
}

or 

\AtBeginDocument{%
  \pdfpageheight = \paperwidth
  \pdfpagewidth = \paperheight
}

One of these should work.
Which one, may depend upon what other macro packages
have been loaded.


Hope this helps,

	Ross Moore

 
> - Hemant
> 
> On Saturday, October 27, 2001, at 04:18 AM, Gerben Wierda wrote:
> 
> > Have yo tried to create pdf with pdflatex and then use Acrobat to view?
> >
> > G
> >
> > On Saturday, October 27, 2001, at 04:23 , Hemant Bhargava wrote:
> >
> >> Hi -
> >>
> >> I am using the "seminar" package to create slides, and am having some 
> >> difficulty in generating landscape slides -- I've tried this in both 
> >> CMacTeX and TeXShop on OSX.
> >>
> >> The problem is that the pages show up in portrait mode, with the right 
> >> part of the landscape page chopped off. This is true for all cases: 
> >> .dvi, .ps, and .pdf.
> >>
> >> I have tried various variants and combinations of the following:
> >>
> >> \documentclass[slidesonly,landscape]{seminar}
> >> %\documentclass[slidesonly]{seminar}
> >> \renewcommand{\printlandscape}{\special{landscape}}
> >> %\def\printlandscape{\special{landscape}}
> >>
> >> Before this I was successfully able to generate landscape slides using 
> >> OzTeX on OS 9 -- but in order to get landscape slides, I had to go 
> >> into the dvi previewer, switch the view to landscape mode, and then 
> >> run dvips. I don't find an equivalent step when using either CMacTeX 
> >> or TeXShop.
> >>
> >> Any thoughts appreciated .. thanks in advance.
> >>
> >> - Hemant Bhargava
> 
> 
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------


-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------





More information about the MacOSX-TeX mailing list