aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-11-15 18:40:50 +0100
committerGitHub <noreply@github.com>2021-11-15 09:40:50 -0800
commitea268fd8a72fe59e6cb0086b0c7471b8aa316af1 (patch)
tree25366203e57d86fe81e6962242b265b45ca959c9 /test
parent946b95975158820d66ccdaed51c3722e07c24b12 (diff)
downloadpandoc-ea268fd8a72fe59e6cb0086b0c7471b8aa316af1.tar.gz
LaTeX reader: add rudimentary support for `\autoref` (#7693)
Diffstat (limited to 'test')
-rw-r--r--test/command/refs.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/command/refs.md b/test/command/refs.md
index fb362febe..34e51d219 100644
--- a/test/command/refs.md
+++ b/test/command/refs.md
@@ -60,6 +60,24 @@ Figure \vref{fig:1}
```
% pandoc -f latex -t native
+\autoref{fig:flowchart}
+^D
+[ Para
+ [ Link
+ ( ""
+ , []
+ , [ ( "reference-type" , "autoref" )
+ , ( "reference" , "fig:flowchart" )
+ ]
+ )
+ [ Str "[fig:flowchart]" ]
+ ( "#fig:flowchart" , "" )
+ ]
+]
+```
+
+```
+% pandoc -f latex -t native
Accuracy~\eqref{eq:Accuracy} is the proportion, measuring true results among all results.
\begin{equation}