aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs1
-rw-r--r--test/command/10635.md24
2 files changed, 25 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index c1d5896e3..fbc66288a 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -963,6 +963,7 @@ blockCommands = M.fromList
, ("paragraph*", section ("",["unnumbered"],[]) 4)
, ("subparagraph", section nullAttr 5)
, ("subparagraph*", section ("",["unnumbered"],[]) 5)
+ , ("minisec", section ("",["unnumbered","unlisted"],[]) 6) -- from KOMA
-- beamer slides
, ("frametitle", section nullAttr 3)
, ("framesubtitle", section nullAttr 4)
diff --git a/test/command/10635.md b/test/command/10635.md
new file mode 100644
index 000000000..62f6375e3
--- /dev/null
+++ b/test/command/10635.md
@@ -0,0 +1,24 @@
+# Support for KOMA's `\minisec` command
+
+```
+% pandoc -f latex -t native
+\minisec{Montage}
+Zunächst suche man das Mauseloch.
+^D
+[ Header
+ 6
+ ( "montage" , [ "unnumbered" , "unlisted" ] , [] )
+ [ Str "Montage" ]
+, Para
+ [ Str "Zun\228chst"
+ , Space
+ , Str "suche"
+ , Space
+ , Str "man"
+ , Space
+ , Str "das"
+ , Space
+ , Str "Mauseloch."
+ ]
+]
+```