diff --git a/src/tex2lyx/preamble.cpp b/src/tex2lyx/preamble.cpp index 1e8f038866..608a9c0519 100644 --- a/src/tex2lyx/preamble.cpp +++ b/src/tex2lyx/preamble.cpp @@ -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 diff --git a/status.16x b/status.16x index 43dd48c4cb..d20df98647 100644 --- a/status.16x +++ b/status.16x @@ -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).