aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-09-15 10:49:10 +0200
committerJohn MacFarlane <[email protected]>2025-09-15 10:50:04 +0200
commit1f3163a6388ca691c6a6e3abc945a8b4840a372e (patch)
treeb55dae055d577067e4e6aff85b61d17161e93ffe /test
parentf7059959ed516bc719e5e8289df7a5ab89c858e3 (diff)
LaTeX reader: ignore `\pandocbounded`.
Third issue in #11140.
Diffstat (limited to 'test')
-rw-r--r--test/command/11140.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/command/11140.md b/test/command/11140.md
index a9db61dbb..f585c4838 100644
--- a/test/command/11140.md
+++ b/test/command/11140.md
@@ -50,3 +50,22 @@
![Caption](image.png){alt="my alt"}
```
+Ignore `\pandocbounded`:
+```
+% pandoc -f latex -t native
+\begin{figure}
+\centering
+\pandocbounded{\includegraphics[keepaspectratio,alt={Caption}]{image.png}}
+\caption{Caption}
+\end{figure}
+^D
+[ Figure
+ ( "" , [] , [] )
+ (Caption Nothing [ Plain [ Str "Caption" ] ])
+ [ Para
+ [ Image
+ ( "" , [] , [] ) [ Str "Caption" ] ( "image.png" , "" )
+ ]
+ ]
+]
+```