* BiblioInfo.cpp (convertLaTeXCommands):

- fix parsing of thin space (\,).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32504 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-12-13 09:50:30 +00:00
parent 62adbdd307
commit e960a2bcd3

View File

@ -129,9 +129,13 @@ docstring convertLaTeXCommands(docstring const & str)
scanning_cmd = false;
}
// was the last character a \? If so, then this is something like: \\,
// was the last character a \? If so, then this is something like: \\
// or \$, so we'll just output it. That's probably not always right...
if (escaped) {
// exception: output \, as THIN SPACE
if (ch == ',')
ret.push_back(0x2009);
else
ret += ch;
val = val.substr(1);
escaped = false;