Hi Joerg, does it not work to set a4paper directly in tex2pdf? Which version of tex2pdf do you use? The current is 2.2.0 (released today). You can find it here: http://developer.berlios.de/projects/tex2pdf/ Please, read the release information, too. Bye, Steffen On Sun, Aug 19, 2001 at 04:35:29PM +0200, Joerg Hau wrote: > 'tex2pdf' works directly with the present version I have ... with a > small problem that is related to hyperref: "If you do not specify > 'a4paper' in your options to \documentclass, [hyperref] assumes Letter > paper and overrides the entries in your pdftex.cfg file." (pdftex FAQ) > > Now, if I select to use A4 paper in LyX - no other paper-size options -, > the generated LaTeX file is fine: > > \documentclass[english,a4paper]{article} > > ... and it gives pdf output in the right size. However, when I select A4 > with some options, e.g. "very small margins", the generated LaTeX file > contains just: > > \documentclass[english]{article} > \usepackage{a4wide} > > ... which means that 'hyperref' will generate a file with "Letter" page > size! Not a problem for those in the USA, but very well a problem for > Europe as you have to edit the exported TeX file manually ;-) > > To make a long story short: The bug is apparently due to 'hyperref' ... > but wouldn't it be safer to have LyX insert the 'a4paper' statement in > '\documentclass' automatically if any "A4-related" package (such as > a4wide) is selected? Something like: > > \documentclass[english,a4paper]{article} > \usepackage{a4wide} --