diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-11 05:53:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-11 05:53:12 +0200 |
commit | 01314f53987e57c4fcb49fb86d3971bdb206857f (patch) | |
tree | 8e78e418a7e987182cc1fc1735f352817549eb1a /cli/source.cxx | |
parent | 471556a19e68b372155095c1b11aa568735fe867 (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/source.cxx')
-rw-r--r-- | cli/source.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/source.cxx b/cli/source.cxx index 57f5922..0184da6 100644 --- a/cli/source.cxx +++ b/cli/source.cxx @@ -751,6 +751,8 @@ namespace len = max; } + + verify_id_ref (); } string up (cli + "::usage_para"); @@ -791,6 +793,8 @@ namespace os << "return p;" << "}"; + verify_id_ref (); + // Long version. // if (usage == ut_both) @@ -826,6 +830,8 @@ namespace os << "return p;" << "}"; + + verify_id_ref (); } } @@ -1126,6 +1132,8 @@ generate_source (context& ctx) os << "return p;" << "}"; + + ctx.verify_id_ref (); } // Long version. @@ -1166,6 +1174,8 @@ generate_source (context& ctx) os << "return p;" << "}"; + + ctx.verify_id_ref (); } ctx.ns_close (qn, false); |