diff options
author | Mauro Bieg <mb21@users.noreply.github.com> | 2018-06-13 19:41:30 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-06-13 10:41:30 -0700 |
commit | 7e477db95cfb02d155b3a0ede86094143b5ab7ee (patch) | |
tree | 158ec0b12524701a64363a193f951e7b952d85ec /test/command | |
parent | 2c1a309c9f117f55acc4e8be32b037b273fd7732 (diff) | |
download | pandoc-7e477db95cfb02d155b3a0ede86094143b5ab7ee.tar.gz |
LaTeX Reader: parse figure label into Image id (#4704)
closes #4700
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/2118.md | 2 | ||||
-rw-r--r-- | test/command/refs.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/command/2118.md b/test/command/2118.md index 27b3723d3..9730dd383 100644 --- a/test/command/2118.md +++ b/test/command/2118.md @@ -7,5 +7,5 @@ \label{fig:setminus} \end{figure} ^D -[Para [Image ("",[],[("width","80%")]) [Str "Set",Space,Str "subtraction",Span ("",[],[("label","fig:setminus")]) []] ("setminus.png","fig:")]] +[Para [Image ("fig:setminus",[],[("width","80%")]) [Str "Set",Space,Str "subtraction",Span ("",[],[("label","fig:setminus")]) []] ("setminus.png","fig:")]] ``` diff --git a/test/command/refs.md b/test/command/refs.md index 66959e5c3..dd62fa33d 100644 --- a/test/command/refs.md +++ b/test/command/refs.md @@ -42,7 +42,7 @@ Accuracy~\eqref{eq:Accuracy} is the proportion, measuring true results among all Figure \ref{fig:Logo} illustrated the SVG logo ^D -[Para [Image ("",[],[]) [Str "Logo",Span ("",[],[("label","fig:Logo")]) []] ("command/SVG_logo.svg","fig:")] +[Para [Image ("fig:Logo",[],[]) [Str "Logo",Span ("",[],[("label","fig:Logo")]) []] ("command/SVG_logo.svg","fig:")] ,Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:Logo")]) [Str "[fig:Logo]"] ("#fig:Logo",""),Space,Str "illustrated",Space,Str "the",Space,Str "SVG",Space,Str "logo"]] ``` |