Dag WieÃ«rs
This document is meant for testing the AsciiDoc ODF backend and highlighting known problems to developers. The output of this document, using the default ODF stylesheet should match the HTML output as close as possible.

Paragraph
First paragraph is here.
And this is the second paragraph.

Formatting
A paragraph can have differently formatted text, like strong text, emphasized text or monospaced text. But also ‘quoted’, “double-quoted”, superscript and subscript are possibilities.
And a paragraph.

Lists
Numbered list
Lift left foot
Put left foot forward
Put left foot down
Lift right foot
Put right foot forward
Put right foot down
Bulleted list
Clean room
Look for garbage
Throw garbage away
Look for trashbin
Throw garbage in trashbin
Estimate distance
Estimate gravity
Estimate resistance
Estimate force
Throw precisely
Eat
Read book
Socialize
Labeled list
one
Open box
two
Take candy
three
Close box
Horizontal list
alpha	First Greek letter Test
beta	Second Greek letter
gamma	Third Greek letter List item 1 List item 2
Nested list
Eat candy
one
Open box
two
Take candy
three
Close box
Be happy
Enjoy what you have
Share
Don’t think to deeply
Sleep regularly
Eat candy
Try something
uno	Een
due	Twee
tre	Drie

Blocks
Listing block
[example]
variable=value
variable2=value2
Code listing block
''' A multi-line
comment.'''
def sub_word(mo):
''' Single line comment.'''
word = mo.group('word') # Inline comment
if word in keywords[language]:
return quote + word + quote
else:
return word
Literal block
[example]
variable=value
variable2=value2
But also inline literals are supported:
# pvcreate /dev/sda1
# vgcreate rootvg /dev/sda1
# lvcreate -L 500M -n rootlv rootvg
Sidebar block
This is Sidebar material, and sidebars can contain lists too:
Item 1
Item 2
Any errors in spelling, tact or fact are transmission errors.
Emails since 1995
— Dag Wieers
Verse block
To see a world in a grain of sand, And a heaven in a wild flower, Hold infinity in the palm of your hand, And eternity in an hour.
from Auguries of Innocence
— William Blake
This is an example block with some content
And some more content
This is a listing block inside an example block.
Some demo commands
And some more text below the listing block.
Comment block
Comment blocks are never made visible, not even when the showcomments attribute is set.
Line1: Example pass-through content
Line2: Testing inline ODF syntax
Line3:
[abstract]
Open block
Open Block

Admonitions
There is a dragon reading over your shoulder !
Reading beyond this line may breach your contract.
Don’t forget to drink coffee on a regular basis.
Do not believe everything that is written in this document.
Throw away everything you already know and think out of the box.
Bulleted lists are possible
As you can see
Bullets can be
Part of a block

References
It is not uncommon to create references to other parts of a document. Here are some tests.

Footnotes
This is a simple footnote [1] test. Obviously you can have more than one footnote [2] in a document.
[1] A footnote is a note in the footer
[2] A second footnote is possible
You can also create footnote references [3].
[3] A footnote reference is just like a footnote
This fails to work
And then create a reference to an earlier footnote [footnote] somewhere else in your text.

Comments and annotations
This is a comment
This is a block comment.

Tables
week	aantal
Totaal aantal dagen	22d
01-09-2011 tot 02-09-2011	2d
05-09-2011 tot 09-09-2011	5d
12-09-2011 tot 16-09-2011	5d
19-09-2011 tot 23-09-2011	5d
26-09-2011 tot 30-09-2011	5d

Columns
This
Is
A
Long
List
Of
Items
That
Would
Normally
Stretch
Multiple
Pages
But
In
This
Case
Thanks
To
A
Section
With
Four
Columns
Only
Takes
Up
Part
Of
A
Page
How
Cool
Is
That
?

Variables
Author variable:
Title variable: This is a simple test document
Subject variable: Subject

Definition
Nested definition lists should work:
definition term 1
definition description 1
definition list 2 term 1
definition list 2 description 1
definition list 2 term 2
definition list 2 description 2
definition term 2
definition description 2
definition term 3
definition description 3

Images
Dag gesticulating

Filters: graphviz

Filters: aafigure
Figure 5: Example DocBook toolchain
Figure 6: Example: asciidoc-odf toolchain
Figure 7: Example: a2x odf toolchain

Filters: ditaa

DocBook-based toolchains
Figure 8: Example: dblatex toolchain
Figure 9: Example: Docbook FOP toolchain
Figure 10: Example: Docbook2odf toolchain

ODF-based toolchains
Figure 11: Example: AsciiDoc toolchain with unoconv
Figure 12: Example: AsciiDoc a2x toolchain with unoconv
Figure 13: Example: AsciiDoc a2x toolchain with LibreOffice
Figure 14: Example: Integrated AsciiDoc a2x toolchain

Filters: plantuml
Figure 15: Example: Demo example from website
3 of 3