summaryrefslogtreecommitdiff
path: root/tests/tables.man
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-08 03:11:26 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-08 03:11:26 +0000
commit3f3c29f9a4217ef4fc2df6e63bf22cd78640e907 (patch)
treee5eed836ce163c57897588cd4ca5b860bee5baa0 /tests/tables.man
parent766dbb9899b037b8ec1294a1fb32a08a09adf004 (diff)
Added test suites for RST, markdown, and man tables.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@642 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/tables.man')
-rw-r--r--tests/tables.man205
1 files changed, 205 insertions, 0 deletions
diff --git a/tests/tables.man b/tests/tables.man
new file mode 100644
index 000000000..de685c1b0
--- /dev/null
+++ b/tests/tables.man
@@ -0,0 +1,205 @@
+.PP
+Simple table with caption:
+.PP
+Demonstration of simple table syntax\.
+.TS
+tab(@);
+rw(10.50n) lw(6.13n) cw(11.38n) lw(8.75n).
+T{
+Right
+T}@T{
+Left
+T}@T{
+Center
+T}@T{
+Default
+T}
+_
+T{
+12
+T}@T{
+12
+T}@T{
+12
+T}@T{
+12
+T}
+T{
+123
+T}@T{
+123
+T}@T{
+123
+T}@T{
+123
+T}
+T{
+1
+T}@T{
+1
+T}@T{
+1
+T}@T{
+1
+T}
+.TE
+.PP
+Simple table without caption:
+.PP
+.TS
+tab(@);
+rw(10.50n) lw(6.13n) cw(11.38n) lw(8.75n).
+T{
+Right
+T}@T{
+Left
+T}@T{
+Center
+T}@T{
+Default
+T}
+_
+T{
+12
+T}@T{
+12
+T}@T{
+12
+T}@T{
+12
+T}
+T{
+123
+T}@T{
+123
+T}@T{
+123
+T}@T{
+123
+T}
+T{
+1
+T}@T{
+1
+T}@T{
+1
+T}@T{
+1
+T}
+.TE
+.PP
+Simple table indented two spaces:
+.PP
+Demonstration of simple table syntax\.
+.TS
+tab(@);
+rw(10.50n) lw(6.13n) cw(11.38n) lw(8.75n).
+T{
+Right
+T}@T{
+Left
+T}@T{
+Center
+T}@T{
+Default
+T}
+_
+T{
+12
+T}@T{
+12
+T}@T{
+12
+T}@T{
+12
+T}
+T{
+123
+T}@T{
+123
+T}@T{
+123
+T}@T{
+123
+T}
+T{
+1
+T}@T{
+1
+T}@T{
+1
+T}@T{
+1
+T}
+.TE
+.PP
+Multiline table with caption:
+.PP
+Here\[aq]s the caption\. It may span multiple lines\.
+.TS
+tab(@);
+cw(10.50n) lw(9.63n) rw(11.38n) lw(23.63n).
+T{
+Centered Header
+T}@T{
+Left Aligned
+T}@T{
+Right Aligned
+T}@T{
+Default aligned
+T}
+_
+T{
+First
+T}@T{
+row
+T}@T{
+12\.0
+T}@T{
+Example of a row that spans multiple lines\.
+T}
+T{
+Second
+T}@T{
+row
+T}@T{
+5\.0
+T}@T{
+Here\[aq]s another one\. Note the blank line between rows\.
+T}
+.TE
+.PP
+Multiline table without caption:
+.PP
+.TS
+tab(@);
+cw(10.50n) lw(9.63n) rw(11.38n) lw(23.63n).
+T{
+Centered Header
+T}@T{
+Left Aligned
+T}@T{
+Right Aligned
+T}@T{
+Default aligned
+T}
+_
+T{
+First
+T}@T{
+row
+T}@T{
+12\.0
+T}@T{
+Example of a row that spans multiple lines\.
+T}
+T{
+Second
+T}@T{
+row
+T}@T{
+5\.0
+T}@T{
+Here\[aq]s another one\. Note the blank line between rows\.
+T}
+.TE \ No newline at end of file