mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Improve InsetSpace docbook export
The removed link does not exist anymore. The character entities were taken from http://www.sagehill.net/docbookxsl/SpecialChars.html.
This commit is contained in:
parent
8fcbba8596
commit
8c3829e6f1
@ -703,24 +703,39 @@ int InsetSpace::docbook(odocstream & os, OutputParams const &) const
|
||||
{
|
||||
switch (params_.kind) {
|
||||
case InsetSpaceParams::NORMAL:
|
||||
case InsetSpaceParams::QUAD:
|
||||
case InsetSpaceParams::QQUAD:
|
||||
case InsetSpaceParams::ENSKIP:
|
||||
os << " ";
|
||||
break;
|
||||
// FIXME For spaces and dashes look here:
|
||||
// http://oreilly.com/catalog/docbook/book2/iso-pub.html
|
||||
case InsetSpaceParams::QUAD:
|
||||
os << " "
|
||||
break;
|
||||
case InsetSpaceParams::QQUAD:
|
||||
os << "  "
|
||||
break;
|
||||
case InsetSpaceParams::ENSKIP:
|
||||
os << " "
|
||||
break;
|
||||
case InsetSpaceParams::PROTECTED:
|
||||
// FIXME ␣ ?
|
||||
os << " ";
|
||||
break;
|
||||
case InsetSpaceParams::VISIBLE:
|
||||
os << "␣";
|
||||
break;
|
||||
case InsetSpaceParams::ENSPACE:
|
||||
// FIXME   ?
|
||||
os << "⁠ ⁠";
|
||||
break;
|
||||
case InsetSpaceParams::THIN:
|
||||
os << " ";
|
||||
break;
|
||||
case InsetSpaceParams::MEDIUM:
|
||||
os << " ";
|
||||
break;
|
||||
case InsetSpaceParams::THICK:
|
||||
os << " ";
|
||||
break;
|
||||
case InsetSpaceParams::NEGTHIN:
|
||||
case InsetSpaceParams::NEGMEDIUM:
|
||||
case InsetSpaceParams::NEGTHICK:
|
||||
// FIXME
|
||||
os << " ";
|
||||
break;
|
||||
case InsetSpaceParams::HFILL:
|
||||
|
Loading…
Reference in New Issue
Block a user