mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
2007-04-05 Richard Heck <rgheck@brown.edu>
* bufferparams.C (writeLaTeX): output lengths as LaTeX strings (useful for foo%) (bug 3416) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17737 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b7b610c2cf
commit
1f7dd754fd
@ -1,3 +1,8 @@
|
||||
2007-04-05 Richard Heck <rgheck@brown.edu>
|
||||
|
||||
* bufferparams.C (writeLaTeX): output lengths as LaTeX strings
|
||||
(useful for foo%) (bug 3416)
|
||||
|
||||
2007-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* lyxlayout.C (Read): set labelstringappendix_ every time
|
||||
|
@ -888,19 +888,19 @@ bool BufferParams::writeLaTeX(ostream & os, LaTeXFeatures & features,
|
||||
}
|
||||
}
|
||||
if (!topmargin.empty())
|
||||
os << ",tmargin=" << topmargin;
|
||||
os << ",tmargin=" << LyXLength(topmargin).asLatexString();
|
||||
if (!bottommargin.empty())
|
||||
os << ",bmargin=" << bottommargin;
|
||||
os << ",bmargin=" << LyXLength(bottommargin).asLatexString();
|
||||
if (!leftmargin.empty())
|
||||
os << ",lmargin=" << leftmargin;
|
||||
os << ",lmargin=" << LyXLength(leftmargin).asLatexString();
|
||||
if (!rightmargin.empty())
|
||||
os << ",rmargin=" << rightmargin;
|
||||
os << ",rmargin=" << LyXLength(rightmargin).asLatexString();
|
||||
if (!headheight.empty())
|
||||
os << ",headheight=" << headheight;
|
||||
os << ",headheight=" << LyXLength(headheight).asLatexString();
|
||||
if (!headsep.empty())
|
||||
os << ",headsep=" << headsep;
|
||||
os << ",headsep=" << LyXLength(headsep).asLatexString();
|
||||
if (!footskip.empty())
|
||||
os << ",footskip=" << footskip;
|
||||
os << ",footskip=" << LyXLength(footskip).asLatexString();
|
||||
os << "}\n";
|
||||
texrow.newline();
|
||||
}
|
||||
|
@ -37,6 +37,9 @@ What's new
|
||||
|
||||
- Don't skip lines after noweb chunks in tex2lyx (bug 3052)
|
||||
|
||||
- fix bug when entering relative length (like page%) as margin
|
||||
settings (bug 3416).
|
||||
|
||||
- Fix Date external template in windows (bug 3241)
|
||||
|
||||
* USER INTERFACE:
|
||||
|
Loading…
Reference in New Issue
Block a user