* BiblioInfo.cpp (convertLaTeXCommands):

- fix parsing of thin space (\,).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32505 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-12-13 09:53:12 +00:00
parent 131762c698
commit 485ae5821a
2 changed files with 11 additions and 4 deletions

View File

@ -130,10 +130,14 @@ 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) {
ret += ch;
// exception: output \, as THIN SPACE
if (ch == ',')
ret.push_back(0x2009);
else
ret += ch;
val = val.substr(1);
escaped = false;
continue;

View File

@ -35,6 +35,8 @@ What's new
- Checking all opened files for external change after updating from SVN
repository (bug 5211).
- Add a Close All menu item to the menu (bug 740).
- Toolbar entry for the AMS math symbol \Diamond added.
@ -91,10 +93,11 @@ What's new
- Fix layout of the Paragraph dialog (particularly within CJK
localization).
- Add a Close All menu item to the menu (bug 740).
- Fix cursor placement in math when inserting 'active' insets (bug 6382).
- Fix display of author names containing a thin space (\,) in the
citation inset.
* DOCUMENTATION AND LOCALIZATION