Div |
---|
|
Table of Contents |
Wiki Markup |
---|
{div:class=toc|id=toc}
h1. Table of Contents
{html}
<ul class="toc">
<li class="frontmatter"><a href="#toc">Table of Contents</a></li>
<li class="frontmatter"><a href="#preface">Preface</a></li>
<li class="chapter"><a href="#chapter-tables-and-figures">Captioned Tables and Figures</a>
<ul>
<li class="section"><a href="#tables">Captioned Tables</a>
<ul>
<li class="section"><a href="#chapter-1-s-2">Sample sub section</a></li>
<li class="section"><a href="#chapter-1-s-3">Sample sub section</a></li>
</ul>
</li>
<li class="section"><a href="#figures">Captioned Figures</a></li>
</ul>
</li>
</ul>
| {html}
{div} |
Div |
---|
|
PrefaceThe camel project uses this wiki to generate it's PDF based documentation. It uses the a Boom CSS based style sheet in conjunction with prince to generate the PDF manuals. The Book In One Page stitches together wiki content found through this wiki into a single page with is subsequently downloaded by the PDF generator and transformed into a PDF. This section will help you understand how to best use the wiki markup so that it generates good looking PDF pages. |
Wiki Markup |
---|
{div:class=preface|id=preface}
h1. Preface
The camel project uses this wiki to generate it's PDF based documentation. It uses the a [Boom CSS based style sheet|http://www.alistapart.com/articles/boom] in conjunction with [prince|http://www.princexml.com/download/] to generate the PDF manuals. The [Book In One Page] stitches together wiki content found through this wiki into a single page with is subsequently downloaded by the PDF generator and transformed into a PDF. This section will help you understand how to best use the wiki markup so that it generates good looking PDF pages.
{div} |
HTML |
---|
<div class="chapter page-reset" id="chapter-tables-and-figures"> |
...
Using the BOOM micro format to add captions to tables and headings. We should really create some confluence macros for this.
Div |
---|
|
Captioned Tables |
Wiki Markup |
---|
{div:class=section|id=tables}
h2. Captioned Tables
{div} |
Use wiki markup similar to:
...
Table | Heading |
---|
value1 | value2 |
value3 | value 4 |
Div |
---|
|
|
Wiki Markup |
---|
{div:class=section|id=figures}
h2. Captioned Figures
{div} |
Use wiki markup similar to:
...
HTML |
---|
</p><p class="caption">
Example Figure.
</p></div>
|
Div |
---|
|
Captioned Listings |
Wiki Markup |
---|
{div:class=section|id=listings}
h2. Captioned Listings
{div} |
Use wiki markup similar to:
...