Re: Wrong papersize when using pdflatex

2005-04-13 Thread Paul Medwell
Uwe Stöhr wrote:
The problem is the package a4wide. It is obsolete and actual 
LaTeX-packages won't take care of it. Have also a look at

http://www.ctan.org/tex-archive/info/l2tabu/english/l2tabuen.pdf
to read what is also obsolete.
Thanks Uwe.
The document you suggested contained a few other things that I weren't 
aware of which have caused me grief in the past. For those who haven't, 
I highly recommend reading it.

Ta,
Paul


Re: Wrong papersize when using pdflatex

2005-04-13 Thread Uwe Stöhr
Paul Medwell wrote:
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to "letter" (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.
Below is an excerpt of latex code;
\documentclass[english]{article}
\usepackage{graphicx}
\usepackage{a4wide}
\begin{document}
aaa
\end{document}
If I comment out the \usepackage{graphicx} line, then the result of the 
pdflatex output is a4, otherwise it gives letter size.
The problem is the package a4wide. It is obsolete and actual 
LaTeX-packages won't take care of it. Have also a look at

http://www.ctan.org/tex-archive/info/l2tabu/english/l2tabuen.pdf
to read what is also obsolete.
To avoid using a4wide, don't use the option "very small margins" in the 
menu Layout -> Document -> Margins dialog. You should set the margins 
manually. You can also set the margins to default and use a koma-script 
document class, because this calculates the printspace automatically 
following typesetter rules.

regards Uwe


Re: Wrong papersize when using pdflatex

2005-04-13 Thread Paul Medwell
Paul Medwell wrote:
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to "letter" (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.
Sorry to reply to my own question, but I've had a bit of a play around 
with pdflatex, and have narrowed the problem down a bit.

Below is an excerpt of latex code;
\documentclass[english]{article}
\usepackage{graphicx}
\usepackage{a4wide}
\begin{document}
aaa
\end{document}
If I comment out the \usepackage{graphicx} line, then the result of the 
pdflatex output is a4, otherwise it gives letter size. So in this sense 
it seems as if the problem is a conflict with the graphicx package, 
however...if I change the first line to 
\documentclass[english,a4paper]{article} then it's all okay.

I realise that I could just use a different PDF generator, but any clues 
how I can get LyX to give pdflatex the extra flag in the document class 
definition?

Lata,
Paul


Re: Wrong papersize when using pdflatex

2005-04-12 Thread Paul Medwell
Paul Smith wrote:
On Apr 12, 2005 5:31 AM, Paul Medwell <[EMAIL PROTECTED]> wrote:
If my LyX documents contain images then the papersize of the pdflatex
output gets set to "letter" (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

Paul: have you selected A4 inside LyX? (Layout --> Document --> Paper
--> Paper size.)

Paul S,
Thanks for the suggestion - but yes, I have done this. As I say, it is 
*only* when I use pdflatex with the margins set to anything but default 
or custom, if I change either of these it will come out the selected A4.

Ta,
Paul M


Re: Wrong papersize when using pdflatex

2005-04-12 Thread Paul Smith
On Apr 12, 2005 5:31 AM, Paul Medwell <[EMAIL PROTECTED]> wrote:
> If my LyX documents contain images then the papersize of the pdflatex
> output gets set to "letter" (8.5 × 11 inch), whereas I want it to be A4.
> I don't have this problem if the margins are set to default or custom.

Paul: have you selected A4 inside LyX? (Layout --> Document --> Paper
--> Paper size.)

Paul


Wrong papersize when using pdflatex

2005-04-11 Thread Paul Medwell
Hi all,
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to "letter" (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

If I remove the images OR use a different pdf generator OR change the 
margin settings then the paper size is okay, but I would prefer having 
all of these things.

I'm guessing that if I update some packages the problem could probably 
be fixed, but I don't really want to update everything. If someone could 
suggest the exact cause that would be great.

I'm running LyX 1.3.5 (Qt) on Fedora Core 2, TeTex version 2.0.2-13. 
From what I can tell, the default paper size for pdflatex is set to A4.

Many thanks.
Lata,
Paul