aboutsummaryrefslogtreecommitdiff
path: root/test/pipe-tables.native
blob: 63c2c17bc7c0e159883aebe40197a59b715164b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[Para [Str "Simplest",Space,Str "table",Space,Str "without",Space,Str "caption:"]
,Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0]
 [[Plain [Str "Default1"]]
 ,[Plain [Str "Default2"]]
 ,[Plain [Str "Default3"]]]
 [[[Plain [Str "12"]]
  ,[Plain [Str "12"]]
  ,[Plain [Str "12"]]]
 ,[[Plain [Str "123"]]
  ,[Plain [Str "123"]]
  ,[Plain [Str "123"]]]
 ,[[Plain [Str "1"]]
  ,[Plain [Str "1"]]
  ,[Plain [Str "1"]]]]
,Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption:"]
,Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] [AlignRight,AlignLeft,AlignDefault,AlignCenter] [0.0,0.0,0.0,0.0]
 [[Plain [Str "Right"]]
 ,[Plain [Str "Left"]]
 ,[Plain [Str "Default"]]
 ,[Plain [Str "Center"]]]
 [[[Plain [Str "12"]]
  ,[Plain [Str "12"]]
  ,[Plain [Str "12"]]
  ,[Plain [Str "12"]]]
 ,[[Plain [Str "123"]]
  ,[Plain [Str "123"]]
  ,[Plain [Str "123"]]
  ,[Plain [Str "123"]]]
 ,[[Plain [Str "1"]]
  ,[Plain [Str "1"]]
  ,[Plain [Str "1"]]
  ,[Plain [Str "1"]]]]
,Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption:"]
,Table [] [AlignRight,AlignLeft,AlignCenter] [0.0,0.0,0.0]
 [[Plain [Str "Right"]]
 ,[Plain [Str "Left"]]
 ,[Plain [Str "Center"]]]
 [[[Plain [Str "12"]]
  ,[Plain [Str "12"]]
  ,[Plain [Str "12"]]]
 ,[[Plain [Str "123"]]
  ,[Plain [Str "123"]]
  ,[Plain [Str "123"]]]
 ,[[Plain [Str "1"]]
  ,[Plain [Str "1"]]
  ,[Plain [Str "1"]]]]
,Para [Str "Headerless",Space,Str "table",Space,Str "without",Space,Str "caption:"]
,Table [] [AlignRight,AlignLeft,AlignCenter] [0.0,0.0,0.0]
 [[]
 ,[]
 ,[]]
 [[[Plain [Str "12"]]
  ,[Plain [Str "12"]]
  ,[Plain [Str "12"]]]
 ,[[Plain [Str "123"]]
  ,[Plain [Str "123"]]
  ,[Plain [Str "123"]]]
 ,[[Plain [Str "1"]]
  ,[Plain [Str "1"]]
  ,[Plain [Str "1"]]]]
,Para [Str "Table",Space,Str "without",Space,Str "sides:"]
,Table [] [AlignDefault,AlignRight] [0.0,0.0]
 [[Plain [Str "Fruit"]]
 ,[Plain [Str "Quantity"]]]
 [[[Plain [Str "apple"]]
  ,[Plain [Str "5"]]]
 ,[[Plain [Str "orange"]]
  ,[Plain [Str "17"]]]
 ,[[Plain [Str "pear"]]
  ,[Plain [Str "302"]]]]
,Para [Str "One-column:"]
,Table [] [AlignDefault] [0.0]
 [[Plain [Str "hi"]]]
 [[[Plain [Str "lo"]]]]
,Para [Str "Header-less",Space,Str "one-column:"]
,Table [] [AlignCenter] [0.0]
 [[]]
 [[[Plain [Str "hi"]]]]
,Para [Str "Indented",Space,Str "left",Space,Str "column:"]
,Table [] [AlignRight,AlignLeft] [0.0,0.0]
 [[Plain [Str "Number",Space,Str "of",Space,Str "siblings"]]
 ,[Plain [Str "Salary"]]]
 [[[Plain [Str "3"]]
  ,[Plain [Str "33"]]]
 ,[[Plain [Str "4"]]
  ,[Plain [Str "44"]]]]
,Para [Str "Long",Space,Str "pipe",Space,Str "table",Space,Str "with",Space,Str "relative",Space,Str "widths:"]
,Table [] [AlignDefault,AlignDefault,AlignDefault] [0.125,0.1375,0.5]
 [[Plain [Str "Default1"]]
 ,[Plain [Str "Default2"]]
 ,[Plain [Str "Default3"]]]
 [[[Plain [Str "123"]]
  ,[Plain [Str "this",Space,Str "is",Space,Str "a",Space,Str "table",Space,Str "cell"]]
  ,[Plain [Str "and",Space,Str "this",Space,Str "is",Space,Str "a",Space,Str "really",Space,Str "long",Space,Str "table",Space,Str "cell",Space,Str "that",Space,Str "will",Space,Str "probably",Space,Str "need",Space,Str "wrapping"]]]
 ,[[Plain [Str "123"]]
  ,[Plain [Str "123"]]
  ,[Plain [Str "123"]]]]
,Para [Str "Pipe",Space,Str "table",Space,Str "with",Space,Str "no",Space,Str "body:"]
,Table [] [AlignDefault] [0.0]
 [[Plain [Str "Header"]]]
 []
,Para [Str "Pipe",Space,Str "table",Space,Str "with",Space,Str "tricky",Space,Str "cell",Space,Str "contents",Space,Str "(see",Space,Str "#2765):"]
,Table [] [AlignLeft,AlignRight,AlignRight] [0.0,0.0,0.0]
 [[]
 ,[Plain [Str "IP_gene8-_1st"]]
 ,[Plain [Str "IP_gene8+_1st"]]]
 [[[Plain [Str "IP_gene8-_1st"]]
  ,[Plain [Str "1.0000000"]]
  ,[Plain [Str "0.4357325"]]]
 ,[[Plain [Str "IP_gene8+_1st"]]
  ,[Plain [Str "0.4357325"]]
  ,[Plain [Str "1.0000000"]]]
 ,[[Plain [Str "foo",Code ("",[],[]) "bar|baz"]]
  ,[Plain [Str "and|escaped"]]
  ,[Plain [Str "3.0000000"]]]]]