Better handling of \makeatletter in parsing raw LaTeX.

Closes #11270.
This commit is contained in:
John MacFarlane
2025-11-04 14:30:05 +01:00
parent 69479fa490
commit 814bdbdbef
2 changed files with 38 additions and 1 deletions
+25
View File
@@ -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"
]
)
]
}
[]
```