Don't pass the letterpaper option to the geometry package when using

default paper format and margins are explicitly set.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37485 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-02-04 08:28:36 +00:00
parent ace385a559
commit 8df9fdee64
2 changed files with 4 additions and 0 deletions

View File

@ -1181,6 +1181,7 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
// default papersize ie PAPER_DEFAULT // default papersize ie PAPER_DEFAULT
switch (lyxrc.default_papersize) { switch (lyxrc.default_papersize) {
case PAPER_DEFAULT: // keep compiler happy case PAPER_DEFAULT: // keep compiler happy
break;
case PAPER_USLETTER: case PAPER_USLETTER:
ods << ",letterpaper"; ods << ",letterpaper";
break; break;

View File

@ -84,6 +84,9 @@ What's new
- Letter class: Support Quote, Quotation and Separator. - Letter class: Support Quote, Quotation and Separator.
- Don't pass the letterpaper option to the geometry package when using
default paper format and margins are explicitly set.
* USER INTERFACE * USER INTERFACE