summaryrefslogtreecommitdiff
path: root/cli/generator.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-11 05:53:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-11 05:53:12 +0200
commit01314f53987e57c4fcb49fb86d3971bdb206857f (patch)
tree8e78e418a7e987182cc1fc1735f352817549eb1a /cli/generator.cxx
parent471556a19e68b372155095c1b11aa568735fe867 (diff)
Add support for ids in paragraphs, local fragment references in links
For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} "
Diffstat (limited to 'cli/generator.cxx')
-rw-r--r--cli/generator.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/generator.cxx b/cli/generator.cxx
index cbb3ec7..01f77d5 100644
--- a/cli/generator.cxx
+++ b/cli/generator.cxx
@@ -452,6 +452,8 @@ generate (options const& ops, semantics::cli_unit& unit, path const& p)
ctx.toc++; // TOC phase after restart.
}
}
+
+ ctx.verify_id_ref ();
}
// HTML output
@@ -499,6 +501,8 @@ generate (options const& ops, semantics::cli_unit& unit, path const& p)
ctx.toc++; // TOC phase after restart.
}
}
+
+ ctx.verify_id_ref ();
}
// txt output
@@ -543,6 +547,8 @@ generate (options const& ops, semantics::cli_unit& unit, path const& p)
ctx.toc++; // TOC phase after restart.
}
}
+
+ ctx.verify_id_ref ();
}
auto_rm.cancel ();