mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
Use the twoside option of geometry package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3072 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8c1402faba
commit
3b9c75708d
@ -3,6 +3,8 @@
|
||||
* buffer.C (parseSingleLyXformat2Token): Insert an error inset
|
||||
when encountering an unknown token.
|
||||
(readLyXformat2): Show an error message if there were unknown tokens.
|
||||
(makeLaTeXFile): Use the twoside option for the geometry
|
||||
package when necessary.
|
||||
|
||||
2001-11-22 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
|
@ -2158,6 +2158,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