aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-11-04 14:30:05 +0100
committerJohn MacFarlane <[email protected]>2025-11-04 14:30:05 +0100
commit814bdbdbef0075f056667c368901856c7fd311da (patch)
tree0709de5465d48fce4c266c100356ae61ca8f6c65 /test
parent69479fa49086dae60910fa8cc2d3d658fa95bb43 (diff)
Better handling of `\makeatletter` in parsing raw LaTeX.
Closes #11270.
Diffstat (limited to 'test')
-rw-r--r--test/command/11270.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/command/11270.md b/test/command/11270.md
new file mode 100644
index 000000000..7cf681033
--- /dev/null
+++ b/test/command/11270.md
@@ -0,0 +1,25 @@
+```
+% pandoc -f markdown -t native -s
+---
+header-includes: |
+ \makeatletter
+ \beamer@ignorenonframefalse
+ \makeatother
+...
+
+^D
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "header-includes"
+ , MetaBlocks
+ [ RawBlock
+ (Format "tex")
+ "\\makeatletter\n\\beamer@ignorenonframefalse\n\\makeatother"
+ ]
+ )
+ ]
+ }
+ []
+```