I've been making slides with \documentclass{seminar} happily for years but now with my new kubuntu 8.04 distro, seminar slides come out on portrait paper (but printed as though the paper was landscape) so that the right 1/3 of the slide is cut off and there is a huge white space below the slide.
documents that compile perfectly on other machines make this problem on the kubuntu 8.04.
Any ideas?
Blake
Document Classes ⇒ portrait/landscape mess with seminar documentclass
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
portrait/landscape mess with seminar documentclass
Hi Blake,
welcome to the board!
Could you post a minimal working example showing the problem?
I'm using Ubuntu 8.04 to and would test it on my system trying to find a fix.
Stefan
welcome to the board!
Could you post a minimal working example showing the problem?
I'm using Ubuntu 8.04 to and would test it on my system trying to find a fix.
Stefan
LaTeX.org admin
Re: portrait/landscape mess with seminar documentclass
Thanks! Attached find minimal example. Works slightly differently with pdflatex but still wrong.
Blake
Blake
- Attachments
-
- example.zip
- t.tex, outputwith pdflatex, output with latex/dvips
- (19.15 KiB) Downloaded 369 times
Re: portrait/landscape mess with seminar documentclass
Even more minimal example:
\documentclass{seminar}
\begin{document}
\begin{slide}
\section{Hello!}
\end{slide}
\end{document}
\documentclass{seminar}
\begin{document}
\begin{slide}
\section{Hello!}
\end{slide}
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
portrait/landscape mess with seminar documentclass
Hi,
a very quick solution is to use pdflatex and hyperref, just load hyperref in the preamble.
hyperref will correct it, in that case there's no need to experiment using the geometry package or changing \pdfpagewidth, \pdfpageheight. But of course one could examine the hyperref source code to find out how it's done. But I don't think it's important because the seminar class is really old, the most recent version is more than 11 years old, today I'm preferring other packages, have a look at LaTeX classes designed to create presentations for classes and links or look into the TeX Catalogue.
Stefan
a very quick solution is to use pdflatex and hyperref, just load hyperref in the preamble.
hyperref will correct it, in that case there's no need to experiment using the geometry package or changing \pdfpagewidth, \pdfpageheight. But of course one could examine the hyperref source code to find out how it's done. But I don't think it's important because the seminar class is really old, the most recent version is more than 11 years old, today I'm preferring other packages, have a look at LaTeX classes designed to create presentations for classes and links or look into the TeX Catalogue.
Stefan
LaTeX.org admin
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
portrait/landscape mess with seminar documentclass
Hi,
here's a solution inspired by the hyperref code for use with pdflatex:
Just insert this into your preamble.
Stefan
here's a solution inspired by the hyperref code for use with pdflatex:
Code: Select all
\setlength{\pdfhorigin}{1truein}
\setlength{\pdfvorigin}{1truein}
\makeatletter
\setlength{\pdfpagewidth}{\strip@pt\paperheight truept}
\setlength{\pdfpageheight}{\strip@pt\paperwidth truept}
\makeatother
Stefan
LaTeX.org admin
Re: portrait/landscape mess with seminar documentclass
Thanks for the great, fast, help everyone!
B
B
Re: portrait/landscape mess with seminar documentclass
Quick follow up:
The last solution (code extracted from hyperref) still requires pdflatex to work, i.e. does not work with plain latex.
I am using seminar class and latex sometimes because of older material that I have around that I need to be compatible with.
A huge hassle is the fact that latex will only take eps files and pdflatex will not. This makes it hard to switch over to pdflatex.
Blake
The last solution (code extracted from hyperref) still requires pdflatex to work, i.e. does not work with plain latex.
I am using seminar class and latex sometimes because of older material that I have around that I need to be compatible with.
A huge hassle is the fact that latex will only take eps files and pdflatex will not. This makes it hard to switch over to pdflatex.
Blake
Re: portrait/landscape mess with seminar documentclass
pdftex can include PDF graphics, so convert your EPS files to PDF files using the tool epstopdf or the newer a2ping, which should be included in your TeX distribution. For TeXLive on Ubuntu, they are part of the package texlive-extra-utils and texlive-base-bin, respectively.