o*******e 发帖数: 186 | 1 I am compiling a .tex file to get a Slide Mode version. The .dvi file show
correctly in slide mode. But when I wanna turn it into .pdf file, the '
contents' are horizontal while the media paper is A4 portrait ( I need landscape). The '
Orientation' option in GSView does not work either. Anybody can help?
Thanks a lot. |
T*******n 发帖数: 493 | 2 You're not giving enough information about your problem.
What document class and packages are you using?
Can you post a minimal example that shows the problem?
Keep in mind the the .dvi file usually doesn't know anything
about paper size, but the DVI viewer or dvips will assume
a paper size when they render the .dvi file.
landscape). The '
【在 o*******e 的大作中提到】![](/moin_static193/solenoid/img/up.png) : I am compiling a .tex file to get a Slide Mode version. The .dvi file show : correctly in slide mode. But when I wanna turn it into .pdf file, the ' : contents' are horizontal while the media paper is A4 portrait ( I need landscape). The ' : Orientation' option in GSView does not work either. Anybody can help? : Thanks a lot.
|
o*******e 发帖数: 186 | 3 Here is the simplified version:
\documentclass[titlepage,landscape]{slides}
\usepackage{amsmath}
\usepackage[dvips]{graphicx}
\usepackage{psfig}
\hfuzz5pt
\vfuzz5pt
\pagestyle{plain}
\begin{document}
\input{inc.tex}
\end{document}
Thank you for the help. |
T*******n 发帖数: 493 | 4 You don't show inc.tex.
【在 o*******e 的大作中提到】![](/moin_static193/solenoid/img/up.png) : Here is the simplified version: : \documentclass[titlepage,landscape]{slides} : \usepackage{amsmath} : \usepackage[dvips]{graphicx} : \usepackage{psfig} : \hfuzz5pt : \vfuzz5pt : \pagestyle{plain} : \begin{document} : \input{inc.tex}
|
o*******e 发帖数: 186 | 5 Here is the simplified version: |
T*******n 发帖数: 493 | 6 How are you generating the PDF file? latex/dvips/ps2pdf, latex/dvipdf,
or pdflatex? What OS and what LaTeX distribution?
【在 o*******e 的大作中提到】![](/moin_static193/solenoid/img/up.png) : Here is the simplified version:
|
o*******e 发帖数: 186 | 7 Thank you for quick reply.
I used texify to generate the .dvi (appears to be good), and then use
dvi2pdf (bad result). I am using WinXP and CTEX and WinEdt5, MiKTeX 2.4 |
o*******e 发帖数: 186 | 8 If try to run the code above and add more contents in the {slide} part, we
can see that many of the contents are out of the page. That's problem I need
to solve. Thank you. |
T*******n 发帖数: 493 | 9 I don't use Windows, but on my Linux computer I do this:
latex file.tex
xdvi -paper usr file.dvi
(DVI files don't have information about page size, so need to tell xdvi)
dvips -t landscape file.dvi
ps2pdf file.ps
The resulting file.pdf looks okay in Acrobat Reader.
On Linux dvi2pdf actually runs dvips without the "-t landscape"
in the background, then runs ps2pdf, so the page orientation is
wrong too.
need
【在 o*******e 的大作中提到】![](/moin_static193/solenoid/img/up.png) : If try to run the code above and add more contents in the {slide} part, we : can see that many of the contents are out of the page. That's problem I need : to solve. Thank you.
|