Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h2. Overview

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.  This section will help you understand how to best use the wiki markup so that it generates good looking PDF pages.


{div:class=chapter|id=chapter-tables-and-figures}
h1. Captioned Tables and Figures
{div}

Using the BOOM micro format to add captions to tables and headings.  We should really create some confluence macros for this.

{div:class=section|id=tables}
h2. Captioned Tables
{div}
{html}
<div class="table">
  <p class="caption">Example Table</p>
{html}
  || Table || Heading ||
  | value1 | value2 |
  | value3 | value 4 |
{html}</div>{html}


{div:class=section|id=figures}
h2. Captioned Figures
{div}
{html}
<div class="figure">
  <p class="caption">Example Figure.  With really big caption to test to see how big the caption area is and how it line wraps and all that jazz.</p>
  <p class="art">
{html}
  !http://activemq.apache.org/camel/download.data/camel-box-v1.0-150x200.png!
{html}</p></div>{html}


{div:class=toc|id=toc}
h1. Table of Contents
{div}

Still working on the Table of Contents and Preface stuff.  Might not look right yet.

{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>
<li class="endmatter"><a href="#index">Index</a></li>
</ul>
{html}

{div:class=preface|id=preface}
h1. Preface
{div}

Sample preface. {span:class=footnote}Here is a footer.{span} Lorem ipsum dolor sit amet consectetuer accumsan Integer nascetur hac quis. Volutpat nascetur sodales quis convallis turpis vitae Aenean libero vitae Maecenas. Ligula congue semper hendrerit vel vestibulum orci ullamcorper ante pulvinar laoreet.

...