branch: Fix bug #6474: Tex2lyx skips all spaces in the preamble.

Partially reverting r30113 (trunk).

see r33711.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33752 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-03-15 21:25:27 +00:00
parent 074c489195
commit 32a3b921d6
2 changed files with 2 additions and 3 deletions

View File

@ -871,9 +871,6 @@ void parse_preamble(Parser & p, ostream & os,
else if (!t.cs().empty() && !in_lyx_preamble)
h_preamble << '\\' << t.cs();
// remove the whitespace
p.skip_spaces();
}
// remove the whitespace

View File

@ -104,6 +104,8 @@ What's new
- Fix a crash when a document includes itself (bug 6503).
- Fix the parsing of spaces in the preamble of tex files (bug 6474).
- Export the image when generating a preview, after an image
reload (bug 6356).