From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001
From: Daniel Baumann
Date: Sat, 27 Apr 2024 20:24:20 +0200
Subject: Adding upstream version 14.2.21.
Signed-off-by: Daniel Baumann
---
src/boost/tools/quickbook/test/include/Jamfile.v2 | 48 +++
.../tools/quickbook/test/include/code-import.gold | 138 +++++++
.../quickbook/test/include/code-import.gold-html | 148 +++++++
.../quickbook/test/include/code-import.quickbook | 13 +
.../tools/quickbook/test/include/code-include.gold | 50 +++
.../quickbook/test/include/code-include.gold-html | 55 +++
.../quickbook/test/include/code-include.quickbook | 16 +
.../quickbook/test/include/compatibility-1_1.gold | 362 ++++++++++++++++++
.../test/include/compatibility-1_1.gold-html | 424 +++++++++++++++++++++
.../test/include/compatibility-1_1.quickbook | 18 +
.../quickbook/test/include/compatibility-1_5.gold | 362 ++++++++++++++++++
.../test/include/compatibility-1_5.gold-html | 424 +++++++++++++++++++++
.../test/include/compatibility-1_5.quickbook | 18 +
.../quickbook/test/include/compatibility-1_6.gold | 362 ++++++++++++++++++
.../test/include/compatibility-1_6.gold-html | 424 +++++++++++++++++++++
.../test/include/compatibility-1_6.quickbook | 17 +
.../test/include/compatibility-inc.quickbook | 31 ++
.../test/include/compatibility-inc_1_1.quickbook | 33 ++
.../test/include/compatibility-inc_1_5.quickbook | 33 ++
.../test/include/compatibility-inc_1_6.quickbook | 33 ++
.../quickbook/test/include/doc-title1-1.5.gold | 27 ++
.../test/include/doc-title1-1.5.gold-html | 30 ++
.../test/include/doc-title1-1.5.quickbook | 27 ++
.../test/include/doc-title1-inc1.quickbook | 1 +
.../test/include/doc-title1-inc2.quickbook | 4 +
.../test/include/doc-title1-inc3.quickbook | 1 +
.../quickbook/test/include/doc-title1a-1.5.gold | 26 ++
.../test/include/doc-title1a-1.5.gold-html | 30 ++
.../test/include/doc-title1a-1.5.quickbook | 20 +
.../tools/quickbook/test/include/filename-1_7.gold | 46 +++
.../quickbook/test/include/filename-1_7.gold-html | 45 +++
.../quickbook/test/include/filename-1_7.quickbook | 21 +
.../quickbook/test/include/filename-path.gold | 18 +
.../quickbook/test/include/filename-path.gold-html | 21 +
.../quickbook/test/include/filename-path.quickbook | 9 +
.../tools/quickbook/test/include/filename.gold | 18 +
.../quickbook/test/include/filename.gold-html | 21 +
.../quickbook/test/include/filename.quickbook | 9 +
.../test/include/filename_include2.quickbook | 1 +
.../quickbook/test/include/filename_path-1_7.gold | 18 +
.../test/include/filename_path-1_7.gold-html | 21 +
.../test/include/filename_path-1_7.quickbook | 7 +
.../tools/quickbook/test/include/glob-1_7.gold | 41 ++
.../quickbook/test/include/glob-1_7.gold-html | 94 +++++
.../quickbook/test/include/glob-1_7.quickbook | 39 ++
src/boost/tools/quickbook/test/include/glob1/a.qbk | 1 +
.../quickbook/test/include/glob1/glob1-1/b.qbk | 1 +
src/boost/tools/quickbook/test/include/glob2/a.qbk | 3 +
.../quickbook/test/include/glob2/glob2-1/b.qbk | 1 +
.../quickbook/test/include/import-basic-1.6.gold | 11 +
.../test/include/import-basic-1.6.gold-html | 15 +
.../test/include/import-basic-1.6.quickbook | 12 +
.../test/include/import-basic-inc1.quickbook | 4 +
.../test/include/import-basic-inc2.quickbook | 10 +
.../quickbook/test/include/in_section-1_5.gold | 88 +++++
.../test/include/in_section-1_5.gold-html | 120 ++++++
.../test/include/in_section-1_5.quickbook | 16 +
.../quickbook/test/include/in_section-1_6.gold | 108 ++++++
.../test/include/in_section-1_6.gold-html | 238 ++++++++++++
.../test/include/in_section-1_6.quickbook | 16 +
.../test/include/in_section-inc1.quickbook | 13 +
.../test/include/in_section-inc2.quickbook | 14 +
.../quickbook/test/include/include-id-1.5.gold | 26 ++
.../test/include/include-id-1.5.gold-html | 27 ++
.../test/include/include-id-1.5.quickbook | 10 +
.../quickbook/test/include/include-id-1.6.gold | 36 ++
.../test/include/include-id-1.6.gold-html | 66 ++++
.../test/include/include-id-1.6.quickbook | 10 +
.../test/include/include-id-inc1.quickbook | 1 +
.../test/include/include-id-inc2.quickbook | 5 +
.../test/include/include-id-inc3.quickbook | 6 +
.../test/include/include_id_unbalanced-1_6.gold | 59 +++
.../include/include_id_unbalanced-1_6.gold-html | 89 +++++
.../include/include_id_unbalanced-1_6.quickbook | 19 +
.../include/include_id_unbalanced-inc1.quickbook | 4 +
.../include/include_id_unbalanced-inc1a.quickbook | 3 +
.../include/include_id_unbalanced-inc2.quickbook | 5 +
.../include/include_id_unbalanced-inc2a.quickbook | 3 +
.../tools/quickbook/test/include/macros-1.5.gold | 39 ++
.../quickbook/test/include/macros-1.5.gold-html | 42 ++
.../quickbook/test/include/macros-1.5.quickbook | 13 +
.../tools/quickbook/test/include/macros-1.6.gold | 66 ++++
.../quickbook/test/include/macros-1.6.gold-html | 69 ++++
.../quickbook/test/include/macros-1.6.quickbook | 21 +
.../quickbook/test/include/macros-inc1.quickbook | 15 +
.../test/include/nested_compatibility-1_5.gold | 48 +++
.../include/nested_compatibility-1_5.gold-html | 76 ++++
.../include/nested_compatibility-1_5.quickbook | 12 +
.../test/include/nested_compatibility-1_6.gold | 48 +++
.../include/nested_compatibility-1_6.gold-html | 76 ++++
.../include/nested_compatibility-1_6.quickbook | 12 +
.../include/nested_compatibility-inc-1_5.quickbook | 5 +
.../include/nested_compatibility-inc-1_6.quickbook | 5 +
.../quickbook/test/include/section-fail1.quickbook | 6 +
.../quickbook/test/include/section-fail2.quickbook | 5 +
.../quickbook/test/include/section-inc1.quickbook | 1 +
.../quickbook/test/include/section-inc2.quickbook | 1 +
.../quickbook/test/include/section-unclosed.gold | 10 +
.../test/include/section-unclosed.gold-html | 26 ++
.../test/include/section-unclosed.quickbook | 5 +
.../tools/quickbook/test/include/section.gold | 10 +
.../tools/quickbook/test/include/section.gold-html | 26 ++
.../tools/quickbook/test/include/section.quickbook | 6 +
.../quickbook/test/include/source_mode-1_5.gold | 9 +
.../test/include/source_mode-1_5.gold-html | 12 +
.../test/include/source_mode-1_5.quickbook | 4 +
.../quickbook/test/include/source_mode-1_6.gold | 13 +
.../test/include/source_mode-1_6.gold-html | 27 ++
.../test/include/source_mode-1_6.quickbook | 5 +
.../test/include/source_mode-inc1.quickbook | 3 +
.../test/include/source_mode-inc2.quickbook | 3 +
.../test/include/sub/filename_include1.quickbook | 3 +
.../test/include/template_include-1_7.gold | 12 +
.../test/include/template_include-1_7.gold-html | 14 +
.../test/include/template_include-1_7.quickbook | 8 +
.../quickbook/test/include/templates-1.5.gold | 12 +
.../quickbook/test/include/templates-1.5.gold-html | 15 +
.../quickbook/test/include/templates-1.5.quickbook | 7 +
.../quickbook/test/include/templates-1.6.gold | 15 +
.../quickbook/test/include/templates-1.6.gold-html | 18 +
.../quickbook/test/include/templates-1.6.quickbook | 11 +
.../test/include/templates-inc1.quickbook | 4 +
122 files changed, 5482 insertions(+)
create mode 100644 src/boost/tools/quickbook/test/include/Jamfile.v2
create mode 100644 src/boost/tools/quickbook/test/include/code-import.gold
create mode 100644 src/boost/tools/quickbook/test/include/code-import.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/code-import.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/code-include.gold
create mode 100644 src/boost/tools/quickbook/test/include/code-include.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/code-include.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-1_1.gold
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-1_1.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-1_1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-1_5.gold
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-1_5.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-1_5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-1_6.gold
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-1_6.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-1_6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-inc.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-inc_1_1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-inc_1_5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/compatibility-inc_1_6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/doc-title1-1.5.gold
create mode 100644 src/boost/tools/quickbook/test/include/doc-title1-1.5.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/doc-title1-1.5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/doc-title1-inc1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/doc-title1-inc2.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/doc-title1-inc3.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/doc-title1a-1.5.gold
create mode 100644 src/boost/tools/quickbook/test/include/doc-title1a-1.5.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/doc-title1a-1.5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/filename-1_7.gold
create mode 100644 src/boost/tools/quickbook/test/include/filename-1_7.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/filename-1_7.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/filename-path.gold
create mode 100644 src/boost/tools/quickbook/test/include/filename-path.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/filename-path.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/filename.gold
create mode 100644 src/boost/tools/quickbook/test/include/filename.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/filename.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/filename_include2.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/filename_path-1_7.gold
create mode 100644 src/boost/tools/quickbook/test/include/filename_path-1_7.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/filename_path-1_7.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/glob-1_7.gold
create mode 100644 src/boost/tools/quickbook/test/include/glob-1_7.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/glob-1_7.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/glob1/a.qbk
create mode 100644 src/boost/tools/quickbook/test/include/glob1/glob1-1/b.qbk
create mode 100644 src/boost/tools/quickbook/test/include/glob2/a.qbk
create mode 100644 src/boost/tools/quickbook/test/include/glob2/glob2-1/b.qbk
create mode 100644 src/boost/tools/quickbook/test/include/import-basic-1.6.gold
create mode 100644 src/boost/tools/quickbook/test/include/import-basic-1.6.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/import-basic-1.6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/import-basic-inc1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/import-basic-inc2.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/in_section-1_5.gold
create mode 100644 src/boost/tools/quickbook/test/include/in_section-1_5.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/in_section-1_5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/in_section-1_6.gold
create mode 100644 src/boost/tools/quickbook/test/include/in_section-1_6.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/in_section-1_6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/in_section-inc1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/in_section-inc2.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/include-id-1.5.gold
create mode 100644 src/boost/tools/quickbook/test/include/include-id-1.5.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/include-id-1.5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/include-id-1.6.gold
create mode 100644 src/boost/tools/quickbook/test/include/include-id-1.6.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/include-id-1.6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/include-id-inc1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/include-id-inc2.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/include-id-inc3.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.gold
create mode 100644 src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/include_id_unbalanced-inc1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/include_id_unbalanced-inc1a.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/include_id_unbalanced-inc2.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/include_id_unbalanced-inc2a.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/macros-1.5.gold
create mode 100644 src/boost/tools/quickbook/test/include/macros-1.5.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/macros-1.5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/macros-1.6.gold
create mode 100644 src/boost/tools/quickbook/test/include/macros-1.6.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/macros-1.6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/macros-inc1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/nested_compatibility-1_5.gold
create mode 100644 src/boost/tools/quickbook/test/include/nested_compatibility-1_5.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/nested_compatibility-1_5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/nested_compatibility-1_6.gold
create mode 100644 src/boost/tools/quickbook/test/include/nested_compatibility-1_6.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/nested_compatibility-1_6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/nested_compatibility-inc-1_5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/nested_compatibility-inc-1_6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/section-fail1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/section-fail2.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/section-inc1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/section-inc2.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/section-unclosed.gold
create mode 100644 src/boost/tools/quickbook/test/include/section-unclosed.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/section-unclosed.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/section.gold
create mode 100644 src/boost/tools/quickbook/test/include/section.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/section.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/source_mode-1_5.gold
create mode 100644 src/boost/tools/quickbook/test/include/source_mode-1_5.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/source_mode-1_5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/source_mode-1_6.gold
create mode 100644 src/boost/tools/quickbook/test/include/source_mode-1_6.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/source_mode-1_6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/source_mode-inc1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/source_mode-inc2.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/sub/filename_include1.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/template_include-1_7.gold
create mode 100644 src/boost/tools/quickbook/test/include/template_include-1_7.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/template_include-1_7.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/templates-1.5.gold
create mode 100644 src/boost/tools/quickbook/test/include/templates-1.5.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/templates-1.5.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/templates-1.6.gold
create mode 100644 src/boost/tools/quickbook/test/include/templates-1.6.gold-html
create mode 100644 src/boost/tools/quickbook/test/include/templates-1.6.quickbook
create mode 100644 src/boost/tools/quickbook/test/include/templates-inc1.quickbook
(limited to 'src/boost/tools/quickbook/test/include')
diff --git a/src/boost/tools/quickbook/test/include/Jamfile.v2 b/src/boost/tools/quickbook/test/include/Jamfile.v2
new file mode 100644
index 00000000..a40bf554
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/Jamfile.v2
@@ -0,0 +1,48 @@
+#
+# Copyright (c) 2011 Daniel James
+#
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+#
+
+project quickbook/test/includes
+ : requirements
+ msvc:off
+ ;
+
+import quickbook-testing : quickbook-test quickbook-error-test ;
+
+test-suite quickbook.test :
+ [ quickbook-test import-basic-1.6 ]
+ [ quickbook-test filename ]
+ [ quickbook-test filename-1_7 ]
+ [ quickbook-test filename-path : : : sub ]
+ [ quickbook-test filename_path-1_7 : : : sub ]
+ [ quickbook-test doc-title1-1.5 ]
+ [ quickbook-test doc-title1a-1.5 ]
+ [ quickbook-test section ]
+ [ quickbook-test section-unclosed ]
+ [ quickbook-test templates-1.5 ]
+ [ quickbook-test templates-1.6 ]
+ [ quickbook-test macros-1.5 ]
+ [ quickbook-test macros-1.6 ]
+ [ quickbook-test code-import ]
+ [ quickbook-test code-include ]
+ [ quickbook-test include-id-1.5 ]
+ [ quickbook-test include-id-1.6 ]
+ [ quickbook-test include_id_unbalanced-1_6 ]
+ [ quickbook-error-test section-fail1 ]
+ [ quickbook-error-test section-fail2 ]
+ [ quickbook-test in_section-1_5 ]
+ [ quickbook-test in_section-1_6 ]
+ [ quickbook-test compatibility-1_1 ]
+ [ quickbook-test compatibility-1_5 ]
+ [ quickbook-test compatibility-1_6 ]
+ [ quickbook-test source_mode-1_5 ]
+ [ quickbook-test source_mode-1_6 ]
+ [ quickbook-test nested_compatibility-1_5 ]
+ [ quickbook-test nested_compatibility-1_6 ]
+ [ quickbook-test template_include-1_7 ]
+ [ quickbook-test glob-1_7 ]
+ ;
diff --git a/src/boost/tools/quickbook/test/include/code-import.gold b/src/boost/tools/quickbook/test/include/code-import.gold
new file mode 100644
index 00000000..12089ece
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/code-import.gold
@@ -0,0 +1,138 @@
+
+
+
+ Import
+
+ This is the foo function.
+
+
+ This description can have paragraphs...
+
+
+
+
+ lists
+
+
+
+
+ etc.
+
+
+
+
+ And any quickbook block markup.
+
+
+std :: string foo ()
+{
+ // return 'em, foo man!
+ return "foo" ;
+}
+
+
+
+ This is the Python foo
+ function.
+
+
+ This description can have paragraphs...
+
+
+
+
+ lists
+
+
+
+
+ etc.
+
+
+
+
+ And any quickbook block markup.
+
+
+def foo ():
+ # return 'em, foo man!
+ return "foo"
+
+
+
+ This is the C foo function.
+
+
+ This description can have paragraphs...
+
+
+
+
+ lists
+
+
+
+
+ etc.
+
+
+
+
+ And any quickbook block markup.
+
+
+char * foo ()
+{
+ // return 'em, foo man!
+ return "foo" ;
+}
+
+
+
+class x
+{
+public :
+
+ x () : n ( 0 )
+ {
+ }
+
+ ~ x ()
+ {
+ }
+
+ int get () const
+ {
+ return n ;
+ }
+
+ void set ( int n_ )
+ {
+ n = n_ ;
+ }
+};
+
+
+
+
+
+ Constructor
+
+
+
+
+ Destructor
+
+
+
+
+ Get the n
member variable
+
+
+
+
+ Set the n
member variable
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/code-import.gold-html b/src/boost/tools/quickbook/test/include/code-import.gold-html
new file mode 100644
index 00000000..1fbe1055
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/code-import.gold-html
@@ -0,0 +1,148 @@
+
+
+
+
+
+ Import
+
+
+ This is the foo
+ function.
+
+
+ This description can have paragraphs...
+
+
+
+
+ lists
+
+
+
+
+ etc.
+
+
+
+
+ And any quickbook block markup.
+
+
+
std :: string foo ()
+{
+
+ return "foo" ;
+}
+
+
+
+ This is the Python foo
+ function.
+
+
+ This description can have paragraphs...
+
+
+
+
+ lists
+
+
+
+
+ etc.
+
+
+
+
+ And any quickbook block markup.
+
+
+
def foo ():
+
+ return "foo"
+
+
+
+ This is the C foo
+ function.
+
+
+ This description can have paragraphs...
+
+
+
+
+ lists
+
+
+
+
+ etc.
+
+
+
+
+ And any quickbook block markup.
+
+
+
char * foo ()
+{
+
+ return "foo" ;
+}
+
+
+
+
class x
+{
+public :
+
+ (1) x () : n ( 0 )
+ {
+ }
+
+ (2) ~ x ()
+ {
+ }
+
+ (3) int get () const
+ {
+ return n ;
+ }
+
+ (4) void set ( int n_ )
+ {
+ n = n_ ;
+ }
+};
+
+
+
+
+
(1)
+
+ Constructor
+
+
+
+
+
(3)
+
+ Get the n
member variable
+
+
+
+
(4)
+
+ Set the n
member variable
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/code-import.quickbook b/src/boost/tools/quickbook/test/include/code-import.quickbook
new file mode 100644
index 00000000..70faf077
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/code-import.quickbook
@@ -0,0 +1,13 @@
+[article Import]
+
+[import ../stub.c]
+[import ../stub.py]
+[import ../stub.cpp]
+
+[foo]
+
+[foo_py]
+
+[foo_c]
+
+[class_]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/include/code-include.gold b/src/boost/tools/quickbook/test/include/code-include.gold
new file mode 100644
index 00000000..dfa697fd
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/code-include.gold
@@ -0,0 +1,50 @@
+
+
+
+ Include
+
+ This should appear when stub.c is included.
+
+
+ This is the C foo function.
+
+
+ This description can have paragraphs...
+
+
+
+
+ lists
+
+
+
+
+ etc.
+
+
+
+
+ And any quickbook block markup.
+
+char * foo ()
+{
+ // return 'em, foo man!
+ return "foo" ;
+}
+
+
+ This should appear when stub.py is included.
+
+
+ This should appear when stub.cpp is included.
+
+
+ [foo]
+
+
+ [foo_py]
+
+
+ [foo_c]
+
+
diff --git a/src/boost/tools/quickbook/test/include/code-include.gold-html b/src/boost/tools/quickbook/test/include/code-include.gold-html
new file mode 100644
index 00000000..100e34a1
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/code-include.gold-html
@@ -0,0 +1,55 @@
+
+
+
+
+
+ Include
+
+
+ This should appear when stub.c is included.
+
+
+ This is the C foo
+ function.
+
+
+ This description can have paragraphs...
+
+
+
+
+ lists
+
+
+
+
+ etc.
+
+
+
+
+ And any quickbook block markup.
+
+char * foo ()
+{
+
+ return "foo" ;
+}
+
+
+ This should appear when stub.py is included.
+
+
+ This should appear when stub.cpp is included.
+
+
+ [foo]
+
+
+ [foo_py]
+
+
+ [foo_c]
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/code-include.quickbook b/src/boost/tools/quickbook/test/include/code-include.quickbook
new file mode 100644
index 00000000..8a47538f
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/code-include.quickbook
@@ -0,0 +1,16 @@
+[article Include
+[quickbook 1.6]
+]
+
+[include ../stub.c]
+[include ../stub.py]
+[include ../stub.cpp]
+
+[/ These shouldn't expand ]
+
+[foo]
+
+[foo_py]
+
+[foo_c]
+
diff --git a/src/boost/tools/quickbook/test/include/compatibility-1_1.gold b/src/boost/tools/quickbook/test/include/compatibility-1_1.gold
new file mode 100644
index 00000000..961d6aa5
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-1_1.gold
@@ -0,0 +1,362 @@
+
+
+
+ Test Compatibility Mode
+
+ Outer
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Include compatibility 1.1
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Include compatibility 1.5
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Include compatibility 1.6
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/compatibility-1_1.gold-html b/src/boost/tools/quickbook/test/include/compatibility-1_1.gold-html
new file mode 100644
index 00000000..6a811781
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-1_1.gold-html
@@ -0,0 +1,424 @@
+
+
+
+
+
+ Test Compatibility Mode
+
+
+
+ Table of contents
+
+
+
+
+
+ Outer
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
+ Include compatibility 1.1
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
+ Include compatibility 1.5
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
+ Include compatibility 1.6
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/compatibility-1_1.quickbook b/src/boost/tools/quickbook/test/include/compatibility-1_1.quickbook
new file mode 100644
index 00000000..afdd39dc
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-1_1.quickbook
@@ -0,0 +1,18 @@
+[article Test Compatibility Mode
+[quickbook 1.6]
+[compatibility-mode 1.1]
+[id compatibility]
+]
+
+[section:collision Outer]
+[include compatibility-inc.quickbook]
+[endsect]
+[section:collision Include compatibility 1.1]
+[include compatibility-inc_1_1.quickbook]
+[endsect]
+[section:collision Include compatibility 1.5]
+[include compatibility-inc_1_5.quickbook]
+[endsect]
+[section:collision Include compatibility 1.6]
+[include compatibility-inc_1_6.quickbook]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/compatibility-1_5.gold b/src/boost/tools/quickbook/test/include/compatibility-1_5.gold
new file mode 100644
index 00000000..79245caf
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-1_5.gold
@@ -0,0 +1,362 @@
+
+
+
+ Test Compatibility Mode
+
+ Outer
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Include compatibility 1.1
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Include compatibility 1.5
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Include compatibility 1.6
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/compatibility-1_5.gold-html b/src/boost/tools/quickbook/test/include/compatibility-1_5.gold-html
new file mode 100644
index 00000000..945b00f0
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-1_5.gold-html
@@ -0,0 +1,424 @@
+
+
+
+
+
+ Test Compatibility Mode
+
+
+
+ Table of contents
+
+
+
+
+
+ Outer
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
+ Include compatibility 1.1
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
+ Include compatibility 1.5
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
+ Include compatibility 1.6
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/compatibility-1_5.quickbook b/src/boost/tools/quickbook/test/include/compatibility-1_5.quickbook
new file mode 100644
index 00000000..9593df72
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-1_5.quickbook
@@ -0,0 +1,18 @@
+[article Test Compatibility Mode
+[compatibility-mode 1.5]
+[id compatibility]
+[quickbook 1.6]
+]
+
+[section:collision Outer]
+[include compatibility-inc.quickbook]
+[endsect]
+[section:collision Include compatibility 1.1]
+[include compatibility-inc_1_1.quickbook]
+[endsect]
+[section:collision Include compatibility 1.5]
+[include compatibility-inc_1_5.quickbook]
+[endsect]
+[section:collision Include compatibility 1.6]
+[include compatibility-inc_1_6.quickbook]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/compatibility-1_6.gold b/src/boost/tools/quickbook/test/include/compatibility-1_6.gold
new file mode 100644
index 00000000..b3e51277
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-1_6.gold
@@ -0,0 +1,362 @@
+
+
+
+ Test Compatibility Mode
+
+ Outer
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Include compatibility 1.1
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Include compatibility 1.5
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Include compatibility 1.6
+
+ Inner
+
+ Header
+
+
+ Heading1
+
+
+ Header
+ with id
+
+
+ Heading1
+ with id
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/compatibility-1_6.gold-html b/src/boost/tools/quickbook/test/include/compatibility-1_6.gold-html
new file mode 100644
index 00000000..eff72c00
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-1_6.gold-html
@@ -0,0 +1,424 @@
+
+
+
+
+
+ Test Compatibility Mode
+
+
+
+ Table of contents
+
+
+
+
+
+ Outer
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
+ Include compatibility 1.1
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
+ Include compatibility 1.5
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
+ Include compatibility 1.6
+
+
+
+
+
+ Inner
+
+
+
+
+ Heading1
+
+
+ Header with id
+
+
+ Heading1 with id
+
+
+
+
+
+ With Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id and Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Inner with id
+
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/compatibility-1_6.quickbook b/src/boost/tools/quickbook/test/include/compatibility-1_6.quickbook
new file mode 100644
index 00000000..46880a8c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-1_6.quickbook
@@ -0,0 +1,17 @@
+[article Test Compatibility Mode
+[id compatibility]
+[quickbook 1.6]
+]
+
+[section:collision Outer]
+[include compatibility-inc.quickbook]
+[endsect]
+[section:collision Include compatibility 1.1]
+[include compatibility-inc_1_1.quickbook]
+[endsect]
+[section:collision Include compatibility 1.5]
+[include compatibility-inc_1_5.quickbook]
+[endsect]
+[section:collision Include compatibility 1.6]
+[include compatibility-inc_1_6.quickbook]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/compatibility-inc.quickbook b/src/boost/tools/quickbook/test/include/compatibility-inc.quickbook
new file mode 100644
index 00000000..66fbb54e
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-inc.quickbook
@@ -0,0 +1,31 @@
+[section Inner]
+
+[heading Header]
+
+[h1 Heading1]
+
+[heading:x1 Header with id]
+
+[h1:x2 Heading1 with id]
+
+[table
+[[]][[]]
+]
+
+[table:withid
+[[]][[]]
+]
+
+[table With Title
+[[]][[]]
+]
+
+[table:x Id and Title
+[[]][[]]
+]
+
+
+[endsect]
+
+[section:x Inner with id]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/compatibility-inc_1_1.quickbook b/src/boost/tools/quickbook/test/include/compatibility-inc_1_1.quickbook
new file mode 100644
index 00000000..89b4d655
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-inc_1_1.quickbook
@@ -0,0 +1,33 @@
+[compatibility-mode 1.1]
+
+[section Inner]
+
+[heading Header]
+
+[h1 Heading1]
+
+[heading:x1 Header with id]
+
+[h1:x2 Heading1 with id]
+
+[table
+[[]][[]]
+]
+
+[table:withid
+[[]][[]]
+]
+
+[table With Title
+[[]][[]]
+]
+
+[table:x Id and Title
+[[]][[]]
+]
+
+
+[endsect]
+
+[section:x Inner with id]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/compatibility-inc_1_5.quickbook b/src/boost/tools/quickbook/test/include/compatibility-inc_1_5.quickbook
new file mode 100644
index 00000000..5551da5b
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-inc_1_5.quickbook
@@ -0,0 +1,33 @@
+[compatibility-mode 1.5]
+
+[section Inner]
+
+[heading Header]
+
+[h1 Heading1]
+
+[heading:x1 Header with id]
+
+[h1:x2 Heading1 with id]
+
+[table
+[[]][[]]
+]
+
+[table:withid
+[[]][[]]
+]
+
+[table With Title
+[[]][[]]
+]
+
+[table:x Id and Title
+[[]][[]]
+]
+
+
+[endsect]
+
+[section:x Inner with id]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/compatibility-inc_1_6.quickbook b/src/boost/tools/quickbook/test/include/compatibility-inc_1_6.quickbook
new file mode 100644
index 00000000..61f3c7bc
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/compatibility-inc_1_6.quickbook
@@ -0,0 +1,33 @@
+[compatibility-mode 1.6]
+
+[section Inner]
+
+[heading Header]
+
+[h1 Heading1]
+
+[heading:x1 Header with id]
+
+[h1:x2 Heading1 with id]
+
+[table
+[[]][[]]
+]
+
+[table:withid
+[[]][[]]
+]
+
+[table With Title
+[[]][[]]
+]
+
+[table:x Id and Title
+[[]][[]]
+]
+
+
+[endsect]
+
+[section:x Inner with id]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/doc-title1-1.5.gold b/src/boost/tools/quickbook/test/include/doc-title1-1.5.gold
new file mode 100644
index 00000000..f2fb5321
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/doc-title1-1.5.gold
@@ -0,0 +1,27 @@
+
+
+
+ Doc Title 1
+
+ a1
+
+
+ inc1
+
+
+ a2
+
+
+ inc2
+
+
+ a3
+
+
+ inc3
+
+
+ a4
+
+
diff --git a/src/boost/tools/quickbook/test/include/doc-title1-1.5.gold-html b/src/boost/tools/quickbook/test/include/doc-title1-1.5.gold-html
new file mode 100644
index 00000000..69848ef9
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/doc-title1-1.5.gold-html
@@ -0,0 +1,30 @@
+
+
+
+
+
+ Doc Title 1
+
+
+ a1
+
+
+ inc1
+
+
+ a2
+
+
+ inc2
+
+
+ a3
+
+
+ inc3
+
+
+ a4
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/doc-title1-1.5.quickbook b/src/boost/tools/quickbook/test/include/doc-title1-1.5.quickbook
new file mode 100644
index 00000000..ec7a56c8
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/doc-title1-1.5.quickbook
@@ -0,0 +1,27 @@
+[article Doc Title 1
+[quickbook 1.5]
+]
+
+[/ Doc Titles for included files is a little odd. You generally don't see
+ titles in them, the only way to detect them is through the generated ids.
+ So that's what this test is for.
+
+ The second include has a title, because that isn't scoped by file it will
+ continue to be used to generated ids for the following included files -
+ but not in this document as the document id for the file is generated
+ for the whole file at the start.
+ ]
+
+[heading a1]
+
+[include doc-title1-inc1.quickbook]
+
+[heading a2]
+
+[include doc-title1-inc2.quickbook]
+
+[heading a3]
+
+[include doc-title1-inc3.quickbook]
+
+[heading a4]
diff --git a/src/boost/tools/quickbook/test/include/doc-title1-inc1.quickbook b/src/boost/tools/quickbook/test/include/doc-title1-inc1.quickbook
new file mode 100644
index 00000000..e17ad31d
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/doc-title1-inc1.quickbook
@@ -0,0 +1 @@
+[heading inc1]
diff --git a/src/boost/tools/quickbook/test/include/doc-title1-inc2.quickbook b/src/boost/tools/quickbook/test/include/doc-title1-inc2.quickbook
new file mode 100644
index 00000000..e8b18d37
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/doc-title1-inc2.quickbook
@@ -0,0 +1,4 @@
+[article Doc Title 1 Inc2
+]
+
+[heading inc2]
diff --git a/src/boost/tools/quickbook/test/include/doc-title1-inc3.quickbook b/src/boost/tools/quickbook/test/include/doc-title1-inc3.quickbook
new file mode 100644
index 00000000..501e3320
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/doc-title1-inc3.quickbook
@@ -0,0 +1 @@
+[heading inc3]
diff --git a/src/boost/tools/quickbook/test/include/doc-title1a-1.5.gold b/src/boost/tools/quickbook/test/include/doc-title1a-1.5.gold
new file mode 100644
index 00000000..0ee226e9
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/doc-title1a-1.5.gold
@@ -0,0 +1,26 @@
+
+
+
+ Doc Title 1a
+
+ a1
+
+
+ inc1
+
+
+ a2
+
+
+ inc2
+
+
+ a3
+
+
+ inc3
+
+
+ a4
+
+
diff --git a/src/boost/tools/quickbook/test/include/doc-title1a-1.5.gold-html b/src/boost/tools/quickbook/test/include/doc-title1a-1.5.gold-html
new file mode 100644
index 00000000..f29d8cdb
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/doc-title1a-1.5.gold-html
@@ -0,0 +1,30 @@
+
+
+
+
+
+ Doc Title 1a
+
+
+ a1
+
+
+ inc1
+
+
+ a2
+
+
+ inc2
+
+
+ a3
+
+
+ inc3
+
+
+ a4
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/doc-title1a-1.5.quickbook b/src/boost/tools/quickbook/test/include/doc-title1a-1.5.quickbook
new file mode 100644
index 00000000..dc12d5cb
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/doc-title1a-1.5.quickbook
@@ -0,0 +1,20 @@
+[article Doc Title 1a
+[quickbook 1.5]
+[id doc-title]
+]
+
+[/ A repeat of doc-title1, but with an explicit id. ]
+
+[heading a1]
+
+[include doc-title1-inc1.quickbook]
+
+[heading a2]
+
+[include doc-title1-inc2.quickbook]
+
+[heading a3]
+
+[include doc-title1-inc3.quickbook]
+
+[heading a4]
diff --git a/src/boost/tools/quickbook/test/include/filename-1_7.gold b/src/boost/tools/quickbook/test/include/filename-1_7.gold
new file mode 100644
index 00000000..935b4264
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename-1_7.gold
@@ -0,0 +1,46 @@
+
+
+
+ Filename Test
+
+ filename-1_7.quickbook
+
+
+ Test
+ 1
+
+
+ sub/filename_include1.quickbook
+
+
+ sub/../filename_include2.quickbook
+
+
+ Test
+ 2
+
+
+ filename_include2.quickbook
+
+
+ Test
+ 3
+
+
+ sub/filename_include1.quickbook
+
+
+ sub/../filename_include2.quickbook
+
+
+ Test
+ 4
+
+
+ sub/filename_include1.quickbook
+
+
+ sub/../filename_include2.quickbook
+
+
diff --git a/src/boost/tools/quickbook/test/include/filename-1_7.gold-html b/src/boost/tools/quickbook/test/include/filename-1_7.gold-html
new file mode 100644
index 00000000..50bd6054
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename-1_7.gold-html
@@ -0,0 +1,45 @@
+
+
+
+
+
+ Filename Test
+
+
+ filename-1_7.quickbook
+
+
+ Test 1
+
+
+ sub/filename_include1.quickbook
+
+
+ sub/../filename_include2.quickbook
+
+
+ Test 2
+
+
+ filename_include2.quickbook
+
+
+ Test 3
+
+
+ sub/filename_include1.quickbook
+
+
+ sub/../filename_include2.quickbook
+
+
+ Test 4
+
+
+ sub/filename_include1.quickbook
+
+
+ sub/../filename_include2.quickbook
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/filename-1_7.quickbook b/src/boost/tools/quickbook/test/include/filename-1_7.quickbook
new file mode 100644
index 00000000..9d462af8
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename-1_7.quickbook
@@ -0,0 +1,21 @@
+[article Filename Test
+[quickbook 1.7]
+]
+
+__FILENAME__
+
+[heading Test 1]
+
+[include sub/*.quickbook]
+
+[heading Test 2]
+
+[include filename_include?.quickbook]
+
+[heading Test 3]
+
+[include su\[b\]/filename\\_include1.quickbook]
+
+[heading Test 4]
+
+[include su\\b/*.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/filename-path.gold b/src/boost/tools/quickbook/test/include/filename-path.gold
new file mode 100644
index 00000000..f77ab84a
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename-path.gold
@@ -0,0 +1,18 @@
+
+
+
+ Filename test with include path
+
+ filename-path.quickbook
+
+
+ filename_include1.quickbook
+
+
+ ../filename_include2.quickbook
+
+
+ filename_include2.quickbook
+
+
diff --git a/src/boost/tools/quickbook/test/include/filename-path.gold-html b/src/boost/tools/quickbook/test/include/filename-path.gold-html
new file mode 100644
index 00000000..d7a6e2e0
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename-path.gold-html
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Filename test with include path
+
+
+ filename-path.quickbook
+
+
+ filename_include1.quickbook
+
+
+ ../filename_include2.quickbook
+
+
+ filename_include2.quickbook
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/filename-path.quickbook b/src/boost/tools/quickbook/test/include/filename-path.quickbook
new file mode 100644
index 00000000..6121df5c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename-path.quickbook
@@ -0,0 +1,9 @@
+[article Filename test with include path
+[quickbook 1.5]
+]
+
+__FILENAME__
+
+[include filename_include1.quickbook]
+
+[include filename_include2.quickbook]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/include/filename.gold b/src/boost/tools/quickbook/test/include/filename.gold
new file mode 100644
index 00000000..3e895eb4
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename.gold
@@ -0,0 +1,18 @@
+
+
+
+ Filename Test
+
+ filename.quickbook
+
+
+ sub/filename_include1.quickbook
+
+
+ sub/../filename_include2.quickbook
+
+
+ filename_include2.quickbook
+
+
diff --git a/src/boost/tools/quickbook/test/include/filename.gold-html b/src/boost/tools/quickbook/test/include/filename.gold-html
new file mode 100644
index 00000000..e722f930
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename.gold-html
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Filename Test
+
+
+ filename.quickbook
+
+
+ sub/filename_include1.quickbook
+
+
+ sub/../filename_include2.quickbook
+
+
+ filename_include2.quickbook
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/filename.quickbook b/src/boost/tools/quickbook/test/include/filename.quickbook
new file mode 100644
index 00000000..37ff37b5
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename.quickbook
@@ -0,0 +1,9 @@
+[article Filename Test
+[quickbook 1.5]
+]
+
+__FILENAME__
+
+[include sub/filename_include1.quickbook]
+
+[include filename_include2.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/filename_include2.quickbook b/src/boost/tools/quickbook/test/include/filename_include2.quickbook
new file mode 100644
index 00000000..f9d479a9
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename_include2.quickbook
@@ -0,0 +1 @@
+__FILENAME__
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/include/filename_path-1_7.gold b/src/boost/tools/quickbook/test/include/filename_path-1_7.gold
new file mode 100644
index 00000000..6f52dafc
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename_path-1_7.gold
@@ -0,0 +1,18 @@
+
+
+
+ Filename test with include path
+
+ filename_path-1_7.quickbook
+
+
+ filename_include1.quickbook
+
+
+ ../filename_include2.quickbook
+
+
+ filename_include2.quickbook
+
+
diff --git a/src/boost/tools/quickbook/test/include/filename_path-1_7.gold-html b/src/boost/tools/quickbook/test/include/filename_path-1_7.gold-html
new file mode 100644
index 00000000..190f5d24
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename_path-1_7.gold-html
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Filename test with include path
+
+
+ filename_path-1_7.quickbook
+
+
+ filename_include1.quickbook
+
+
+ ../filename_include2.quickbook
+
+
+ filename_include2.quickbook
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/filename_path-1_7.quickbook b/src/boost/tools/quickbook/test/include/filename_path-1_7.quickbook
new file mode 100644
index 00000000..741d76ad
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/filename_path-1_7.quickbook
@@ -0,0 +1,7 @@
+[article Filename test with include path
+[quickbook 1.7]
+]
+
+__FILENAME__
+
+[include filename_include?.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/glob-1_7.gold b/src/boost/tools/quickbook/test/include/glob-1_7.gold
new file mode 100644
index 00000000..ba31ae96
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/glob-1_7.gold
@@ -0,0 +1,41 @@
+
+
+
+ Glob Test
+
+
+
+
+
+ Test 2.1
+
+ A
+
+
+ B
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/glob-1_7.gold-html b/src/boost/tools/quickbook/test/include/glob-1_7.gold-html
new file mode 100644
index 00000000..9b53c2be
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/glob-1_7.gold-html
@@ -0,0 +1,94 @@
+
+
+
+
+
+ Glob Test
+
+
+
+ Table of contents
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/glob-1_7.quickbook b/src/boost/tools/quickbook/test/include/glob-1_7.quickbook
new file mode 100644
index 00000000..826c12be
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/glob-1_7.quickbook
@@ -0,0 +1,39 @@
+[article Glob Test
+[quickbook 1.7]
+]
+
+[section:t1_0 Test 1.0]
+
+[include glob0/*]
+
+[endsect] [/t1_0]
+
+[section:t1_1 Test 1.1]
+
+[include glob1/*]
+
+[endsect] [/t1_1]
+
+[section:t1_2 Test 1.2]
+
+[include glob1/*/*]
+
+[endsect] [/t1_2]
+
+[section:t1_3 Test 1.3]
+
+[include glob1/*/b.qbk]
+
+[endsect] [/t1_3]
+
+[section:t2_1 Test 2.1]
+
+[include glob2/*]
+
+[endsect] [/t2_1]
+
+[section:t2_2 Test 2.2]
+
+[include glob2/*/*]
+
+[endsect] [/t2_2]
diff --git a/src/boost/tools/quickbook/test/include/glob1/a.qbk b/src/boost/tools/quickbook/test/include/glob1/a.qbk
new file mode 100644
index 00000000..f70f10e4
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/glob1/a.qbk
@@ -0,0 +1 @@
+A
diff --git a/src/boost/tools/quickbook/test/include/glob1/glob1-1/b.qbk b/src/boost/tools/quickbook/test/include/glob1/glob1-1/b.qbk
new file mode 100644
index 00000000..223b7836
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/glob1/glob1-1/b.qbk
@@ -0,0 +1 @@
+B
diff --git a/src/boost/tools/quickbook/test/include/glob2/a.qbk b/src/boost/tools/quickbook/test/include/glob2/a.qbk
new file mode 100644
index 00000000..16058080
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/glob2/a.qbk
@@ -0,0 +1,3 @@
+A
+
+[include */*.qbk]
diff --git a/src/boost/tools/quickbook/test/include/glob2/glob2-1/b.qbk b/src/boost/tools/quickbook/test/include/glob2/glob2-1/b.qbk
new file mode 100644
index 00000000..223b7836
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/glob2/glob2-1/b.qbk
@@ -0,0 +1 @@
+B
diff --git a/src/boost/tools/quickbook/test/include/import-basic-1.6.gold b/src/boost/tools/quickbook/test/include/import-basic-1.6.gold
new file mode 100644
index 00000000..706589ae
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/import-basic-1.6.gold
@@ -0,0 +1,11 @@
+
+
+
+ Import Quickbook Test
+
+ Macro 1: import-basic-inc1.quickbook Template 1: import-basic-1.6.quickbook
+
+
+ Macro 2: import-basic-inc2.quickbook Template 2: import-basic-1.6.quickbook
+
+
diff --git a/src/boost/tools/quickbook/test/include/import-basic-1.6.gold-html b/src/boost/tools/quickbook/test/include/import-basic-1.6.gold-html
new file mode 100644
index 00000000..bbc87b7d
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/import-basic-1.6.gold-html
@@ -0,0 +1,15 @@
+
+
+
+
+
+ Import Quickbook Test
+
+
+ Macro 1: import-basic-inc1.quickbook Template 1: import-basic-1.6.quickbook
+
+
+ Macro 2: import-basic-inc2.quickbook Template 2: import-basic-1.6.quickbook
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/import-basic-1.6.quickbook b/src/boost/tools/quickbook/test/include/import-basic-1.6.quickbook
new file mode 100644
index 00000000..934db6a9
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/import-basic-1.6.quickbook
@@ -0,0 +1,12 @@
+[article Import Quickbook Test
+[quickbook 1.6]
+[id import-1.6]
+]
+
+[import import-basic-inc1.quickbook]
+
+macro1 [template1]
+
+[import import-basic-inc2.quickbook]
+
+macro2 [template2]
diff --git a/src/boost/tools/quickbook/test/include/import-basic-inc1.quickbook b/src/boost/tools/quickbook/test/include/import-basic-inc1.quickbook
new file mode 100644
index 00000000..46992284
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/import-basic-inc1.quickbook
@@ -0,0 +1,4 @@
+This shouldn't show: __FILENAME__
+
+[def macro1 Macro 1: __FILENAME__]
+[template template1 Template 1: __FILENAME__]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/include/import-basic-inc2.quickbook b/src/boost/tools/quickbook/test/include/import-basic-inc2.quickbook
new file mode 100644
index 00000000..0cbaaa11
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/import-basic-inc2.quickbook
@@ -0,0 +1,10 @@
+[article Macro import.
+[quickbook 1.6]
+]
+
+[/ TOOD: Should I have a special docinfo type for this kind of thing? ]
+
+This shouldn't show: __FILENAME__
+
+[def macro2 Macro 2: __FILENAME__]
+[template template2 Template 2: __FILENAME__]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/include/in_section-1_5.gold b/src/boost/tools/quickbook/test/include/in_section-1_5.gold
new file mode 100644
index 00000000..b55eb73f
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/in_section-1_5.gold
@@ -0,0 +1,88 @@
+
+
+
+ Include in section 1.5
+
+ Container
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+ Container2
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/in_section-1_5.gold-html b/src/boost/tools/quickbook/test/include/in_section-1_5.gold-html
new file mode 100644
index 00000000..5bad6b57
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/in_section-1_5.gold-html
@@ -0,0 +1,120 @@
+
+
+
+
+
+ Include in section 1.5
+
+
+
+ Table of contents
+
+
+
+
+ Test1
+
+
+ Test1
+
+
+
+ Container
+
+
+
+ Test1
+
+
+ Test1
+
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+ Container2
+
+
+
+ Test1
+
+
+ Test1
+
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/in_section-1_5.quickbook b/src/boost/tools/quickbook/test/include/in_section-1_5.quickbook
new file mode 100644
index 00000000..28183096
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/in_section-1_5.quickbook
@@ -0,0 +1,16 @@
+[article Include in section 1.5
+[quickbook 1.5]
+]
+
+[section:container Container]
+[include in_section-inc1.quickbook]
+[include in_section-inc2.quickbook]
+[endsect]
+
+[include in_section-inc1.quickbook]
+[include in_section-inc2.quickbook]
+
+[section:container2 Container2]
+[include in_section-inc1.quickbook]
+[include in_section-inc2.quickbook]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/in_section-1_6.gold b/src/boost/tools/quickbook/test/include/in_section-1_6.gold
new file mode 100644
index 00000000..52c18a70
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/in_section-1_6.gold
@@ -0,0 +1,108 @@
+
+
+
+ Include in section 1.6
+
+ Container
+
+ Include in section include 1
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+
+ Include in section include 2
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+
+
+ Include in section include 1
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+
+ Include in section include 2
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+
+ Container2
+
+ Include in section include 1
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+ Include in section include 2
+
+ Test1
+
+
+
+ Test2
+
+
+ Simple
+ include
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/in_section-1_6.gold-html b/src/boost/tools/quickbook/test/include/in_section-1_6.gold-html
new file mode 100644
index 00000000..cc2c36ac
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/in_section-1_6.gold-html
@@ -0,0 +1,238 @@
+
+
+
+
+
+ Include in section 1.6
+
+
+
+ Table of contents
+
+
+
+
+
+ Container
+
+
+
+
+
+ Include in section include 1
+
+
+
+ Table of contents
+
+
+
+
+ Test1
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
+ Include in section include 2
+
+
+
+ Table of contents
+
+
+
+
+ Test1
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
+
+ Include in section include 1
+
+
+
+ Table of contents
+
+
+
+
+ Test1
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
+ Include in section include 2
+
+
+
+ Table of contents
+
+
+
+
+ Test1
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
+ Container2
+
+
+
+
+
+ Include in section include 1
+
+
+
+ Table of contents
+
+
+
+
+ Test1
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
+ Include in section include 2
+
+
+
+ Table of contents
+
+
+
+
+ Test1
+
+
+
+
+ Test2
+
+
+ Simple include
+
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/in_section-1_6.quickbook b/src/boost/tools/quickbook/test/include/in_section-1_6.quickbook
new file mode 100644
index 00000000..686f97ec
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/in_section-1_6.quickbook
@@ -0,0 +1,16 @@
+[article Include in section 1.6
+[quickbook 1.6]
+]
+
+[section:container Container]
+[include in_section-inc1.quickbook]
+[include in_section-inc2.quickbook]
+[endsect]
+
+[include in_section-inc1.quickbook]
+[include in_section-inc2.quickbook]
+
+[section:container2 Container2]
+[include in_section-inc1.quickbook]
+[include in_section-inc2.quickbook]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/in_section-inc1.quickbook b/src/boost/tools/quickbook/test/include/in_section-inc1.quickbook
new file mode 100644
index 00000000..f74bf5db
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/in_section-inc1.quickbook
@@ -0,0 +1,13 @@
+[article Include in section include 1
+[quickbook 1.6]
+]
+
+[h1 Test1]
+
+[section:inner]
+
+[h1 Test2]
+
+[include include-id-inc1.quickbook]
+
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/in_section-inc2.quickbook b/src/boost/tools/quickbook/test/include/in_section-inc2.quickbook
new file mode 100644
index 00000000..0a30aaa7
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/in_section-inc2.quickbook
@@ -0,0 +1,14 @@
+[article Include in section include 2
+[quickbook 1.6]
+[id section_include]
+]
+
+[h1 Test1]
+
+[section:inner]
+
+[h1 Test2]
+
+[include include-id-inc1.quickbook]
+
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/include-id-1.5.gold b/src/boost/tools/quickbook/test/include/include-id-1.5.gold
new file mode 100644
index 00000000..4944d08d
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include-id-1.5.gold
@@ -0,0 +1,26 @@
+
+
+
+ Include Id Test
+
+ Simple include
+
+
+ Simple include
+
+
+ Title, no id
+
+
+ Title, no id
+
+
+ Title
+ with id
+
+
+ Title
+ with id
+
+
diff --git a/src/boost/tools/quickbook/test/include/include-id-1.5.gold-html b/src/boost/tools/quickbook/test/include/include-id-1.5.gold-html
new file mode 100644
index 00000000..4c7b6b23
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include-id-1.5.gold-html
@@ -0,0 +1,27 @@
+
+
+
+
+
+ Include Id Test
+
+
+ Simple include
+
+
+ Simple include
+
+
+ Title, no id
+
+
+ Title, no id
+
+
+ Title with id
+
+
+ Title with id
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/include-id-1.5.quickbook b/src/boost/tools/quickbook/test/include/include-id-1.5.quickbook
new file mode 100644
index 00000000..dd4b50ad
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include-id-1.5.quickbook
@@ -0,0 +1,10 @@
+[article Include Id Test
+[quickbook 1.5]
+]
+
+[include:a include-id-inc1.quickbook]
+[include:b include-id-inc1.quickbook]
+[include:c include-id-inc2.quickbook]
+[include:d include-id-inc2.quickbook]
+[include:e include-id-inc3.quickbook]
+[include:f include-id-inc3.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/include-id-1.6.gold b/src/boost/tools/quickbook/test/include/include-id-1.6.gold
new file mode 100644
index 00000000..1f4cb881
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include-id-1.6.gold
@@ -0,0 +1,36 @@
+
+
+
+ Include Id Test
+
+ Simple include
+
+
+ Simple include
+
+
+ Include without id
+
+ Title, no id
+
+
+
+ Include without id
+
+ Title, no id
+
+
+
+ Include with id
+
+ Title with id
+
+
+
+ Include with id
+
+ Title with id
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/include-id-1.6.gold-html b/src/boost/tools/quickbook/test/include/include-id-1.6.gold-html
new file mode 100644
index 00000000..5912dadb
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include-id-1.6.gold-html
@@ -0,0 +1,66 @@
+
+
+
+
+
+ Include Id Test
+
+
+
+ Table of contents
+
+
+
+
+ Simple include
+
+
+ Simple include
+
+
+
+ Include without id
+
+
+ Title, no id
+
+
+
+
+ Include without id
+
+
+ Title, no id
+
+
+
+
+ Include with id
+
+
+ Title with id
+
+
+
+
+ Include with id
+
+
+ Title with id
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/include-id-1.6.quickbook b/src/boost/tools/quickbook/test/include/include-id-1.6.quickbook
new file mode 100644
index 00000000..d7d5318c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include-id-1.6.quickbook
@@ -0,0 +1,10 @@
+[article Include Id Test
+[quickbook 1.6]
+]
+
+[include:a include-id-inc1.quickbook]
+[include:b include-id-inc1.quickbook]
+[include:c include-id-inc2.quickbook]
+[include:d include-id-inc2.quickbook]
+[include:e include-id-inc3.quickbook]
+[include:f include-id-inc3.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/include-id-inc1.quickbook b/src/boost/tools/quickbook/test/include/include-id-inc1.quickbook
new file mode 100644
index 00000000..63a761d5
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include-id-inc1.quickbook
@@ -0,0 +1 @@
+[heading Simple include]
diff --git a/src/boost/tools/quickbook/test/include/include-id-inc2.quickbook b/src/boost/tools/quickbook/test/include/include-id-inc2.quickbook
new file mode 100644
index 00000000..a7dbef41
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include-id-inc2.quickbook
@@ -0,0 +1,5 @@
+[article Include without id
+[quickbook 1.5]
+]
+
+[heading Title, no id]
diff --git a/src/boost/tools/quickbook/test/include/include-id-inc3.quickbook b/src/boost/tools/quickbook/test/include/include-id-inc3.quickbook
new file mode 100644
index 00000000..2bd23982
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include-id-inc3.quickbook
@@ -0,0 +1,6 @@
+[article Include with id
+[quickbook 1.5]
+[id with-id]
+]
+
+[heading Title with id]
diff --git a/src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.gold b/src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.gold
new file mode 100644
index 00000000..ede21ccb
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.gold
@@ -0,0 +1,59 @@
+
+
+
+ Test include ids with unbalanced sections
+
+ Include 1
+
+ Heading
+ 1
+
+
+ Heading 1
+
+
+ Include 1a
+
+ Heading
+ 2
+
+
+ Heading
+ 2
+
+
+ X1
+
+
+
+ X2
+
+
+
+ Section 1
+
+ X1
+
+
+ Section 2
+
+ X2
+
+
+ Heading 1
+
+
+
+ Heading 2
+
+
+ Heading 1
+
+
+
+ Heading 2
+
+
+ Heading 3
+
+
diff --git a/src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.gold-html b/src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.gold-html
new file mode 100644
index 00000000..85415e88
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.gold-html
@@ -0,0 +1,89 @@
+
+
+
+
+
+ Test include ids with unbalanced sections
+
+
+
+ Table of contents
+
+
+
+
+ Heading 2
+
+
+ Heading 3
+
+
+
+ Include 1
+
+
+
+ Heading 1
+
+
+ Heading 1
+
+
+ X2
+
+
+
+
+ Include 1a
+
+
+
+ Heading 2
+
+
+ Heading 2
+
+
+ X1
+
+
+
+
+
+
+ Section 1
+
+
+
+ X1
+
+
+ Heading 2
+
+
+ Heading 1
+
+
+
+
+ Section 2
+
+
+
+ X2
+
+
+ Heading 1
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.quickbook b/src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.quickbook
new file mode 100644
index 00000000..b1568d4f
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include_id_unbalanced-1_6.quickbook
@@ -0,0 +1,19 @@
+[quickbook 1.6]
+[article Test include ids with unbalanced sections
+ [id unbalanced]
+]
+
+[/ Sections start in included files ]
+
+[include:include1 include_id_unbalanced-inc1.quickbook]
+[heading:x1 X1]
+[endsect]
+[heading:x2 X2]
+[endsect]
+
+[/ Sections end in included files ]
+[section:sect1 Section 1]
+[heading:x1 X1]
+[section:sect2 Section 2]
+[heading:x2 X2]
+[include:include2 include_id_unbalanced-inc2.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc1.quickbook b/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc1.quickbook
new file mode 100644
index 00000000..d3214811
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc1.quickbook
@@ -0,0 +1,4 @@
+[section:inc1 Include 1]
+[heading:inc1_1 Heading 1]
+[include:include1a include_id_unbalanced-inc1a.quickbook]
+[heading:inc1_2 Heading 2]
diff --git a/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc1a.quickbook b/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc1a.quickbook
new file mode 100644
index 00000000..1bc46b4f
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc1a.quickbook
@@ -0,0 +1,3 @@
+[heading:inc1a_1 Heading 1]
+[section:inc1a Include 1a]
+[heading:inc1a_2 Heading 2]
diff --git a/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc2.quickbook b/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc2.quickbook
new file mode 100644
index 00000000..37c313ca
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc2.quickbook
@@ -0,0 +1,5 @@
+[heading:inc2_1 Heading 1]
+[endsect]
+[heading:inc2_2 Heading 2]
+[include:include2a include_id_unbalanced-inc2a.quickbook]
+[heading:inc2_3 Heading 3]
diff --git a/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc2a.quickbook b/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc2a.quickbook
new file mode 100644
index 00000000..780fb405
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/include_id_unbalanced-inc2a.quickbook
@@ -0,0 +1,3 @@
+[heading:inc2a_1 Heading 1]
+[endsect]
+[heading:inc2a_2 Heading 2]
diff --git a/src/boost/tools/quickbook/test/include/macros-1.5.gold b/src/boost/tools/quickbook/test/include/macros-1.5.gold
new file mode 100644
index 00000000..d5e8a519
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/macros-1.5.gold
@@ -0,0 +1,39 @@
+
+
+
+ Macros Test 1.5
+
+ Foo:macros-inc1.quickbook
+
+
+ Defined conditional phrase.
+
+
+
+
+ __foo__
+
+
+
+
+ Defined template:macros-1.5.quickbook
+
+
+
+
+ __defined_macro__
+
+
+
+
+ [not_defined_template]
+
+
+
+
+ _not_defined_macro__
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/macros-1.5.gold-html b/src/boost/tools/quickbook/test/include/macros-1.5.gold-html
new file mode 100644
index 00000000..e1a98593
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/macros-1.5.gold-html
@@ -0,0 +1,42 @@
+
+
+
+
+
+ Macros Test 1.5
+
+
+ Foo:macros-inc1.quickbook
+
+
+ Defined conditional phrase.
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/macros-1.5.quickbook b/src/boost/tools/quickbook/test/include/macros-1.5.quickbook
new file mode 100644
index 00000000..a63a1f0c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/macros-1.5.quickbook
@@ -0,0 +1,13 @@
+[article Macros Test 1.5
+[quickbook 1.5]
+]
+
+[def __defined__]
+
+[include macros-inc1.quickbook]
+
+* __foo__
+* [defined_template]
+* __defined_macro__
+* [not_defined_template]
+* [__not_defined_macro__]
diff --git a/src/boost/tools/quickbook/test/include/macros-1.6.gold b/src/boost/tools/quickbook/test/include/macros-1.6.gold
new file mode 100644
index 00000000..ec93c05c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/macros-1.6.gold
@@ -0,0 +1,66 @@
+
+
+
+ Macros Test 1.6
+
+ Foo:macros-inc1.quickbook
+
+
+ Defined conditional phrase.
+
+
+
+
+ __foo__
+
+
+
+
+ [defined_template]
+
+
+
+
+ __defined_macro__
+
+
+
+
+ [not_defined_template]
+
+
+
+
+ _not_defined_macro__
+
+
+
+
+
+
+ Foo:macros-inc1.quickbook
+
+
+
+
+ Defined template:macros-1.6.quickbook
+
+
+
+
+ Defined macro:macros-inc1.quickbook
+
+
+
+
+ [not_defined_template]
+
+
+
+
+ _not_defined_macro__
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/macros-1.6.gold-html b/src/boost/tools/quickbook/test/include/macros-1.6.gold-html
new file mode 100644
index 00000000..bb7a9c6c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/macros-1.6.gold-html
@@ -0,0 +1,69 @@
+
+
+
+
+
+ Macros Test 1.6
+
+
+ Foo:macros-inc1.quickbook
+
+
+ Defined conditional phrase.
+
+
+
+
+
+ Foo:macros-inc1.quickbook
+
+
+
+
+ Defined template:macros-1.6.quickbook
+
+
+
+
+ Defined macro:macros-inc1.quickbook
+
+
+
+
+ [not_defined_template]
+
+
+
+
+ _not_defined_macro__
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/macros-1.6.quickbook b/src/boost/tools/quickbook/test/include/macros-1.6.quickbook
new file mode 100644
index 00000000..5355c090
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/macros-1.6.quickbook
@@ -0,0 +1,21 @@
+[article Macros Test 1.6
+[quickbook 1.6]
+]
+
+[def __defined__]
+
+[include macros-inc1.quickbook]
+
+* __foo__
+* [defined_template]
+* __defined_macro__
+* [not_defined_template]
+* [__not_defined_macro__]
+
+[import macros-inc1.quickbook]
+
+* __foo__
+* [defined_template]
+* __defined_macro__
+* [not_defined_template]
+* [__not_defined_macro__]
diff --git a/src/boost/tools/quickbook/test/include/macros-inc1.quickbook b/src/boost/tools/quickbook/test/include/macros-inc1.quickbook
new file mode 100644
index 00000000..f8b6f25b
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/macros-inc1.quickbook
@@ -0,0 +1,15 @@
+[def __foo__ Foo:__FILENAME__]
+
+__foo__
+
+[?__defined__
+Defined conditional phrase.
+[template defined_template Defined template:__FILENAME__]
+[def __defined_macro__ Defined macro:__FILENAME__]
+]
+
+[?__not_defined__
+Not defined conditional phrase.
+[template not_defined_template Not defined template:__FILENAME__]
+[def __not_defined_macro__ Not defined macro:__FILENAME__]
+]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/include/nested_compatibility-1_5.gold b/src/boost/tools/quickbook/test/include/nested_compatibility-1_5.gold
new file mode 100644
index 00000000..92c948a1
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/nested_compatibility-1_5.gold
@@ -0,0 +1,48 @@
+
+
+
+ Nested Compatibility Test
+
+ Duplicate Name
+
+ Nested
+ Section 1.5
+
+ Nested
+ Heading 1.5
+
+
+
+ Nested
+ Section 1.6
+
+ Nested
+ Heading 1.6
+
+
+
+
+ Duplicate Name
+
+ Nested
+ Section 1.5
+
+ Nested
+ Heading 1.5
+
+
+
+ Nested
+ Section 1.6
+
+ Nested
+ Heading 1.6
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/nested_compatibility-1_5.gold-html b/src/boost/tools/quickbook/test/include/nested_compatibility-1_5.gold-html
new file mode 100644
index 00000000..c7fe5f3e
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/nested_compatibility-1_5.gold-html
@@ -0,0 +1,76 @@
+
+
+
+
+
+ Nested Compatibility Test
+
+
+
+ Table of contents
+
+
+
+
+
+ Duplicate Name
+
+
+
+
+
+ Nested Section 1.5
+
+
+
+ Nested Heading 1.5
+
+
+
+
+
+ Nested Section 1.6
+
+
+
+ Nested Heading 1.6
+
+
+
+
+
+
+ Duplicate Name
+
+
+
+
+
+ Nested Section 1.5
+
+
+
+ Nested Heading 1.5
+
+
+
+
+
+ Nested Section 1.6
+
+
+
+ Nested Heading 1.6
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/nested_compatibility-1_5.quickbook b/src/boost/tools/quickbook/test/include/nested_compatibility-1_5.quickbook
new file mode 100644
index 00000000..f9d78b1e
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/nested_compatibility-1_5.quickbook
@@ -0,0 +1,12 @@
+[quickbook 1.5]
+[article Nested Compatibility Test]
+
+[section Duplicate Name]
+[include nested_compatibility-inc-1_5.quickbook]
+[include nested_compatibility-inc-1_6.quickbook]
+[endsect]
+
+[section Duplicate Name]
+[include nested_compatibility-inc-1_5.quickbook]
+[include nested_compatibility-inc-1_6.quickbook]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/nested_compatibility-1_6.gold b/src/boost/tools/quickbook/test/include/nested_compatibility-1_6.gold
new file mode 100644
index 00000000..af09a9e8
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/nested_compatibility-1_6.gold
@@ -0,0 +1,48 @@
+
+
+
+ Nested Compatibility Test
+
+ Duplicate Name
+
+ Nested
+ Section 1.5
+
+ Nested
+ Heading 1.5
+
+
+
+ Nested
+ Section 1.6
+
+ Nested
+ Heading 1.6
+
+
+
+
+ Duplicate Name
+
+ Nested
+ Section 1.5
+
+ Nested
+ Heading 1.5
+
+
+
+ Nested
+ Section 1.6
+
+ Nested
+ Heading 1.6
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/nested_compatibility-1_6.gold-html b/src/boost/tools/quickbook/test/include/nested_compatibility-1_6.gold-html
new file mode 100644
index 00000000..028e5303
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/nested_compatibility-1_6.gold-html
@@ -0,0 +1,76 @@
+
+
+
+
+
+ Nested Compatibility Test
+
+
+
+ Table of contents
+
+
+
+
+
+ Duplicate Name
+
+
+
+
+
+ Nested Section 1.5
+
+
+
+ Nested Heading 1.5
+
+
+
+
+
+ Nested Section 1.6
+
+
+
+ Nested Heading 1.6
+
+
+
+
+
+
+ Duplicate Name
+
+
+
+
+
+ Nested Section 1.5
+
+
+
+ Nested Heading 1.5
+
+
+
+
+
+ Nested Section 1.6
+
+
+
+ Nested Heading 1.6
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/nested_compatibility-1_6.quickbook b/src/boost/tools/quickbook/test/include/nested_compatibility-1_6.quickbook
new file mode 100644
index 00000000..8beeb8a0
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/nested_compatibility-1_6.quickbook
@@ -0,0 +1,12 @@
+[quickbook 1.6]
+[article Nested Compatibility Test]
+
+[section Duplicate Name]
+[include nested_compatibility-inc-1_5.quickbook]
+[include nested_compatibility-inc-1_6.quickbook]
+[endsect]
+
+[section Duplicate Name]
+[include nested_compatibility-inc-1_5.quickbook]
+[include nested_compatibility-inc-1_6.quickbook]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/nested_compatibility-inc-1_5.quickbook b/src/boost/tools/quickbook/test/include/nested_compatibility-inc-1_5.quickbook
new file mode 100644
index 00000000..3c79855a
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/nested_compatibility-inc-1_5.quickbook
@@ -0,0 +1,5 @@
+[compatibility-mode 1.5]
+
+[section:nested Nested Section 1.5]
+[heading Nested Heading 1.5]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/nested_compatibility-inc-1_6.quickbook b/src/boost/tools/quickbook/test/include/nested_compatibility-inc-1_6.quickbook
new file mode 100644
index 00000000..d0790840
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/nested_compatibility-inc-1_6.quickbook
@@ -0,0 +1,5 @@
+[compatibility-mode 1.6]
+
+[section:nested Nested Section 1.6]
+[heading Nested Heading 1.6]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/section-fail1.quickbook b/src/boost/tools/quickbook/test/include/section-fail1.quickbook
new file mode 100644
index 00000000..ea75783e
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/section-fail1.quickbook
@@ -0,0 +1,6 @@
+[article Include Section Test
+[quickbook 1.5]
+]
+
+[include section-inc2.quickbook]
+[include section-inc1.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/section-fail2.quickbook b/src/boost/tools/quickbook/test/include/section-fail2.quickbook
new file mode 100644
index 00000000..26a48110
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/section-fail2.quickbook
@@ -0,0 +1,5 @@
+[article Include Section Test
+[quickbook 1.5]
+]
+
+[include section-inc2.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/section-inc1.quickbook b/src/boost/tools/quickbook/test/include/section-inc1.quickbook
new file mode 100644
index 00000000..9c3fdd82
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/section-inc1.quickbook
@@ -0,0 +1 @@
+[section Mulitple file section]
diff --git a/src/boost/tools/quickbook/test/include/section-inc2.quickbook b/src/boost/tools/quickbook/test/include/section-inc2.quickbook
new file mode 100644
index 00000000..8acc6a50
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/section-inc2.quickbook
@@ -0,0 +1 @@
+[endsect]
diff --git a/src/boost/tools/quickbook/test/include/section-unclosed.gold b/src/boost/tools/quickbook/test/include/section-unclosed.gold
new file mode 100644
index 00000000..bea5cea6
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/section-unclosed.gold
@@ -0,0 +1,10 @@
+
+
+
+ Include Section Test
+
+ Mulitple file
+ section
+
+
diff --git a/src/boost/tools/quickbook/test/include/section-unclosed.gold-html b/src/boost/tools/quickbook/test/include/section-unclosed.gold-html
new file mode 100644
index 00000000..efbdd708
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/section-unclosed.gold-html
@@ -0,0 +1,26 @@
+
+
+
+
+
+ Include Section Test
+
+
+
+ Table of contents
+
+
+
+
+
+ Mulitple file section
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/section-unclosed.quickbook b/src/boost/tools/quickbook/test/include/section-unclosed.quickbook
new file mode 100644
index 00000000..290cd163
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/section-unclosed.quickbook
@@ -0,0 +1,5 @@
+[article Include Section Test
+[quickbook 1.5]
+]
+
+[include section-inc1.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/section.gold b/src/boost/tools/quickbook/test/include/section.gold
new file mode 100644
index 00000000..bea5cea6
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/section.gold
@@ -0,0 +1,10 @@
+
+
+
+ Include Section Test
+
+ Mulitple file
+ section
+
+
diff --git a/src/boost/tools/quickbook/test/include/section.gold-html b/src/boost/tools/quickbook/test/include/section.gold-html
new file mode 100644
index 00000000..efbdd708
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/section.gold-html
@@ -0,0 +1,26 @@
+
+
+
+
+
+ Include Section Test
+
+
+
+ Table of contents
+
+
+
+
+
+ Mulitple file section
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/section.quickbook b/src/boost/tools/quickbook/test/include/section.quickbook
new file mode 100644
index 00000000..a570b352
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/section.quickbook
@@ -0,0 +1,6 @@
+[article Include Section Test
+[quickbook 1.5]
+]
+
+[include section-inc1.quickbook]
+[include section-inc2.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/source_mode-1_5.gold b/src/boost/tools/quickbook/test/include/source_mode-1_5.gold
new file mode 100644
index 00000000..2ed6b7fe
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/source_mode-1_5.gold
@@ -0,0 +1,9 @@
+
+
+
+ Souce Mode Include
+void main() {}
+void main() {}
+
+
diff --git a/src/boost/tools/quickbook/test/include/source_mode-1_5.gold-html b/src/boost/tools/quickbook/test/include/source_mode-1_5.gold-html
new file mode 100644
index 00000000..8781356e
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/source_mode-1_5.gold-html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ Souce Mode Include
+
+void main() {}
+void main() {}
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/source_mode-1_5.quickbook b/src/boost/tools/quickbook/test/include/source_mode-1_5.quickbook
new file mode 100644
index 00000000..d5df05bd
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/source_mode-1_5.quickbook
@@ -0,0 +1,4 @@
+[article Souce Mode Include [source-mode teletype][quickbook 1.5]]
+
+[include source_mode-inc1.quickbook]
+[include source_mode-inc2.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/source_mode-1_6.gold b/src/boost/tools/quickbook/test/include/source_mode-1_6.gold
new file mode 100644
index 00000000..aa01d205
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/source_mode-1_6.gold
@@ -0,0 +1,13 @@
+
+
+
+ Souce Mode Include
+
+ Source include with no source-mode
+void main () {}
+
+void main() {}
+
+
diff --git a/src/boost/tools/quickbook/test/include/source_mode-1_6.gold-html b/src/boost/tools/quickbook/test/include/source_mode-1_6.gold-html
new file mode 100644
index 00000000..c41dbbe7
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/source_mode-1_6.gold-html
@@ -0,0 +1,27 @@
+
+
+
+
+
+ Souce Mode Include
+
+
+
+ Table of contents
+
+
+
+void main() {}
+
+
+
+ Source include with no source-mode
+
+
void main () {}
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/source_mode-1_6.quickbook b/src/boost/tools/quickbook/test/include/source_mode-1_6.quickbook
new file mode 100644
index 00000000..fc4243f3
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/source_mode-1_6.quickbook
@@ -0,0 +1,5 @@
+[source-mode teletype][quickbook 1.6]
+[article Souce Mode Include]
+
+[include source_mode-inc1.quickbook]
+[include source_mode-inc2.quickbook]
diff --git a/src/boost/tools/quickbook/test/include/source_mode-inc1.quickbook b/src/boost/tools/quickbook/test/include/source_mode-inc1.quickbook
new file mode 100644
index 00000000..3cefbe6b
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/source_mode-inc1.quickbook
@@ -0,0 +1,3 @@
+[article Source include with no source-mode]
+
+ void main() {}
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/include/source_mode-inc2.quickbook b/src/boost/tools/quickbook/test/include/source_mode-inc2.quickbook
new file mode 100644
index 00000000..81dba8a1
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/source_mode-inc2.quickbook
@@ -0,0 +1,3 @@
+[/ Source include with no source-mode, and no docinfo.]
+
+ void main() {}
diff --git a/src/boost/tools/quickbook/test/include/sub/filename_include1.quickbook b/src/boost/tools/quickbook/test/include/sub/filename_include1.quickbook
new file mode 100644
index 00000000..6c57614d
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/sub/filename_include1.quickbook
@@ -0,0 +1,3 @@
+__FILENAME__
+
+[include ../filename_include2.quickbook]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/include/template_include-1_7.gold b/src/boost/tools/quickbook/test/include/template_include-1_7.gold
new file mode 100644
index 00000000..163ff30e
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/template_include-1_7.gold
@@ -0,0 +1,12 @@
+
+
+
+ Template include test
+
+ Simple
+ include
+
+void main () {}
+
+
diff --git a/src/boost/tools/quickbook/test/include/template_include-1_7.gold-html b/src/boost/tools/quickbook/test/include/template_include-1_7.gold-html
new file mode 100644
index 00000000..fdd7ff8c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/template_include-1_7.gold-html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ Template include test
+
+
+ Simple include
+
+void main () {}
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/template_include-1_7.quickbook b/src/boost/tools/quickbook/test/include/template_include-1_7.quickbook
new file mode 100644
index 00000000..19f58fab
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/template_include-1_7.quickbook
@@ -0,0 +1,8 @@
+[article Template include test
+[quickbook 1.7]
+]
+
+[template include_foo[name] [include [name].quickbook]]
+
+[include_foo include-id-inc1]
+[include_foo source_mode-inc2]
diff --git a/src/boost/tools/quickbook/test/include/templates-1.5.gold b/src/boost/tools/quickbook/test/include/templates-1.5.gold
new file mode 100644
index 00000000..7d7e5dd6
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/templates-1.5.gold
@@ -0,0 +1,12 @@
+
+
+
+ Templates 1.5
+
+ Inline:templates-inc1.quickbook
+
+
+ Foo:templates-1.5.quickbook
+
+
diff --git a/src/boost/tools/quickbook/test/include/templates-1.5.gold-html b/src/boost/tools/quickbook/test/include/templates-1.5.gold-html
new file mode 100644
index 00000000..c773637b
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/templates-1.5.gold-html
@@ -0,0 +1,15 @@
+
+
+
+
+
+ Templates 1.5
+
+
+ Inline:templates-inc1.quickbook
+
+
+ Foo:templates-1.5.quickbook
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/templates-1.5.quickbook b/src/boost/tools/quickbook/test/include/templates-1.5.quickbook
new file mode 100644
index 00000000..5104ae6f
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/templates-1.5.quickbook
@@ -0,0 +1,7 @@
+[article Templates 1.5
+[quickbook 1.5]
+]
+
+[include templates-inc1.quickbook]
+
+[foo]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/include/templates-1.6.gold b/src/boost/tools/quickbook/test/include/templates-1.6.gold
new file mode 100644
index 00000000..4e37e5e6
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/templates-1.6.gold
@@ -0,0 +1,15 @@
+
+
+
+ Templates 1.6
+
+ Inline:templates-inc1.quickbook
+
+
+ [foo]
+
+
+ Foo:templates-1.6.quickbook
+
+
diff --git a/src/boost/tools/quickbook/test/include/templates-1.6.gold-html b/src/boost/tools/quickbook/test/include/templates-1.6.gold-html
new file mode 100644
index 00000000..362390d9
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/templates-1.6.gold-html
@@ -0,0 +1,18 @@
+
+
+
+
+
+ Templates 1.6
+
+
+ Inline:templates-inc1.quickbook
+
+
+ [foo]
+
+
+ Foo:templates-1.6.quickbook
+
+
+
diff --git a/src/boost/tools/quickbook/test/include/templates-1.6.quickbook b/src/boost/tools/quickbook/test/include/templates-1.6.quickbook
new file mode 100644
index 00000000..77d821e4
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/templates-1.6.quickbook
@@ -0,0 +1,11 @@
+[article Templates 1.6
+[quickbook 1.6]
+]
+
+[include templates-inc1.quickbook]
+
+[foo]
+
+[import templates-inc1.quickbook]
+
+[foo]
diff --git a/src/boost/tools/quickbook/test/include/templates-inc1.quickbook b/src/boost/tools/quickbook/test/include/templates-inc1.quickbook
new file mode 100644
index 00000000..70574627
--- /dev/null
+++ b/src/boost/tools/quickbook/test/include/templates-inc1.quickbook
@@ -0,0 +1,4 @@
+Inline:__FILENAME__
+
+[template foo Foo:__FILENAME__]
+
--
cgit v1.2.3