Re: latex/pdflatex page size in teTeX
Ken Smith <[EMAIL PROTECTED]> writes:
> John Murdie <[EMAIL PROTECTED]> wrote on
> To: [EMAIL PROTECTED]
>
> > I've just had a user here point out to me that a LaTeX document typeset
> > with `latex' (from teTeX 1.0.7) is positioned 0.65" (approx 17mm)
> > further down the page than when it is typeset with pdflatex. I think the
> > DVI-typeset version is correct. The LaTeX source file is:
>
> [source file deleted]
>
> > I encourage users here to use the `a4paper' class argument, but I
> > believe that should be the default anyway.
>
> > It's almost as if pdflatex is ignoring the `a4paper'. I've not altered
> > the teTeX configuration files, but it does look as if the PDF
> > typesetting is being targetted at U.S. Letter paper.
>
> It could be your pdf reader/printer.
> I'd check your pdf configuration stuff.
> On the system here, using acroread to view and print stuff, if I look
> at the file -> page setup menu it claims to be printing on A4 paper with
> dimensions width 8.5 ins and height 11 ins.
> Clicking on the paper size and resetting A4 gives the correct A4 paper
> sizes.
>
> The systems people haven't been able to track down just what is going
> on, and are starting to suspect that acroread has US letter sizes
> built in somewhere.
The problem is that the a4paper option is not passed on to the DVI
processors unless you load some package that includes appropriate
\special commands. One possibility is
\usepackage{hyperref}
Another packages that wraps this information into \specials is the
geometry package.
If you don't use any of those packages, you have to tell your DVI
postprocessor with appropriate options about A4 paper. With pdftex,
this is usually done in pdftex.cfg. The default in teTeX is A4,
however. This should only be overriden if you don't specify the
a4paper document option, and use one of the above mentioned packages
that then inform pdftex of the user's choice of letterpaper (LaTeX's
default).
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: [EMAIL PROTECTED]
Re: latex/pdflatex page size in teTeX
John Murdie <[EMAIL PROTECTED]> wrote on To: [EMAIL PROTECTED] > I've just had a user here point out to me that a LaTeX document typeset > with `latex' (from teTeX 1.0.7) is positioned 0.65" (approx 17mm) > further down the page than when it is typeset with pdflatex. I think the > DVI-typeset version is correct. The LaTeX source file is: [source file deleted] > I encourage users here to use the `a4paper' class argument, but I > believe that should be the default anyway. > It's almost as if pdflatex is ignoring the `a4paper'. I've not altered > the teTeX configuration files, but it does look as if the PDF > typesetting is being targetted at U.S. Letter paper. It could be your pdf reader/printer. I'd check your pdf configuration stuff. On the system here, using acroread to view and print stuff, if I look at the file -> page setup menu it claims to be printing on A4 paper with dimensions width 8.5 ins and height 11 ins. Clicking on the paper size and resetting A4 gives the correct A4 paper sizes. The systems people haven't been able to track down just what is going on, and are starting to suspect that acroread has US letter sizes built in somewhere. > What should I check? -- > John A. Murdie > Experimental Officer (Software) > Department of Computer Science > University of York > England Ken Smith [EMAIL PROTECTED]
Re: latex/pdflatex page size in teTeX
On 21 Jan, [EMAIL PROTECTED] wrote:
> I've just had a user here point out to me that a LaTeX document typeset
> with `latex' (from teTeX 1.0.7) is positioned 0.65" (approx 17mm)
> further down the page than when it is typeset with pdflatex. I think the
> DVI-typeset version is correct. The LaTeX source file is:
>
> \documentclass[a4paper,12pt]{article}
> \begin{document}
> \title{A \LaTeX2\ article}
> \author{John A. Murdie,\\
> Department of Computer Science,\\
> University of York.}
> \maketitle
> \section{The first section}
> This is text in the first section \cite{gms:latex}.
> \subsection{The first sub-section}
> This is text in the first sub-section \cite{kn:gnus}.
> \subsubsection{The first sub-sub-section}
> This is text in the first sub-sub-section.
> \section{The second section}
> This is text in the second section \cite{la:latex}.
> \section{The third section}
> This is text in the third section.
> \bibliographystyle{plain}
> \bibliography{article}
> \end{document}
>
> I encourage users here to use the `a4paper' class argument, but I
> believe that should be the default anyway.
>
> It's almost as if pdflatex is ignoring the `a4paper'. I've not altered
> the teTeX configuration files, but it does look as if the PDF
> typesetting is being targetted at U.S. Letter paper.
>
> What should I check?
The typeset output from pdflatex was fine - it was the latex typeset
output printed with dvips that was wrong!
So, I should check that the dvips configuration file `config.ps' has A4
paper set as a default. I'm so used to doing my own installations of
everything, it never occurred to me that someone else's configuration
(in this case) might not be what we want. The `0.65"' I saw was a big
clue - it was actually the 0.69" difference between the heights of US
Letter and A4 paper. :-)
Sorry I decreased the signal/noise ratio on this list temporarily!
--
John A. Murdie
Experimental Officer (Software)
Department of Computer Science
University of York
England
Re: latex/pdflatex page size in teTeX
John Murdie wrote:
>
> I've just had a user here point out to me that a LaTeX document typeset
> with `latex' (from teTeX 1.0.7) is positioned 0.65" (approx 17mm)
> further down the page than when it is typeset with pdflatex. I think the
> DVI-typeset version is correct. The LaTeX source file is:
>
> \documentclass[a4paper,12pt]{article}
> \begin{document}
> \title{A \LaTeX2\ article}
> \author{John A. Murdie,\\
> Department of Computer Science,\\
> University of York.}
> \maketitle
> \section{The first section}
> This is text in the first section \cite{gms:latex}.
> \subsection{The first sub-section}
> This is text in the first sub-section \cite{kn:gnus}.
> \subsubsection{The first sub-sub-section}
> This is text in the first sub-sub-section.
> \section{The second section}
> This is text in the second section \cite{la:latex}.
> \section{The third section}
> This is text in the third section.
> \bibliographystyle{plain}
> \bibliography{article}
> \end{document}
>
> I encourage users here to use the `a4paper' class argument, but I
> believe that should be the default anyway.
>
> It's almost as if pdflatex is ignoring the `a4paper'. I've not altered
> the teTeX configuration files, but it does look as if the PDF
> typesetting is being targetted at U.S. Letter paper.
>
> What should I check?
> --
I just encountered a similar problem in reverse. Look at the
pdftex.cfg file. Mine was set up for A4 paper, but I was printing
on US letter paper. It should be in $TEXMF/pdftex.
Joe
--
Joseph A. Reuter, Wizard-in-Training [EMAIL PROTECTED]
"Olorin I was in my youth in the West that is forgotten."--Tolkien
You can't win, you can't break even, and it's the only game in town.
Re: latex/pdflatex page size in teTeX
On 2002-01-21 12:25:18 +, John Murdie wrote: > I've just had a user here point out to me that a LaTeX document typeset > with `latex' (from teTeX 1.0.7) is positioned 0.65" (approx 17mm) > further down the page than when it is typeset with pdflatex. I think the > DVI-typeset version is correct. The LaTeX source file is: Are you shure that you are not printing with "fit to page" set? Best regards Martin -- http://www.tm.oneiros.de/calendar/2002/
