[OS X TeX] problem with page sizes

Michael Murray mmurray at maths.adelaide.edu.au
Wed Apr 24 07:23:51 CEST 2002



OK This is driving me made. I'll bet its something simple but I can't see it.

I have a little file:

-----------
%&latex
%
\documentclass{article}


\usepackage[dvips,%
paperwidth= 115mm,%
paperheight=77mm,%
left=0.5cm,%
top=0.25cm,%
right=0.5cm,%
bottom=0.25cm,%
noheadfoot,%
verbose=true]
{geometry}



\begin{document}

Test

\end{document}
---------

I run it in TeXShop (or from the command line with altpdflatex) on my
desktop and my laptop and get different results.

On my laptop I get a small page with Test written the right way
and on my desktop a large page with Test written sideways. The  logs are

Laptop:

### This is 
/usr/local/teTeX/bin/powerpc-apple-darwin-current/altpdflatex, 
Version 2.3
### /usr/local/teTeX/bin/powerpc-apple-darwin-current/latex test.tex
This is TeX, Version 3.14159 (Web2C 7.3.7)
(./test.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, d
utch, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/local/teTeX/share/texmf/tex/latex/base/size10.clo))
(/usr/local/teTeX/share/texmf/tex/latex/misc/geometry.sty
(/usr/local/teTeX/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf/tex/latex/config/geometry.cfg)) (./test.aux)
----------------------- Geometry parameters
mode: (default papersize) nohead nofoot dvips
h-parts: 0.5cm, 298.75395pt, 0.5cm
v-parts: 0.25cm, 204.85986pt, 0.25cm
----------------------- Page layout dimensions
\paperwidth  327.20668pt
\paperheight 219.08621pt
\textwidth  298.75395pt
\textheight 204.85986pt
\oddsidemargin  -58.04362pt
\evensidemargin -58.04362pt
\topmargin  -65.15681pt
\headheight 0.0pt
\headsep    0.0pt
\footskip   0.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000
(1in=72.27pt, 1cm=28.45pt)
-----------------------
[1] (./test.aux) )
Output written on test.dvi (1 page, 256 bytes).
Transcript written on test.log.
### /usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips -R -u 
+psfonts.map -u +pdftex.map  -o /tmp/altpdflatex.2146/test.ps test.dvi
This is dvips(k) 5.86f Copyright 2001 Radical Eye Software (www.radicaleye.com)
' TeX output 2002.04.24:1445' -> /tmp/altpdflatex.2146/test.ps
<texc.pro><texps.pro>. <cmr10.pfb>[1]
### Saving intermediary ps file /tmp/altpdflatex.2146/test.ps as test.ps
### ps2pdf /tmp/altpdflatex.2146/test.ps test.pdf
### Succesfully generated test.dvi, test.pdf and test.ps


Desktop:


### This is 
/usr/local/teTeX/bin/powerpc-apple-darwin-current/altpdflatex, 
Version 2.3
### /usr/local/teTeX/bin/powerpc-apple-darwin-current/latex test.tex
This is TeX, Version 3.14159 (Web2C 7.3.7)
(./test.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, d
utch, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/local/teTeX/share/texmf/tex/latex/base/size10.clo))
(/usr/local/teTeX/share/texmf/tex/latex/misc/geometry.sty
(/usr/local/teTeX/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf/tex/latex/config/geometry.cfg)) (./test.aux)
----------------------- Geometry parameters
mode: (default papersize) nohead nofoot dvips
h-parts: 0.5cm, 298.75395pt, 0.5cm
v-parts: 0.25cm, 204.85986pt, 0.25cm
----------------------- Page layout dimensions
\paperwidth  327.20668pt
\paperheight 219.08621pt
\textwidth  298.75395pt
\textheight 204.85986pt
\oddsidemargin  -58.04362pt
\evensidemargin -58.04362pt
\topmargin  -65.15681pt
\headheight 0.0pt
\headsep    0.0pt
\footskip   0.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000
(1in=72.27pt, 1cm=28.45pt)
-----------------------
[1] (./test.aux) )
Output written on test.dvi (1 page, 256 bytes).
Transcript written on test.log.
### /usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips -R -u 
+psfonts.map -u +pdftex.map  -o /tmp/altpdflatex.7200/test.ps test.dvi
This is dvips(k) 5.86f Copyright 2001 Radical Eye Software (www.radicaleye.com)
' TeX output 2002.04.24:1447' -> /tmp/altpdflatex.7200/test.ps
/usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips: no match for 
special paper size found; using default  <*********************
<texc.pro><texps.pro>. <cmr10.pfb>[1]
### Saving intermediary ps file /tmp/altpdflatex.7200/test.ps as test.ps
### ps2pdf /tmp/altpdflatex.7200/test.ps test.pdf
### Succesfully generated test.dvi, test.pdf and test.ps


---------------------------------------------

Given the differing output its no suprise that Desktop has an error 5 
lines from the bottom that Laptop doesn't. (marked
by be <***********)

Whats driving me mad is that after reinstalling different versions of 
teTeX on both machines and
even erasing the Desktop /usr/local/teTeX by hand to make real sure 
its gone I cannot make the Laptop
have the error or stop the Desktop having the error!

What should I be looking for ?  On Gerben's pages there is mention of 
config.ps being in Mac line endings
causing problems. I looked for another config.ps but can't find one 
that teTeX could find. There are some in
OxTeX and other places.

Any thoughts. I bet I solve this 30 seconds after I post... Oh well.


Thanks - Michael


-- 
_________________________________________________________
Assoc/Prof Michael Murray
Department of Pure Mathematics       Fax: 61+ 8 8303 3696
University of Adelaide             Phone: 61+ 8 8303 4174
Australia  5005      Email: mmurray at maths.adelaide.edu.au
Home Page: http://www.maths.adelaide.edu.au/pure/mmurray
PGP public key:
http://www.maths.adelaide.edu.au/pure/mmurray/pgp.txt
University of Adelaide CRICOS # 00123M
________________________________________________________






-----------------------------------------------------------------
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.
-----------------------------------------------------------------




More information about the macostex-archives mailing list