From 01314f53987e57c4fcb49fb86d3971bdb206857f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 Feb 2016 05:53:12 +0200 Subject: Add support for ids in paragraphs, local fragment references in links For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} " --- cli/generator.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/generator.cxx') 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 (); -- cgit v1.1