diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-12-20 16:54:13 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-12-20 16:55:10 -0800 |
| commit | 36d1ec3e45fae278525a0a4cfc5465e4677fe61e (patch) | |
| tree | 4204024e020142fdafcc5939739f0d1879ede497 /test/command | |
| parent | 907b1192d1f5a5f1b8c5156693e0ba4c63f02c2f (diff) | |
Org reader: parse caption and label for grid tables.
Closes #9279.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/9279.md | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/test/command/9279.md b/test/command/9279.md new file mode 100644 index 000000000..1c93eda80 --- /dev/null +++ b/test/command/9279.md @@ -0,0 +1,60 @@ +``` +% pandoc -f org -t native +#+LABEL: tbl:Cosasexample +#+CAPTION: Cosas ++-------+-------+ +| cosas | cosas | +| cosas | cosas | ++=======+=======+ +| cosas | cosas | +| cosas | cosas | ++-------+-------+ +^D +[ Table + ( "tbl:Cosasexample" , [] , [] ) + (Caption Nothing [ Plain [ Str "Cosas" ] ]) + [ ( AlignDefault , ColWidth 0.1111111111111111 ) + , ( AlignDefault , ColWidth 0.1111111111111111 ) + ] + (TableHead + ( "" , [] , [] ) + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "cosas" , SoftBreak , Str "cosas" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "cosas" , SoftBreak , Str "cosas" ] ] + ] + ]) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "cosas" , SoftBreak , Str "cosas" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "cosas" , SoftBreak , Str "cosas" ] ] + ] + ] + ] + (TableFoot ( "" , [] , [] ) []) +] +``` |
