From 77a3e41fb1fa01fe739c5c450a374498abe7f6d0 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 11 Nov 2018 19:22:30 -0500 Subject: 0.3.2 css themes, --dark & --light (default) --- src/doc_reform/output/xmls.d | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/doc_reform/output/xmls.d') diff --git a/src/doc_reform/output/xmls.d b/src/doc_reform/output/xmls.d index fad0bdf..6a999f6 100644 --- a/src/doc_reform/output/xmls.d +++ b/src/doc_reform/output/xmls.d @@ -527,13 +527,13 @@ template outputXHTMLs() { lev4_subtoc ~= "
\n"; foreach (subtoc; obj.tags.lev4_subtoc) { if (auto m = subtoc.match(rgx.inline_link_subtoc)) { - auto indent = m.captures[1].to!string; + auto indent = (m.captures[1].to!int - 3).to!string; // css assumptions based on use of em for left margin & indent auto text = m.captures[2].to!string; text = font_face(text); auto link = m.captures[3].to!string; lev4_subtoc ~= subtoc.replaceFirst(rgx.inline_link_subtoc, format(q"¶

- %s + ۰ %s

¶", indent, @@ -1102,7 +1102,7 @@ template outputXHTMLs() { if (!(obj.metainfo.identifier.empty)) { o = format(q"¶
-

%s

+

%s

¶", obj.metainfo.identifier, (obj.metainfo.object_number.empty) ? "" : obj.metainfo.identifier, @@ -1112,7 +1112,7 @@ template outputXHTMLs() { ); } else { o = format(q"¶
-

%s

+

%s

¶", obj.metainfo.is_a, _txt -- cgit v1.2.3