Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75356 - branches/quickbook-dev/tools/quickbook/test
From: dnljms_at_[hidden]
Date: 2011-11-06 17:21:18


Author: danieljames
Date: 2011-11-06 17:21:17 EST (Sun, 06 Nov 2011)
New Revision: 75356
URL: http://svn.boost.org/trac/boost/changeset/75356

Log:
Quickbook: Some anchor placement tests.
Text files modified:
   branches/quickbook-dev/tools/quickbook/test/anchor-1_1.gold | 45 ++++++++++++++++++++++++++++++++++++++++
   branches/quickbook-dev/tools/quickbook/test/anchor-1_1.quickbook | 11 +++++++++
   2 files changed, 56 insertions(+), 0 deletions(-)

Modified: branches/quickbook-dev/tools/quickbook/test/anchor-1_1.gold
==============================================================================
--- branches/quickbook-dev/tools/quickbook/test/anchor-1_1.gold (original)
+++ branches/quickbook-dev/tools/quickbook/test/anchor-1_1.gold 2011-11-06 17:21:17 EST (Sun, 06 Nov 2011)
@@ -73,6 +73,11 @@
                 Nested Item 2
               </simpara>
             </listitem>
+ <listitem>
+ <simpara>
+ <anchor id="a16"/> Nested Item 3
+ </simpara>
+ </listitem>
           </itemizedlist>
         </simpara>
       </listitem>
@@ -97,4 +102,44 @@
 <programlisting><phrase role="keyword">int</phrase> <anchor id="s1"/><phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase>
 </programlisting>
   </section>
+ <section id="anchor_test.nested_anchors">
+ <title>Nested anchors</title>
+ <table frame="all" id="anchor_test.nested_anchors.t0">
+ <title>Table with anchors</title>
+ <tgroup cols="1">
+ <thead>
+ <row>
+ <entry>
+ <para>
+ Heading
+ </para>
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ <para>
+ <anchor id="table1"/>Cell 1
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <para>
+ <anchor id="table2"/> Cell 2
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <para>
+ Cell 3<anchor id="table3"/>
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
 </article>

Modified: branches/quickbook-dev/tools/quickbook/test/anchor-1_1.quickbook
==============================================================================
--- branches/quickbook-dev/tools/quickbook/test/anchor-1_1.quickbook (original)
+++ branches/quickbook-dev/tools/quickbook/test/anchor-1_1.quickbook 2011-11-06 17:21:17 EST (Sun, 06 Nov 2011)
@@ -43,6 +43,7 @@
   [#a15]
   * Nested Item 1
   * Nested Item 2
+ * [#a16] Nested Item 3
 * Item 3
 
 [endsect]
@@ -67,3 +68,13 @@
     int ``[#s1]``main() {}
 
 [endsect]
+
+[section Nested anchors]
+
+[table Table with anchors
+ [[Heading]]
+ [[[#table1]Cell 1]]
+ [[[#table2] Cell 2]]
+ [[Cell 3[#table3]]]
+]
+[endsect]


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