mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
THINSPACE is nonbreakable (i.e., 0x202f, not 0x2009)
This commit is contained in:
parent
f6f936e3d0
commit
999b95398d
@ -603,7 +603,7 @@ void InsetSpace::latex(otexstream & os, OutputParams const & runparams) const
|
||||
break;
|
||||
case InsetSpaceParams::THIN:
|
||||
if (runparams.find_effective())
|
||||
os.put(0x2009);
|
||||
os.put(0x202f);
|
||||
else
|
||||
os << (runparams.free_spacing ? " " : "\\,");
|
||||
break;
|
||||
@ -798,7 +798,7 @@ std::string spaceToXMLEntity(InsetSpaceParams::Kind kind) {
|
||||
case InsetSpaceParams::ENSPACE: // HTML: ⁠ ⁠ (word joiners)
|
||||
return "⁠ ⁠";
|
||||
case InsetSpaceParams::THIN:
|
||||
return " "; // HTML: &thinspace;
|
||||
return " "; // HTML: &thinspace;
|
||||
case InsetSpaceParams::MEDIUM:
|
||||
return " "; // HTML:  
|
||||
case InsetSpaceParams::THICK:
|
||||
|
@ -219,7 +219,7 @@ void InsetMathSpace::htmlize(HtmlStream & ms) const
|
||||
SpaceInfo const & si = space_info[space_];
|
||||
switch (si.kind) {
|
||||
case InsetSpaceParams::THIN:
|
||||
ms << from_ascii(" "); // HTML:  
|
||||
ms << from_ascii(" "); // HTML:  
|
||||
break;
|
||||
case InsetSpaceParams::MEDIUM:
|
||||
ms << from_ascii(" ");
|
||||
|
Loading…
Reference in New Issue
Block a user