diff --git a/doc/quickbook/adaptor.qbk b/doc/quickbook/adaptor.qbk
index d791ce0..0cf435e 100644
--- a/doc/quickbook/adaptor.qbk
+++ b/doc/quickbook/adaptor.qbk
@@ -288,7 +288,7 @@ Metrowerks CodeWarrior versions prior to 9.0]
You can see an example program that exercises this version of the
node iterators
-[@../example/node_iterator3.cpp `here`].
+[example_link node_iterator3.cpp..here].
In the case of `node_iter`, it's not very compelling to pass
diff --git a/doc/quickbook/counting_iterator.qbk b/doc/quickbook/counting_iterator.qbk
index c33d065..f661c40 100644
--- a/doc/quickbook/counting_iterator.qbk
+++ b/doc/quickbook/counting_iterator.qbk
@@ -39,7 +39,7 @@ The output is:
indirectly printing out the numbers from 0 to 7
0 1 2 3 4 5 6
-The source code for this example can be found [@../example/counting_iterator_example.cpp here].
+The source code for this example can be found [example_link counting_iterator_example.cpp..here].
[h2 Reference]
diff --git a/doc/quickbook/facade_tutorial.qbk b/doc/quickbook/facade_tutorial.qbk
index ad066c8..cb64282 100644
--- a/doc/quickbook/facade_tutorial.qbk
+++ b/doc/quickbook/facade_tutorial.qbk
@@ -255,9 +255,9 @@ make them private and grant friendship to
Voila; a complete and conforming readable, forward-traversal
iterator! For a working example of its use, see
-[@../example/node_iterator1.cpp `this program`].
+[example_link node_iterator1.cpp..this program].
-__ ../example/node_iterator1.cpp
+__ ../../example/node_iterator1.cpp
[h2 A constant `node_iterator`]
@@ -428,11 +428,11 @@ adding a templatized converting constructor [#broken]_ [#random]_:
`distance_to` function as well.
-__ ../example/node_iterator2.hpp
+__ ../../example/node_iterator2.hpp
You can see an example program which exercises our interoperable
iterators
-[@../example/node_iterator2.cpp `here`].
+[example_link node_iterator2.cpp..here].
[h2 Telling the Truth]
diff --git a/doc/quickbook/filter_iterator.qbk b/doc/quickbook/filter_iterator.qbk
index 5076353..c536d5b 100644
--- a/doc/quickbook/filter_iterator.qbk
+++ b/doc/quickbook/filter_iterator.qbk
@@ -75,7 +75,7 @@ The output is:
0 -1 4 5 8
-The source code for this example can be found [@../example/filter_iterator_example.cpp here].
+The source code for this example can be found [example_link filter_iterator_example.cpp..here].
[h2 Reference]
diff --git a/doc/quickbook/indirect_iterator.qbk b/doc/quickbook/indirect_iterator.qbk
index 2556aa2..22589be 100644
--- a/doc/quickbook/indirect_iterator.qbk
+++ b/doc/quickbook/indirect_iterator.qbk
@@ -1,4 +1,3 @@
-
[section:indirect Indirect Iterator]
`indirect_iterator` adapts an iterator by applying an
@@ -73,7 +72,7 @@ The output is:
The source code for this example can be found
-[@../example/indirect_iterator_example.cpp here].
+[example_link indirect_iterator_example.cpp..here].
[h2 Reference]
@@ -251,4 +250,4 @@ following operations:
[*Effects: ] `--m_iterator`[br]
[*Returns: ] `*this`
-[endsect]
\ No newline at end of file
+[endsect]
diff --git a/doc/quickbook/iterator.qbk b/doc/quickbook/iterator.qbk
index 6a20e33..8fff64c 100644
--- a/doc/quickbook/iterator.qbk
+++ b/doc/quickbook/iterator.qbk
@@ -1,4 +1,3 @@
-
[library Boost.Iterator
[/ version 1.0.1]
[quickbook 1.6]
@@ -31,6 +30,7 @@
[def _iterator_ [@../../../iterator/doc/index.html Boost.Iterator]]
[def _concept_check_ [@../../../concept_check/index.html Boost.ConceptCheck]]
+[template example_link[name descr]''''''[descr]'''''']
[template sub[x]''''''[x]'''''']
diff --git a/doc/quickbook/permutation_iterator.qbk b/doc/quickbook/permutation_iterator.qbk
index 81352b6..460ddc5 100644
--- a/doc/quickbook/permutation_iterator.qbk
+++ b/doc/quickbook/permutation_iterator.qbk
@@ -84,18 +84,18 @@ The output is:
The source code for this example can be found
-[@../example/permutation_iter_example.cpp here].
+[example_link permutation_iter_example.cpp..here].
[h2 Reference]
[h3 Synopsis]
template< class ElementIterator
- , class IndexIterator
- , class ValueT = use_default
- , class CategoryT = use_default
- , class ReferenceT = use_default
- , class DifferenceT = use_default >
+ , class IndexIterator
+ , class ValueT = use_default
+ , class CategoryT = use_default
+ , class ReferenceT = use_default
+ , class DifferenceT = use_default >
class permutation_iterator
{
public:
@@ -104,10 +104,10 @@ The source code for this example can be found
template< class OEIter, class OIIter, class V, class C, class R, class D >
permutation_iterator(
- permutation_iterator const& r
- , typename enable_if_convertible::type* = 0
- , typename enable_if_convertible::type* = 0
- );
+ permutation_iterator const& r
+ , typename enable_if_convertible::type* = 0
+ , typename enable_if_convertible::type* = 0
+ );
reference operator*() const;
permutation_iterator& operator++();
ElementIterator const& base() const;
@@ -173,10 +173,10 @@ following operations.
template< class OEIter, class OIIter, class V, class C, class R, class D >
permutation_iterator(
- permutation_iterator const& r
- , typename enable_if_convertible::type* = 0
- , typename enable_if_convertible::type* = 0
- );
+ permutation_iterator const& r
+ , typename enable_if_convertible::type* = 0
+ , typename enable_if_convertible::type* = 0
+ );
[*Effects: ] Constructs `m_elt` from `r.m_elt` and
`m_order` from `y.m_order`.
@@ -204,4 +204,4 @@ following operations.
[*Returns: ] `permutation_iterator(e, i)`
-[endsect]
\ No newline at end of file
+[endsect]
diff --git a/doc/quickbook/reverse_iterator.qbk b/doc/quickbook/reverse_iterator.qbk
index 2599105..8b8a6ff 100644
--- a/doc/quickbook/reverse_iterator.qbk
+++ b/doc/quickbook/reverse_iterator.qbk
@@ -41,7 +41,7 @@ The output is:
The source code for this example can be found
-[@../example/reverse_iterator_example.cpp here].
+[example_link reverse_iterator_example.cpp..here].
[h2 Reference]
diff --git a/doc/quickbook/shared_container_iterator.qbk b/doc/quickbook/shared_container_iterator.qbk
index d48658c..c8fe4c6 100644
--- a/doc/quickbook/shared_container_iterator.qbk
+++ b/doc/quickbook/shared_container_iterator.qbk
@@ -56,7 +56,7 @@ original shared pointer `ints` ceases to exist after `set_range()`
returns, the `shared_counter_iterator` objects maintain references to
the underlying vector and thereby extend the container's lifetime.
-[@../../example/shared_iterator_example1.cpp `shared_iterator_example1.cpp`]:
+[example_link shared_iterator_example1.cpp..`shared_iterator_example1.cpp`]:
#include "shared_container_iterator.hpp"
#include "boost/shared_ptr.hpp"
@@ -139,7 +139,7 @@ explicitly specifying its type.
This example, similar to the previous,
uses `make_shared_container_iterator()` to create the iterators.
-[@../../example/shared_iterator_example2.cpp `shared_iterator_example2.cpp`]:
+[example_link shared_iterator_example2.cpp..`shared_iterator_example2.cpp`]:
#include "shared_container_iterator.hpp"
#include "boost/shared_ptr.hpp"
@@ -200,7 +200,7 @@ named. The output from this example is the same as the previous.
In the following example, a range of values is returned as a pair of shared_container_iterator objects.
-[@../../example/shared_iterator_example3.cpp `shared_iterator_example3.cpp`]:
+[example_link shared_iterator_example3.cpp..`shared_iterator_example3.cpp`]:
#include "shared_container_iterator.hpp"
#include "boost/shared_ptr.hpp"
diff --git a/doc/quickbook/transform_iterator.qbk b/doc/quickbook/transform_iterator.qbk
index 847ec79..e4b1d56 100644
--- a/doc/quickbook/transform_iterator.qbk
+++ b/doc/quickbook/transform_iterator.qbk
@@ -44,7 +44,7 @@ The output is:
The source code for this example can be found
-[@../example/transform_iterator_example.cpp here].
+[example_link transform_iterator_example.cpp..here].
[h2 Reference]