Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59532 - trunk/tools/quickbook/test
From: daniel_james_at_[hidden]
Date: 2010-02-06 16:18:16


Author: danieljames
Date: 2010-02-06 16:18:15 EST (Sat, 06 Feb 2010)
New Revision: 59532
URL: http://svn.boost.org/trac/boost/changeset/59532

Log:
Change include test to demonstrate quickbook's slightly odd behaviour.
Added:
   trunk/tools/quickbook/test/include-sub2.quickbook (contents, props changed)
   trunk/tools/quickbook/test/include_1_5.quickbook (contents, props changed)
      - copied, changed from r59527, /trunk/tools/quickbook/test/include.quickbook
Removed:
   trunk/tools/quickbook/test/include.quickbook
Text files modified:
   trunk/tools/quickbook/test/Jamfile.v2 | 2 +-
   trunk/tools/quickbook/test/include-sub.quickbook | 9 +++++----
   trunk/tools/quickbook/test/include.gold | 4 ++--
   trunk/tools/quickbook/test/include_1_5.quickbook | 3 ++-
   4 files changed, 10 insertions(+), 8 deletions(-)

Modified: trunk/tools/quickbook/test/Jamfile.v2
==============================================================================
--- trunk/tools/quickbook/test/Jamfile.v2 (original)
+++ trunk/tools/quickbook/test/Jamfile.v2 2010-02-06 16:18:15 EST (Sat, 06 Feb 2010)
@@ -25,7 +25,7 @@
     [ quickbook-test templates_1_5 ]
     #[ quickbook-test xinclude ]
     [ quickbook-test import ]
- [ quickbook-test include ]
+ [ quickbook-test include_1_5 ]
     [ quickbook-test section_1_4 ]
     [ quickbook-test section_1_5 ]
     [ quickbook-test heading ]

Modified: trunk/tools/quickbook/test/include-sub.quickbook
==============================================================================
--- trunk/tools/quickbook/test/include-sub.quickbook (original)
+++ trunk/tools/quickbook/test/include-sub.quickbook 2010-02-06 16:18:15 EST (Sat, 06 Feb 2010)
@@ -1,5 +1,6 @@
-[section:test Test]
+[article Include Test Sub Document
+ [quickbook 1.5]
+ [id include-sub]
+]
 
-Just testing.
-
-[endsect]
\ No newline at end of file
+[/ Empty. Shouldn't really need this comment.]

Added: trunk/tools/quickbook/test/include-sub2.quickbook
==============================================================================
--- (empty file)
+++ trunk/tools/quickbook/test/include-sub2.quickbook 2010-02-06 16:18:15 EST (Sat, 06 Feb 2010)
@@ -0,0 +1,9 @@
+[/ I'm trying not to break existing behaviour even when buggy.
+ In this case, this section will get an id using the title from
+ the previous 'include'.]
+
+[section:test Test]
+
+Just testing.
+
+[endsect]
\ No newline at end of file

Modified: trunk/tools/quickbook/test/include.gold
==============================================================================
--- trunk/tools/quickbook/test/include.gold (original)
+++ trunk/tools/quickbook/test/include.gold 2010-02-06 16:18:15 EST (Sat, 06 Feb 2010)
@@ -5,8 +5,8 @@
   <title>Include Test</title>
   <articleinfo>
   </articleinfo>
- <section id="include_test.test">
- <title><link linkend="include_test.test"> Test</link></title>
+ <section id="include_test_sub_document.test">
+ <title><link linkend="include_test_sub_document.test"> Test</link></title>
     <para>
       Just testing.
     </para>

Deleted: trunk/tools/quickbook/test/include.quickbook
==============================================================================
--- trunk/tools/quickbook/test/include.quickbook 2010-02-06 16:18:15 EST (Sat, 06 Feb 2010)
+++ (empty file)
@@ -1,6 +0,0 @@
-[article Include Test
- [quickbook 1.5]
- [id include-test]
-]
-
-[include include-sub.quickbook]
\ No newline at end of file

Copied: trunk/tools/quickbook/test/include_1_5.quickbook (from r59527, /trunk/tools/quickbook/test/include.quickbook)
==============================================================================
--- /trunk/tools/quickbook/test/include.quickbook (original)
+++ trunk/tools/quickbook/test/include_1_5.quickbook 2010-02-06 16:18:15 EST (Sat, 06 Feb 2010)
@@ -3,4 +3,5 @@
     [id include-test]
 ]
 
-[include include-sub.quickbook]
\ No newline at end of file
+[include include-sub.quickbook]
+[include include-sub2.quickbook]
\ No newline at end of file


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk