white space

remove superfluous newline in .tex output


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5532 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-10-28 13:10:12 +00:00
parent 892e858adf
commit d70669586b
2 changed files with 3 additions and 2 deletions

View File

@ -141,6 +141,7 @@ void MathDelimInset::maplize(MapleStream & os) const
os << left_ << cell(0) << right_;
}
void MathDelimInset::mathematicize(MathematicaStream & os) const
{
if (isAbs()) {
@ -154,7 +155,6 @@ void MathDelimInset::mathematicize(MathematicaStream & os) const
}
void MathDelimInset::mathmlize(MathMLStream & os) const
{
os << "<fenced open=\"" << left_ << "\" close=\""

View File

@ -915,7 +915,8 @@ void MathGridInset::write(WriteStream & os) const
os << cell(index(row, col)) << eocString(col, lastcol);
os << eolString(row, os.fragile());
// append newline only if line wasn't completely empty
if (!emptyline)
// and this was not the last line in the grid
if (!emptyline && row + 1 < nrows())
os << "\n";
}
string const s = verboseHLine(rowinfo_[nrows()].lines_);