diff options
| author | Julia Diaz <[email protected]> | 2023-10-26 23:18:33 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-26 15:18:33 -0700 |
| commit | f2a22e71dffef0e795d73ecffeaa195733dde67e (patch) | |
| tree | 1edcccc2ead4e811b373dde2840d233f4026dad1 /test/command/bits-toc-elements.md | |
| parent | b671e0dfe5f578511954addaca84b832826d5915 (diff) | |
Modify JATS reader to handle BITS too (#9138)
Add provision for title-group, book, book-part-wrapper, book-meta,
book-part-meta, book-title, book-title-group, index, toc, legend,
title, collection-meta
Diffstat (limited to 'test/command/bits-toc-elements.md')
| -rw-r--r-- | test/command/bits-toc-elements.md | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/test/command/bits-toc-elements.md b/test/command/bits-toc-elements.md new file mode 100644 index 000000000..415a255e1 --- /dev/null +++ b/test/command/bits-toc-elements.md @@ -0,0 +1,69 @@ +``` +% pandoc -f jats -t native +<toc-group> + <toc-title-group> + <title>TOC group</title> + </toc-title-group> + <p>Content of toc group</p> + <toc> + <toc-title-group> + <title>TOC</title> + </toc-title-group> + <p>Content of TOC</p> + <toc-div content-type="sections"> + <toc-title-group> + <title>Mental Health Services</title> + </toc-title-group> + <toc-entry> + <label>Section 1</label> + <title>Introduction</title> + <nav-pointer rid="tc3"/> + </toc-entry> + <toc-entry> + <label>Section 2</label> + <title>Mental Health of the Population</title> + <nav-pointer rid="tc4"/> + </toc-entry> + </toc-div> + </toc> +</toc-group> +^D +[ Header + 1 ( "" , [] , [] ) [ Str "TOC" , Space , Str "group" ] +, Para + [ Str "Content" + , Space + , Str "of" + , Space + , Str "toc" + , Space + , Str "group" + ] +, Header 2 ( "" , [] , [] ) [ Str "TOC" ] +, Para + [ Str "Content" , Space , Str "of" , Space , Str "TOC" ] +, Header + 3 + ( "" , [] , [] ) + [ Str "Mental" + , Space + , Str "Health" + , Space + , Str "Services" + ] +, Header 4 ( "" , [] , [] ) [ Str "Introduction" ] +, Header + 4 + ( "" , [] , [] ) + [ Str "Mental" + , Space + , Str "Health" + , Space + , Str "of" + , Space + , Str "the" + , Space + , Str "Population" + ] +] +```
\ No newline at end of file |
