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/doc-info/Jamfile.v2 | 38 ++++++++++
.../tools/quickbook/test/doc-info/author1.gold | 13 ++++
.../quickbook/test/doc-info/author1.gold-html | 14 ++++
.../quickbook/test/doc-info/author1.quickbook | 5 ++
.../tools/quickbook/test/doc-info/author2.gold | 19 +++++
.../quickbook/test/doc-info/author2.gold-html | 20 +++++
.../quickbook/test/doc-info/author2.quickbook | 4 +
.../test/doc-info/copyright-fail1.quickbook | 4 +
.../test/doc-info/copyright-fail2.quickbook | 6 ++
.../tools/quickbook/test/doc-info/copyright1.gold | 17 +++++
.../quickbook/test/doc-info/copyright1.gold-html | 18 +++++
.../quickbook/test/doc-info/copyright1.quickbook | 5 ++
.../quickbook/test/doc-info/duplicates-1.1.gold | 35 +++++++++
.../test/doc-info/duplicates-1.1.gold-html | 31 ++++++++
.../test/doc-info/duplicates-1.1.quickbook | 23 ++++++
.../quickbook/test/doc-info/duplicates-1.5.gold | 32 ++++++++
.../test/doc-info/duplicates-1.5.gold-html | 28 +++++++
.../test/doc-info/duplicates-1.5.quickbook | 27 +++++++
.../quickbook/test/doc-info/empty-attributes.gold | 19 +++++
.../test/doc-info/empty-attributes.gold-html | 19 +++++
.../test/doc-info/empty-attributes.quickbook | 16 ++++
.../quickbook/test/doc-info/empty_title-1_1.gold | 10 +++
.../test/doc-info/empty_title-1_1.gold-html | 26 +++++++
.../test/doc-info/empty_title-1_1.quickbook | 8 ++
.../quickbook/test/doc-info/empty_title-1_5.gold | 10 +++
.../test/doc-info/empty_title-1_5.gold-html | 26 +++++++
.../test/doc-info/empty_title-1_5.quickbook | 7 ++
.../quickbook/test/doc-info/empty_title-1_6.gold | 4 +
.../test/doc-info/empty_title-1_6.gold-html | 6 ++
.../test/doc-info/empty_title-1_6.quickbook | 1 +
.../tools/quickbook/test/doc-info/encode-1.5.gold | 26 +++++++
.../quickbook/test/doc-info/encode-1.5.gold-html | 20 +++++
.../quickbook/test/doc-info/encode-1.5.quickbook | 14 ++++
.../tools/quickbook/test/doc-info/escape-1.6.gold | 24 ++++++
.../quickbook/test/doc-info/escape-1.6.gold-html | 20 +++++
.../quickbook/test/doc-info/escape-1.6.quickbook | 12 +++
.../test/doc-info/escaped_attributes1-1_7.gold | 16 ++++
.../doc-info/escaped_attributes1-1_7.gold-html | 17 +++++
.../doc-info/escaped_attributes1-1_7.quickbook | 11 +++
.../test/doc-info/escaped_attributes2-1_7.gold | 12 +++
.../doc-info/escaped_attributes2-1_7.gold-html | 14 ++++
.../doc-info/escaped_attributes2-1_7.quickbook | 10 +++
.../tools/quickbook/test/doc-info/id1-1.5.gold | 27 +++++++
.../quickbook/test/doc-info/id1-1.5.gold-html | 86 ++++++++++++++++++++++
.../quickbook/test/doc-info/id1-1.5.quickbook | 21 ++++++
.../test/doc-info/id1-docinfo-no-id.quickbook | 5 ++
.../test/doc-info/id1-no-docinfo.quickbook | 2 +
.../tools/quickbook/test/doc-info/macros1-1_5.gold | 11 +++
.../quickbook/test/doc-info/macros1-1_5.gold-html | 9 +++
.../quickbook/test/doc-info/macros1-1_5.quickbook | 6 ++
.../tools/quickbook/test/doc-info/macros1-1_6.gold | 8 ++
.../quickbook/test/doc-info/macros1-1_6.gold-html | 24 ++++++
.../quickbook/test/doc-info/macros1-1_6.quickbook | 7 ++
.../test/doc-info/macros1-inc_1_6.quickbook | 4 +
.../doc-info/missing_doc_info-1_6-fail.quickbook | 3 +
.../quickbook/test/doc-info/source-mode-1.4.gold | 33 +++++++++
.../test/doc-info/source-mode-1.4.gold-html | 31 ++++++++
.../test/doc-info/source-mode-1.4.quickbook | 17 +++++
.../quickbook/test/doc-info/source-mode-1.5.gold | 38 ++++++++++
.../test/doc-info/source-mode-1.5.gold-html | 37 ++++++++++
.../test/doc-info/source-mode-1.5.quickbook | 21 ++++++
.../quickbook/test/doc-info/source-mode-1.6.gold | 42 +++++++++++
.../test/doc-info/source-mode-1.6.gold-html | 60 +++++++++++++++
.../test/doc-info/source-mode-1.6.quickbook | 21 ++++++
.../doc-info/source-mode-cpp-include.quickbook | 4 +
.../doc-info/source-mode-python-include.quickbook | 5 ++
.../source-mode-teletype-include.quickbook | 5 ++
.../test/doc-info/title_trailing_space-1_1.gold | 9 +++
.../doc-info/title_trailing_space-1_1.gold-html | 26 +++++++
.../doc-info/title_trailing_space-1_1.quickbook | 5 ++
.../test/doc-info/title_trailing_space-1_6.gold | 9 +++
.../doc-info/title_trailing_space-1_6.gold-html | 26 +++++++
.../doc-info/title_trailing_space-1_6.quickbook | 5 ++
73 files changed, 1294 insertions(+)
create mode 100644 src/boost/tools/quickbook/test/doc-info/Jamfile.v2
create mode 100644 src/boost/tools/quickbook/test/doc-info/author1.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/author1.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/author1.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/author2.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/author2.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/author2.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/copyright-fail1.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/copyright-fail2.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/copyright1.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/copyright1.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/copyright1.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/duplicates-1.1.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/duplicates-1.1.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/duplicates-1.1.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/duplicates-1.5.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/duplicates-1.5.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/duplicates-1.5.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty-attributes.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty-attributes.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty-attributes.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty_title-1_1.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty_title-1_1.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty_title-1_1.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty_title-1_5.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty_title-1_5.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty_title-1_5.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty_title-1_6.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty_title-1_6.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/empty_title-1_6.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/encode-1.5.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/encode-1.5.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/encode-1.5.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/escape-1.6.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/escape-1.6.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/escape-1.6.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/id1-1.5.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/id1-1.5.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/id1-1.5.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/id1-docinfo-no-id.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/id1-no-docinfo.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/macros1-1_5.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/macros1-1_5.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/macros1-1_5.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/macros1-1_6.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/macros1-1_6.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/macros1-1_6.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/macros1-inc_1_6.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/missing_doc_info-1_6-fail.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-1.4.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-1.4.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-1.4.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-1.5.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-1.5.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-1.5.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-1.6.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-1.6.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-1.6.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-cpp-include.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-python-include.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/source-mode-teletype-include.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.quickbook
create mode 100644 src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.gold
create mode 100644 src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.gold-html
create mode 100644 src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.quickbook
(limited to 'src/boost/tools/quickbook/test/doc-info')
diff --git a/src/boost/tools/quickbook/test/doc-info/Jamfile.v2 b/src/boost/tools/quickbook/test/doc-info/Jamfile.v2
new file mode 100644
index 00000000..a35229c0
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/Jamfile.v2
@@ -0,0 +1,38 @@
+#
+# Copyright (c) 2005 João Abecasis
+#
+# 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/tests/doc-info ;
+
+import quickbook-testing : quickbook-test quickbook-error-test ;
+
+test-suite quickbook.test :
+ [ quickbook-test escape-1.6 ]
+ [ quickbook-test encode-1.5 ]
+ [ quickbook-test author1 ]
+ [ quickbook-test author2 ]
+ [ quickbook-test empty-attributes ]
+ [ quickbook-test escaped_attributes1-1_7 ]
+ [ quickbook-test escaped_attributes2-1_7 ]
+ [ quickbook-test duplicates-1.1 ]
+ [ quickbook-test duplicates-1.5 ]
+ [ quickbook-test macros1-1_5 ]
+ [ quickbook-test macros1-1_6 ]
+ [ quickbook-test source-mode-1.4 ]
+ [ quickbook-test source-mode-1.5 ]
+ [ quickbook-test source-mode-1.6 ]
+ [ quickbook-test copyright1 ]
+ [ quickbook-error-test copyright-fail1 ]
+ [ quickbook-error-test copyright-fail2 ]
+ [ quickbook-test id1-1.5 ]
+ [ quickbook-test title_trailing_space-1_1 ]
+ [ quickbook-test title_trailing_space-1_6 ]
+ [ quickbook-test empty_title-1_1 ]
+ [ quickbook-test empty_title-1_5 ]
+ [ quickbook-test empty_title-1_6 ]
+ [ quickbook-error-test missing_doc_info-1_6-fail ]
+ ;
diff --git a/src/boost/tools/quickbook/test/doc-info/author1.gold b/src/boost/tools/quickbook/test/doc-info/author1.gold
new file mode 100644
index 00000000..613fa83e
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/author1.gold
@@ -0,0 +1,13 @@
+
+
+
+ Document Information 4
+
+
+
+ Joe Blow
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/author1.gold-html b/src/boost/tools/quickbook/test/doc-info/author1.gold-html
new file mode 100644
index 00000000..9d39657f
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/author1.gold-html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ Document Information 4
+
+
+
+ Joe Blow
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/author1.quickbook b/src/boost/tools/quickbook/test/doc-info/author1.quickbook
new file mode 100644
index 00000000..4505b409
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/author1.quickbook
@@ -0,0 +1,5 @@
+[appendix Document Information 4
+[quickbook 1.5]
+[authors [Blow, Joe]]
+]
+[/ Some comment]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/author2.gold b/src/boost/tools/quickbook/test/doc-info/author2.gold
new file mode 100644
index 00000000..766d8f68
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/author2.gold
@@ -0,0 +1,19 @@
+
+
+
+ Document Information 4
+
+
+
+ Joe Blow
+
+
+ Jane Doe
+
+
+ John Coe
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/author2.gold-html b/src/boost/tools/quickbook/test/doc-info/author2.gold-html
new file mode 100644
index 00000000..59b9b7e5
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/author2.gold-html
@@ -0,0 +1,20 @@
+
+
+
+
+
+ Document Information 4
+
+
+
+ Joe Blow
+
+
+ Jane Doe
+
+
+ John Coe
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/author2.quickbook b/src/boost/tools/quickbook/test/doc-info/author2.quickbook
new file mode 100644
index 00000000..c4737e0a
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/author2.quickbook
@@ -0,0 +1,4 @@
+[chapter Document Information 4
+[quickbook 1.5]
+[authors [Blow, Joe], [Doe, Jane] [Coe, John]]
+]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/copyright-fail1.quickbook b/src/boost/tools/quickbook/test/doc-info/copyright-fail1.quickbook
new file mode 100644
index 00000000..20738cb9
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/copyright-fail1.quickbook
@@ -0,0 +1,4 @@
+[article Invalid copyright years
+[quickbook 1.5]
+[copyright 2010-2001 Timequake man]
+]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/copyright-fail2.quickbook b/src/boost/tools/quickbook/test/doc-info/copyright-fail2.quickbook
new file mode 100644
index 00000000..607c3a78
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/copyright-fail2.quickbook
@@ -0,0 +1,6 @@
+[article Invalid copyright
+[quickbook 1.5]
+[copyright No year]
+]
+
+Maybe this should pass?
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/copyright1.gold b/src/boost/tools/quickbook/test/doc-info/copyright1.gold
new file mode 100644
index 00000000..3c6d4066
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/copyright1.gold
@@ -0,0 +1,17 @@
+
+
+
+ Copyright Test
+
+
+ 1963 1964 1965 Jane Doe
+
+
+ 2018 Joe Blow, John Coe
+
+
+ 1977 1985 Someone else
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/copyright1.gold-html b/src/boost/tools/quickbook/test/doc-info/copyright1.gold-html
new file mode 100644
index 00000000..61b05b47
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/copyright1.gold-html
@@ -0,0 +1,18 @@
+
+
+
+
+
+ Copyright Test
+
+
+ 1963, 1964, 1965 Jane Doe
+
+
+ 2018 Joe Blow, John Coe
+
+
+ 1977, 1985 Someone else
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/copyright1.quickbook b/src/boost/tools/quickbook/test/doc-info/copyright1.quickbook
new file mode 100644
index 00000000..4dff125f
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/copyright1.quickbook
@@ -0,0 +1,5 @@
+[article Copyright Test
+[quickbook 1.5]
+[copyright 1963-1965 Jane Doe, 2018 Joe Blow, John Coe]
+[copyright 1977,1985 Someone else]
+]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/duplicates-1.1.gold b/src/boost/tools/quickbook/test/doc-info/duplicates-1.1.gold
new file mode 100644
index 00000000..7ff1fa4b
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/duplicates-1.1.gold
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+ Joe Blow
+
+
+ Jane Doe
+
+
+
+ 2018 Joe Blow
+
+
+ 1963 Jane Doe
+
+
+
+ Public Domain
+
+
+
+ Another Duplicate
+
+
+
+ Duplicates 1.1 2
+
+ Content
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/duplicates-1.1.gold-html b/src/boost/tools/quickbook/test/doc-info/duplicates-1.1.gold-html
new file mode 100644
index 00000000..cd1eb53d
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/duplicates-1.1.gold-html
@@ -0,0 +1,31 @@
+
+
+
+
+
+ Duplicates 1.1 2
+
+
+
+ Joe Blow
+
+
+ Jane Doe
+
+
+
+ 2018 Joe Blow
+
+
+ 1963 Jane Doe
+
+
+
+ Content
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/duplicates-1.1.quickbook b/src/boost/tools/quickbook/test/doc-info/duplicates-1.1.quickbook
new file mode 100644
index 00000000..d5daa215
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/duplicates-1.1.quickbook
@@ -0,0 +1,23 @@
+[library Duplicates 1.1
+
+[id thing1]
+[id thing2]
+[dirname thing1]
+[dirname thing2]
+[last-revision Yesterday]
+[last-revision Tomorrow]
+[purpose Test Duplicates]
+[purpose Another Duplicate]
+[category Category 1]
+[category Category 2]
+[version 1]
+[version 2]
+[authors [Blow, Joe]]
+[authors [Doe, Jane]]
+[copyright 2018 Joe Blow]
+[copyright 1963 Jane Doe]
+[license Some license]
+[license Public Domain]
+]
+
+Content
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/duplicates-1.5.gold b/src/boost/tools/quickbook/test/doc-info/duplicates-1.5.gold
new file mode 100644
index 00000000..71a58a8d
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/duplicates-1.5.gold
@@ -0,0 +1,32 @@
+
+
+
+ Duplicates 1.5 2
+
+
+
+ Joe Blow
+
+
+ Jane Doe
+
+
+
+ 2018 Joe Blow
+
+
+ 1963 Jane Doe
+
+
+
+ Public Domain
+
+
+
+ Another Duplicate
+
+ http://www.boost.org/tools/quickbook/test/doc-info-2.quickbook
+ 0-937383-18-X
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/duplicates-1.5.gold-html b/src/boost/tools/quickbook/test/doc-info/duplicates-1.5.gold-html
new file mode 100644
index 00000000..1c448e7f
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/duplicates-1.5.gold-html
@@ -0,0 +1,28 @@
+
+
+
+
+
+ Duplicates 1.5 2
+
+
+
+ Joe Blow
+
+
+ Jane Doe
+
+
+
+ 2018 Joe Blow
+
+
+ 1963 Jane Doe
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/duplicates-1.5.quickbook b/src/boost/tools/quickbook/test/doc-info/duplicates-1.5.quickbook
new file mode 100644
index 00000000..ed8f5da2
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/duplicates-1.5.quickbook
@@ -0,0 +1,27 @@
+[article Duplicates 1.5
+[quickbook 1.5]
+[quickbook 1.5]
+
+[id thing1]
+[id thing2]
+[dirname thing1]
+[dirname thing2]
+[last-revision Yesterday]
+[last-revision Tomorrow]
+[purpose Test Duplicates]
+[purpose Another Duplicate]
+[category Category 1]
+[category Category 2]
+[lang en]
+[lang de]
+[version 1]
+[version 2]
+[authors [Blow, Joe]]
+[authors [Doe, Jane]]
+[copyright 2018 Joe Blow]
+[copyright 1963 Jane Doe]
+[license Some license]
+[license Public Domain]
+[biblioid uri http://www.boost.org/tools/quickbook/test/doc-info-2.quickbook]
+[biblioid isbn 0-937383-18-X]
+]
diff --git a/src/boost/tools/quickbook/test/doc-info/empty-attributes.gold b/src/boost/tools/quickbook/test/doc-info/empty-attributes.gold
new file mode 100644
index 00000000..a7f05f75
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty-attributes.gold
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+ 2011
+
+
+ Empty Attributes
+
+ biblioid and source-mode can't be empty.
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/empty-attributes.gold-html b/src/boost/tools/quickbook/test/doc-info/empty-attributes.gold-html
new file mode 100644
index 00000000..07d23c0b
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty-attributes.gold-html
@@ -0,0 +1,19 @@
+
+
+
+
+
+ Empty Attributes
+
+
+
+
+
+
+ 2011
+
+
+ biblioid and source-mode can't be empty.
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/empty-attributes.quickbook b/src/boost/tools/quickbook/test/doc-info/empty-attributes.quickbook
new file mode 100644
index 00000000..a31dc719
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty-attributes.quickbook
@@ -0,0 +1,16 @@
+[library Empty Attributes
+[version]
+[id]
+[dirname]
+[copyright]
+[copyright 2011]
+[purpose]
+[category]
+[authors]
+[authors [,]]
+[license]
+[last-revision]
+[lang]
+]
+
+=biblioid= and =source-mode= can't be empty.
diff --git a/src/boost/tools/quickbook/test/doc-info/empty_title-1_1.gold b/src/boost/tools/quickbook/test/doc-info/empty_title-1_1.gold
new file mode 100644
index 00000000..01bc6067
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty_title-1_1.gold
@@ -0,0 +1,10 @@
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/empty_title-1_1.gold-html b/src/boost/tools/quickbook/test/doc-info/empty_title-1_1.gold-html
new file mode 100644
index 00000000..359cf154
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty_title-1_1.gold-html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+ Table of contents
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/empty_title-1_1.quickbook b/src/boost/tools/quickbook/test/doc-info/empty_title-1_1.quickbook
new file mode 100644
index 00000000..45769a98
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty_title-1_1.quickbook
@@ -0,0 +1,8 @@
+[article
+]
+
+[section Test]
+
+Hello
+
+[endsect]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/empty_title-1_5.gold b/src/boost/tools/quickbook/test/doc-info/empty_title-1_5.gold
new file mode 100644
index 00000000..03448279
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty_title-1_5.gold
@@ -0,0 +1,10 @@
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/empty_title-1_5.gold-html b/src/boost/tools/quickbook/test/doc-info/empty_title-1_5.gold-html
new file mode 100644
index 00000000..359cf154
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty_title-1_5.gold-html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+ Table of contents
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/empty_title-1_5.quickbook b/src/boost/tools/quickbook/test/doc-info/empty_title-1_5.quickbook
new file mode 100644
index 00000000..99cbf6b7
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty_title-1_5.quickbook
@@ -0,0 +1,7 @@
+[article
+[quickbook 1.5]
+]
+
+[section Test]
+Hello
+[endsect]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/empty_title-1_6.gold b/src/boost/tools/quickbook/test/doc-info/empty_title-1_6.gold
new file mode 100644
index 00000000..1dce22ef
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty_title-1_6.gold
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/empty_title-1_6.gold-html b/src/boost/tools/quickbook/test/doc-info/empty_title-1_6.gold-html
new file mode 100644
index 00000000..ce2d4462
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty_title-1_6.gold-html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/empty_title-1_6.quickbook b/src/boost/tools/quickbook/test/doc-info/empty_title-1_6.quickbook
new file mode 100644
index 00000000..bf310afd
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/empty_title-1_6.quickbook
@@ -0,0 +1 @@
+[quickbook 1.6][article]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/encode-1.5.gold b/src/boost/tools/quickbook/test/doc-info/encode-1.5.gold
new file mode 100644
index 00000000..83870c7c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/encode-1.5.gold
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+ Matti Meikäläinen
+
+
+ Pero Perić
+
+
+
+ 2010 Meðal-Jón and Jóna Jónsdóttir
+
+
+ Inline code test: 1 + 2
+
+
+ http://www.boost.org/tools/quickbook/test/doc-info-2.quickbook
+ 0-937383-18-X
+
+ Karel Vomáčka and Tomáš Martiník
+
diff --git a/src/boost/tools/quickbook/test/doc-info/encode-1.5.gold-html b/src/boost/tools/quickbook/test/doc-info/encode-1.5.gold-html
new file mode 100644
index 00000000..62ce95f8
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/encode-1.5.gold-html
@@ -0,0 +1,20 @@
+
+
+
+
+
+ Karel Vomáčka and Tomáš Martiník
+
+
+
+ Matti Meikäläinen
+
+
+ Pero Perić
+
+
+
+ 2010 Meðal-Jón and Jóna Jónsdóttir
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/encode-1.5.quickbook b/src/boost/tools/quickbook/test/doc-info/encode-1.5.quickbook
new file mode 100644
index 00000000..c1928c6a
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/encode-1.5.quickbook
@@ -0,0 +1,14 @@
+[library Karel Vomáčka and Tomáš Martiník
+[quickbook 1.5]
+[authors [Meikäläinen, Matti],[Perić, Pero]]
+[copyright 2010 Meðal-Jón and Jóna Jónsdóttir]
+[source-mode teletype]
+[purpose Inline code test: `1 + 2`]
+[category tests]
+[category irrelevance]
+[/ [category commented out] ]
+[biblioid uri http://www.boost.org/tools/quickbook/test/doc-info-2.quickbook]
+[biblioid isbn 0-937383-18-X]
+]
+
+[/ Some comment]
diff --git a/src/boost/tools/quickbook/test/doc-info/escape-1.6.gold b/src/boost/tools/quickbook/test/doc-info/escape-1.6.gold
new file mode 100644
index 00000000..63039867
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/escape-1.6.gold
@@ -0,0 +1,24 @@
+
+
+
+ Karel Vomáčka and Tomáš Martiník
+
+
+
+ Matti Meikäläinen
+
+
+ Pero Perić
+
+
+
+ 2010 Meðal-Jón and Jóna Jónsdóttir
+
+
+ Inline code test: 1 + 2
+
+
+ http://www.boost.org/tools/quickbook/test/doc-info-1.quickbook
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/escape-1.6.gold-html b/src/boost/tools/quickbook/test/doc-info/escape-1.6.gold-html
new file mode 100644
index 00000000..62ce95f8
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/escape-1.6.gold-html
@@ -0,0 +1,20 @@
+
+
+
+
+
+ Karel Vomáčka and Tomáš Martiník
+
+
+
+ Matti Meikäläinen
+
+
+ Pero Perić
+
+
+
+ 2010 Meðal-Jón and Jóna Jónsdóttir
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/escape-1.6.quickbook b/src/boost/tools/quickbook/test/doc-info/escape-1.6.quickbook
new file mode 100644
index 00000000..7ae3e700
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/escape-1.6.quickbook
@@ -0,0 +1,12 @@
+[article Karel Vom\u00E1\u010Dka and Tom\u00E1\u0161 Martin\u00EDk
+[quickbook 1.6]
+[authors [Meik\u00E4l\u00E4inen, Matti][Peri\u0107, Pero]]
+[copyright 2010 Me\u00F0al-J\u00F3n and J\u00F3na J\u00F3nsd\u00F3ttir]
+[source-mode teletype]
+[purpose Inline code test: `1 + 2`]
+[category tests]
+[category irrelevance]
+[/ [category commented out] ]
+[biblioid uri http://www.boost.org/tools/quickbook/test/doc-info-1.quickbook]
+[lang en]
+]
diff --git a/src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.gold b/src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.gold
new file mode 100644
index 00000000..b6425d91
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.gold
@@ -0,0 +1,16 @@
+
+
+
+
+
+ 1325 John Doe
+
+
+ John
+ Doe
+ john.doe@example.com
+
+
+ Escaped name
+
diff --git a/src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.gold-html b/src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.gold-html
new file mode 100644
index 00000000..73d9655c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.gold-html
@@ -0,0 +1,17 @@
+
+
+
+
+
+ Escaped name
+
+
+
+ John Doe
+
+
+
+ 1325 John Doe
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.quickbook b/src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.quickbook
new file mode 100644
index 00000000..e7016137
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/escaped_attributes1-1_7.quickbook
@@ -0,0 +1,11 @@
+[library Escaped name
+[quickbook 1.7]
+[copyright 1325 John Doe]
+'''
+ John
+ Doe
+ john.doe@example.com
+'''
+[category test]
+]
+
diff --git a/src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.gold b/src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.gold
new file mode 100644
index 00000000..259111ac
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.gold
@@ -0,0 +1,12 @@
+
+
+
+ Multiple escaped attributes
+
+
+ John
+ Doe
+ john.doe@example.com
+Acme Corporation
+
diff --git a/src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.gold-html b/src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.gold-html
new file mode 100644
index 00000000..35909461
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.gold-html
@@ -0,0 +1,14 @@
+
+
+
+
+
+ Multiple escaped attributes
+
+
+
+ John Doe
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.quickbook b/src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.quickbook
new file mode 100644
index 00000000..70676f8a
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/escaped_attributes2-1_7.quickbook
@@ -0,0 +1,10 @@
+[article Multiple escaped attributes
+[quickbook 1.7]
+'''
+ John
+ Doe
+ john.doe@example.com
+'''
+'''Acme Corporation'''
+]
+
diff --git a/src/boost/tools/quickbook/test/doc-info/id1-1.5.gold b/src/boost/tools/quickbook/test/doc-info/id1-1.5.gold
new file mode 100644
index 00000000..5b55391e
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/id1-1.5.gold
@@ -0,0 +1,27 @@
+
+
+
+ Missing Id test
+
+
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/id1-1.5.gold-html b/src/boost/tools/quickbook/test/doc-info/id1-1.5.gold-html
new file mode 100644
index 00000000..c6fbb841
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/id1-1.5.gold-html
@@ -0,0 +1,86 @@
+
+
+
+
+
+ Missing Id test
+
+
+
+ Table of contents
+
+
+
+
+
+ Missing Id test 1
+
+
+
+
+
+
+ No docinfo test 1
+
+
+
+
+
+
+ Missing Id test 2
+
+
+
+
+
+
+ Docinfo no id 1
+
+
+
+
+
+
+ Missing Id test 3
+
+
+
+
+
+
+ No docinfo test 1
+
+
+
+
+
+
+ Missing Id test 4
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/id1-1.5.quickbook b/src/boost/tools/quickbook/test/doc-info/id1-1.5.quickbook
new file mode 100644
index 00000000..c7065d0c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/id1-1.5.quickbook
@@ -0,0 +1,21 @@
+[article Missing Id test
+[quickbook 1.5]
+]
+
+[section Missing Id test 1]
+[endsect]
+
+[include id1-no-docinfo.quickbook]
+
+[section Missing Id test 2]
+[endsect]
+
+[include id1-docinfo-no-id.quickbook]
+
+[section Missing Id test 3]
+[endsect]
+
+[include id1-no-docinfo.quickbook]
+
+[section Missing Id test 4]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/doc-info/id1-docinfo-no-id.quickbook b/src/boost/tools/quickbook/test/doc-info/id1-docinfo-no-id.quickbook
new file mode 100644
index 00000000..d5e95482
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/id1-docinfo-no-id.quickbook
@@ -0,0 +1,5 @@
+[article Docinfo no id
+]
+
+[section Docinfo no id 1]
+[endsect]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/id1-no-docinfo.quickbook b/src/boost/tools/quickbook/test/doc-info/id1-no-docinfo.quickbook
new file mode 100644
index 00000000..4dbaf2de
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/id1-no-docinfo.quickbook
@@ -0,0 +1,2 @@
+[section No docinfo test 1]
+[endsect]
diff --git a/src/boost/tools/quickbook/test/doc-info/macros1-1_5.gold b/src/boost/tools/quickbook/test/doc-info/macros1-1_5.gold
new file mode 100644
index 00000000..0b76b9da
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/macros1-1_5.gold
@@ -0,0 +1,11 @@
+
+
+
+ Macro shouldn't expand: __DATE__
+
+
+ Unfortunately this does expand: 2000-Dec-20, but I'm not fixing it, as I don't
+ think it'll cause any real problems.
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/macros1-1_5.gold-html b/src/boost/tools/quickbook/test/doc-info/macros1-1_5.gold-html
new file mode 100644
index 00000000..7df921e6
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/macros1-1_5.gold-html
@@ -0,0 +1,9 @@
+
+
+
+
+
+ Macro shouldn't expand: __DATE__
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/macros1-1_5.quickbook b/src/boost/tools/quickbook/test/doc-info/macros1-1_5.quickbook
new file mode 100644
index 00000000..c66a1de6
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/macros1-1_5.quickbook
@@ -0,0 +1,6 @@
+[article Macro shouldn't expand: __DATE__
+ [quickbook 1.5]
+ [last-revision __DATE__]
+ [purpose Unfortunately this does expand: __DATE__, but I'm not fixing it,
+ as I don't think it'll cause any real problems.]
+]
diff --git a/src/boost/tools/quickbook/test/doc-info/macros1-1_6.gold b/src/boost/tools/quickbook/test/doc-info/macros1-1_6.gold
new file mode 100644
index 00000000..92ac1a19
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/macros1-1_6.gold
@@ -0,0 +1,8 @@
+
+
+
+ Testing date: 2000-Dec-20
+
+ Testing macro date: 5 May 2013
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/macros1-1_6.gold-html b/src/boost/tools/quickbook/test/doc-info/macros1-1_6.gold-html
new file mode 100644
index 00000000..57b67375
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/macros1-1_6.gold-html
@@ -0,0 +1,24 @@
+
+
+
+
+
+ Testing date: 2000-Dec-20
+
+
+
+ Table of contents
+
+
+
+
+
+ Testing macro date: 5 May 2013
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/macros1-1_6.quickbook b/src/boost/tools/quickbook/test/doc-info/macros1-1_6.quickbook
new file mode 100644
index 00000000..058c3495
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/macros1-1_6.quickbook
@@ -0,0 +1,7 @@
+[article Testing date: __DATE__
+ [quickbook 1.6]
+ [last-revision __DATE__]
+]
+
+[def NESTED_MACRO 5 May 2013]
+[include macros1-inc_1_6.quickbook]
diff --git a/src/boost/tools/quickbook/test/doc-info/macros1-inc_1_6.quickbook b/src/boost/tools/quickbook/test/doc-info/macros1-inc_1_6.quickbook
new file mode 100644
index 00000000..47fc84a8
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/macros1-inc_1_6.quickbook
@@ -0,0 +1,4 @@
+[chapter Testing macro date: NESTED_MACRO
+ [quickbook 1.6]
+ [last-revision NESTED_MACRO]
+]
diff --git a/src/boost/tools/quickbook/test/doc-info/missing_doc_info-1_6-fail.quickbook b/src/boost/tools/quickbook/test/doc-info/missing_doc_info-1_6-fail.quickbook
new file mode 100644
index 00000000..6f0b2cdb
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/missing_doc_info-1_6-fail.quickbook
@@ -0,0 +1,3 @@
+[quickbook 1.6]
+
+Hello!
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-1.4.gold b/src/boost/tools/quickbook/test/doc-info/source-mode-1.4.gold
new file mode 100644
index 00000000..f7fea9a7
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-1.4.gold
@@ -0,0 +1,33 @@
+
+
+
+ C++ test
+
+
+
+ def foo(x):
+ print "Hello"
+
+
+
+ int main() {}
+
+
+
+int main() {}
+
+
+def foo():
+
+
+def foo(x):
+
+
+int main() {}
+
+
+int main() {}
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-1.4.gold-html b/src/boost/tools/quickbook/test/doc-info/source-mode-1.4.gold-html
new file mode 100644
index 00000000..e1237d1f
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-1.4.gold-html
@@ -0,0 +1,31 @@
+
+
+
+
+
+ C++ test
+
+
+
+ def foo(x):
+ print "Hello"
+
+
+
+
int main() {}
+
+
+
def foo():
+
+
+
def foo(x):
+
+
+
int main() {}
+
+
+
int main() {}
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-1.4.quickbook b/src/boost/tools/quickbook/test/doc-info/source-mode-1.4.quickbook
new file mode 100644
index 00000000..a04bca74
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-1.4.quickbook
@@ -0,0 +1,17 @@
+[article C++ test
+[quickbook 1.5]
+[source-mode python]
+[license `def foo(x): print "Hello"`]
+[source-mode c++]
+[purpose `int main() {}`]
+]
+
+```int main() {}```
+
+[include source-mode-python-include.quickbook]
+
+```def foo(x):```
+
+[include source-mode-cpp-include.quickbook]
+
+```int main() {}```
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-1.5.gold b/src/boost/tools/quickbook/test/doc-info/source-mode-1.5.gold
new file mode 100644
index 00000000..340c5d2e
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-1.5.gold
@@ -0,0 +1,38 @@
+
+
+
+ C++ test
+
+
+
+ def foo(x):
+ print "Hello"
+
+
+
+ This shouldn't be highlighted
+
+
+
+This shouldn't be highlighted.
+
+
+int main() {}
+
+
+int main() {}
+
+
+def foo():
+
+
+def foo(x):
+
+
+This shouldn't be highlighted
+
+
+This shouldn't be highlighted.
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-1.5.gold-html b/src/boost/tools/quickbook/test/doc-info/source-mode-1.5.gold-html
new file mode 100644
index 00000000..4eacbb67
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-1.5.gold-html
@@ -0,0 +1,37 @@
+
+
+
+
+
+ C++ test
+
+
+
+ def foo(x):
+ print "Hello"
+
+
+
+
This shouldn't be highlighted.
+
+
+
int main() {}
+
+
+
int main() {}
+
+
+
def foo():
+
+
+
def foo(x):
+
+
+
This shouldn't be highlighted
+
+
+
This shouldn't be highlighted.
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-1.5.quickbook b/src/boost/tools/quickbook/test/doc-info/source-mode-1.5.quickbook
new file mode 100644
index 00000000..78e20b7c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-1.5.quickbook
@@ -0,0 +1,21 @@
+[article C++ test
+[quickbook 1.5]
+[source-mode python]
+[license `def foo(x): print "Hello"`]
+[source-mode teletype]
+[purpose `This shouldn't be highlighted`]
+]
+
+```This shouldn't be highlighted.```
+
+[include source-mode-cpp-include.quickbook]
+
+```int main() {}```
+
+[include source-mode-python-include.quickbook]
+
+```def foo(x):```
+
+[include source-mode-teletype-include.quickbook]
+
+```This shouldn't be highlighted.```
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-1.6.gold b/src/boost/tools/quickbook/test/doc-info/source-mode-1.6.gold
new file mode 100644
index 00000000..02496673
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-1.6.gold
@@ -0,0 +1,42 @@
+
+
+
+ C++ test
+
+
+
+ def foo(x):
+ print "Hello"
+
+
+
+ This shouldn't be highlighted
+
+
+This shouldn't be highlighted.
+
+ C++ source mode include
+
+int main() {}
+
+
+This shouldn't be highlighted.
+
+ Python source mode include
+
+def foo():
+
+
+This shouldn't be highlighted.
+
+ Teletype source mode include
+
+This shouldn't be highlighted
+
+
+This shouldn't be highlighted.
+
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-1.6.gold-html b/src/boost/tools/quickbook/test/doc-info/source-mode-1.6.gold-html
new file mode 100644
index 00000000..79390c04
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-1.6.gold-html
@@ -0,0 +1,60 @@
+
+
+
+
+
+ C++ test
+
+
+
+ def foo(x):
+ print "Hello"
+
+
+
+
+ Table of contents
+
+
+
+This shouldn't be highlighted.
+This shouldn't be highlighted.
+This shouldn't be highlighted.
+This shouldn't be highlighted.
+
+
+ C++ source mode include
+
+
+
int main() {}
+
+
+
+
+ Python source mode include
+
+
+
def foo():
+
+
+
+
+ Teletype source mode include
+
+
+
This shouldn't be highlighted
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-1.6.quickbook b/src/boost/tools/quickbook/test/doc-info/source-mode-1.6.quickbook
new file mode 100644
index 00000000..02f7ee4c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-1.6.quickbook
@@ -0,0 +1,21 @@
+[article C++ test
+[quickbook 1.6]
+[source-mode python]
+[license `def foo(x): print "Hello"`]
+[source-mode teletype]
+[purpose `This shouldn't be highlighted`]
+]
+
+```This shouldn't be highlighted.```
+
+[include source-mode-cpp-include.quickbook]
+
+```This shouldn't be highlighted.```
+
+[include source-mode-python-include.quickbook]
+
+```This shouldn't be highlighted.```
+
+[include source-mode-teletype-include.quickbook]
+
+```This shouldn't be highlighted.```
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-cpp-include.quickbook b/src/boost/tools/quickbook/test/doc-info/source-mode-cpp-include.quickbook
new file mode 100644
index 00000000..1ff2b94c
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-cpp-include.quickbook
@@ -0,0 +1,4 @@
+[source-mode c++]
+[article C++ source mode include]
+
+```int main() {}```
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-python-include.quickbook b/src/boost/tools/quickbook/test/doc-info/source-mode-python-include.quickbook
new file mode 100644
index 00000000..31ac531d
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-python-include.quickbook
@@ -0,0 +1,5 @@
+[article Python source mode include
+[source-mode python]
+]
+
+```def foo():```
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/source-mode-teletype-include.quickbook b/src/boost/tools/quickbook/test/doc-info/source-mode-teletype-include.quickbook
new file mode 100644
index 00000000..c7908fb7
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/source-mode-teletype-include.quickbook
@@ -0,0 +1,5 @@
+[article Teletype source mode include
+[source-mode teletype]
+]
+
+```This shouldn't be highlighted```
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.gold b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.gold
new file mode 100644
index 00000000..17e4add7
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.gold
@@ -0,0 +1,9 @@
+
+
+
+ Trailing Space
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.gold-html b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.gold-html
new file mode 100644
index 00000000..187ba427
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.gold-html
@@ -0,0 +1,26 @@
+
+
+
+
+
+ Trailing Space
+
+
+
+ Table of contents
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.quickbook b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.quickbook
new file mode 100644
index 00000000..27305f71
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_1.quickbook
@@ -0,0 +1,5 @@
+[article Trailing Space ]
+
+[section Body]
+
+[endsect]
\ No newline at end of file
diff --git a/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.gold b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.gold
new file mode 100644
index 00000000..45231b6d
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.gold
@@ -0,0 +1,9 @@
+
+
+
+ Trailing Space
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.gold-html b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.gold-html
new file mode 100644
index 00000000..1b3cb4e2
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.gold-html
@@ -0,0 +1,26 @@
+
+
+
+
+
+ Trailing Space
+
+
+
+ Table of contents
+
+
+
+
+
+
diff --git a/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.quickbook b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.quickbook
new file mode 100644
index 00000000..b1b8cd5d
--- /dev/null
+++ b/src/boost/tools/quickbook/test/doc-info/title_trailing_space-1_6.quickbook
@@ -0,0 +1,5 @@
+[article Trailing Space [quickbook 1.6]]
+
+[section Body]
+
+[endsect]
\ No newline at end of file
--
cgit v1.2.3