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) {
|
switch (params_.kind) {
|
||||||
case InsetSpaceParams::NORMAL:
|
case InsetSpaceParams::NORMAL:
|
||||||
case InsetSpaceParams::QUAD:
|
|
||||||
case InsetSpaceParams::QQUAD:
|
|
||||||
case InsetSpaceParams::ENSKIP:
|
|
||||||
os << " ";
|
os << " ";
|
||||||
break;
|
break;
|
||||||
// FIXME For spaces and dashes look here:
|
case InsetSpaceParams::QUAD:
|
||||||
// http://oreilly.com/catalog/docbook/book2/iso-pub.html
|
os << " "
|
||||||
|
break;
|
||||||
|
case InsetSpaceParams::QQUAD:
|
||||||
|
os << "  "
|
||||||
|
break;
|
||||||
|
case InsetSpaceParams::ENSKIP:
|
||||||
|
os << " "
|
||||||
|
break;
|
||||||
case InsetSpaceParams::PROTECTED:
|
case InsetSpaceParams::PROTECTED:
|
||||||
// FIXME ␣ ?
|
os << " ";
|
||||||
|
break;
|
||||||
case InsetSpaceParams::VISIBLE:
|
case InsetSpaceParams::VISIBLE:
|
||||||
|
os << "␣";
|
||||||
|
break;
|
||||||
case InsetSpaceParams::ENSPACE:
|
case InsetSpaceParams::ENSPACE:
|
||||||
// FIXME   ?
|
os << "⁠ ⁠";
|
||||||
|
break;
|
||||||
case InsetSpaceParams::THIN:
|
case InsetSpaceParams::THIN:
|
||||||
|
os << " ";
|
||||||
|
break;
|
||||||
case InsetSpaceParams::MEDIUM:
|
case InsetSpaceParams::MEDIUM:
|
||||||
|
os << " ";
|
||||||
|
break;
|
||||||
case InsetSpaceParams::THICK:
|
case InsetSpaceParams::THICK:
|
||||||
|
os << " ";
|
||||||
|
break;
|
||||||
case InsetSpaceParams::NEGTHIN:
|
case InsetSpaceParams::NEGTHIN:
|
||||||
case InsetSpaceParams::NEGMEDIUM:
|
case InsetSpaceParams::NEGMEDIUM:
|
||||||
case InsetSpaceParams::NEGTHICK:
|
case InsetSpaceParams::NEGTHICK:
|
||||||
|
// FIXME
|
||||||
os << " ";
|
os << " ";
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::HFILL:
|
case InsetSpaceParams::HFILL:
|
||||||
|
Loading…
Reference in New Issue
Block a user