On 02.05.2008, at 05:45, adam_taylor wrote:


Folks,

I am a new LyX user, and have a very basic question. I am using Lyx 1.5.1
under Ubuntu 7.10.  I believe the TeX system is TeXLive.

I created a new document (of class article), wrote a few lines in it, and
then wanted to make a PDF.  I selected View > PDF (pdflatex), and then
looked at the resulting document in Evince. It seems to have two problems
(as least, problems for me).  First, the paper size is A4, and I would
prefer Letter. Second, it seems to be using bitmap fonts (Postscript Type 3, I think), rather than outline fonts. I tried to fix the A4 problem by
setting the paper size in Document > Settings... to "Letter" and then
re-making the PDF, but it still seems to be A4. I tried the two other ways of producing PDFs, dvipdfm and ps2pdf, and both solve the page size problem,
but not the bitmap font problem.  Nevertheless, I like the fact that
pdflatex goes directly from the source LaTeX file to a PDF, so it would be
nice to get the page size right with pdflatex...

Does anyone have any suggestions about how to fix these things?


Yeah, I remember this problem - quite confusing.

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg58912.html

Short summary: The document size options in LaTeX (hence LyX) just specify the *logical* paper size for which the output should be rendered. LaTeX does not deal with *physical* paper sizes, which are in the responsibility of the backend driver. Hence, the phyiscal paper size has to be passed by some /special commands or magic options to pdflatex. (AFAIR pdflatex uses defaults that probably depend on your locale settings. I would assume that there is a config file somewhere under /etc.)

IIRC, I solved the issue with the help of the hyperref package. I guess it was the "letterpaper" option that let hyperref generate the necessary \special commands for pdflatex.


Daniel


Reply via email to