mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 10:11:21 +00:00
Correct margins when using twoside and geometry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@3070 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7e3ca24bd3
commit
6d1e6eff32
@ -1,3 +1,8 @@
|
||||
2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* src/buffer.C (makeLaTeXFile): Use the twoside option for the geometry
|
||||
package when necessary.
|
||||
|
||||
2001-02-21 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* src/frontends/xforms/FormDocument.C (checkMarginValues):
|
||||
|
@ -1838,6 +1838,8 @@ void Buffer::makeLaTeXFile(string const & fname,
|
||||
ofs << "\\usepackage{geometry}\n";
|
||||
texrow.newline();
|
||||
ofs << "\\geometry{verbose";
|
||||
if (params.sides == LyXTextClass::TwoSides)
|
||||
ofs << ",twoside";
|
||||
if (params.orientation == BufferParams::ORIENTATION_LANDSCAPE)
|
||||
ofs << ",landscape";
|
||||
switch (params.papersize2) {
|
||||
|
Loading…
Reference in New Issue
Block a user