diff options
| author | Pavol Otto <pavol.otto@cgi.com> | 2023-02-15 11:01:00 +0100 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-02-15 15:51:51 -0800 |
| commit | da9c196e09ecd87b2d727294810357f485733be8 (patch) | |
| tree | 62a7d27727a098ea2e8663fc92521947ea474dfb /test/docbook-xref.native | |
| parent | 5889d70a97c142805c34faf42fd0f933df9e3bdc (diff) | |
fixed <xref> references to tables in DocBook files
Closes #8626.
Diffstat (limited to 'test/docbook-xref.native')
| -rw-r--r-- | test/docbook-xref.native | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/test/docbook-xref.native b/test/docbook-xref.native index bcfe434a4..9487224ba 100644 --- a/test/docbook-xref.native +++ b/test/docbook-xref.native @@ -168,6 +168,33 @@ Pandoc , Str "." ] ] + , [ Para + [ Str "A" + , Space + , Str "link" + , Space + , Str "to" + , Space + , Str "a" + , SoftBreak + , Str "table" + , Space + , Str "element:" + , Space + , Link + ( "" , [] , [] ) + [ Str "Supported" + , Space + , Str "features" + , Space + , Str "by" + , Space + , Str "version" + ] + ( "#table01" , "" ) + , Str "." + ] + ] ] , Header 1 @@ -214,4 +241,61 @@ Pandoc ] ( "figures/pythag.png" , "fig:" ) ] + , Table + ( "" , [] , [] ) + (Caption + Nothing + [ Plain + [ Str "Supported" + , Space + , Str "features" + , Space + , Str "by" + , Space + , Str "version" + ] + ]) + [ ( AlignDefault , ColWidth 0.5 ) + , ( AlignDefault , ColWidth 0.5 ) + ] + (TableHead + ( "" , [] , [] ) + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Version" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Feat" ] ] + ] + ]) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Free" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "no" ] ] + ] + ] + ] + (TableFoot ( "" , [] , [] ) []) ] |
