summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2024-02-13 19:30:14 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2024-02-13 19:32:12 -0800
commitcf847b0138e07f8e0f009d7eb3f21a0e18d8708b (patch)
tree37fb3958e15db6fe9c8961d62c7ed2db2734d8c6 /test
parent02b6483b7c4a671a2c4d86ef7f292dbe0b2d4b23 (diff)
LaTeX reader: improve treatment of cref, Cref.
Associate with `\cref` and `\Cref` the reference-type `ref+label` and `ref+Label`. So far we don't do anything fancy with these. Also, associate with `\vref` `ref` instead of `ref+page`. See #7463.
Diffstat (limited to 'test')
-rw-r--r--test/command/1608.md2
-rw-r--r--test/command/refs.md6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/command/1608.md b/test/command/1608.md
index 77fdaf6d3..5c40d4499 100644
--- a/test/command/1608.md
+++ b/test/command/1608.md
@@ -129,7 +129,7 @@ These are all pretty interesting facts.
, Link
( ""
, []
- , [ ( "reference-type" , "ref" )
+ , [ ( "reference-type" , "ref+label" )
, ( "reference" , "def:tri" )
]
)
diff --git a/test/command/refs.md b/test/command/refs.md
index cf2395fb8..f54f4fa8d 100644
--- a/test/command/refs.md
+++ b/test/command/refs.md
@@ -28,7 +28,7 @@ Figure \cref{fig:1}
, Link
( ""
, []
- , [ ( "reference-type" , "ref" )
+ , [ ( "reference-type" , "ref+label" )
, ( "reference" , "fig:1" )
]
)
@@ -48,7 +48,7 @@ Figure \vref{fig:1}
, Link
( ""
, []
- , [ ( "reference-type" , "ref+page" )
+ , [ ( "reference-type" , "ref" )
, ( "reference" , "fig:1" )
]
)
@@ -66,7 +66,7 @@ Figure \vref{fig:1}
[ Link
( ""
, []
- , [ ( "reference-type" , "autoref" )
+ , [ ( "reference-type" , "ref+label" )
, ( "reference" , "fig:flowchart" )
]
)