From 12a35dd0d0f7363ad5b85ab859925113c65aa61f Mon Sep 17 00:00:00 2001 From: Mathieu Boespflug Date: Sun, 14 Jun 2020 19:40:00 +0200 Subject: Docbook: map to unnumbered section (#6436) A is a section like any other, except that it never contains an subsection, and is typically rendered unnumbered. --- test/docbook-reader.docbook | 6 ++++++ test/docbook-reader.native | 2 ++ 2 files changed, 8 insertions(+) (limited to 'test') diff --git a/test/docbook-reader.docbook b/test/docbook-reader.docbook index 3a4fc77c6..eaa0d5273 100644 --- a/test/docbook-reader.docbook +++ b/test/docbook-reader.docbook @@ -47,6 +47,12 @@ with no blank line + + Level 4 + + An unnumbered section. + + diff --git a/test/docbook-reader.native b/test/docbook-reader.native index c86a055bd..36245e875 100644 --- a/test/docbook-reader.native +++ b/test/docbook-reader.native @@ -10,6 +10,8 @@ Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Sof ,Header 2 ("level-2-with-emphasis",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Emph [Str "emphasis"]] ,Header 3 ("level-3",[],[]) [Str "Level",Space,Str "3"] ,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"] +,Header 4 ("",["unnumbered"],[]) [Str "Level",Space,Str "4"] +,Para [Str "An",Space,Str "unnumbered",Space,Str "section."] ,Header 2 ("level-2",[],[]) [Str "Level",Space,Str "2"] ,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"] ,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"] -- cgit v1.2.3