From d08d1c04c54a91eceff2ad3e8cc628b730a7cc9b Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Fri, 17 Feb 2023 23:03:32 +0100 Subject: JATS writer: include alt-text in ``, `` elements Closes: #8631 --- test/command/figures-jats.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'test/command') diff --git a/test/command/figures-jats.md b/test/command/figures-jats.md index a5089df2a..bc13bcb5b 100644 --- a/test/command/figures-jats.md +++ b/test/command/figures-jats.md @@ -12,3 +12,20 @@ Para [Image ("fig-id-2",[],[]) [] ("foo.png", "fig:")]]] ``` + +Figure float with caption and alt text. + +``` +% pandoc -f native -t jats +[Figure ("fig-id",[],[]) (Caption Nothing [Para [Str "Caption"]]) [Para [Str "Text"], +Para [Image ("fig-id-2",[],[]) [Str "alt"] ("foo.png", "fig:")]]] + +^D + +

Caption

+

Text

+ + alt + +
+``` -- cgit v1.2.3