From 0d25232bbf2998cccf6ca4b1dc6e8d6f36eb9c60 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 24 Nov 2021 19:38:43 -0800 Subject: LaTeX reader: Fix semantics of `\ref`. We were including the ams environment type in addition to the number. This is proper behavior for `\cref` but not for `\ref`. To support `\cref` we need to store the environment label separately. --- test/command/1608.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/command/1608.md b/test/command/1608.md index 59bd54ab4..77fdaf6d3 100644 --- a/test/command/1608.md +++ b/test/command/1608.md @@ -133,7 +133,7 @@ These are all pretty interesting facts. , ( "reference" , "def:tri" ) ] ) - [ Str "Definition\160\&1" ] + [ Str "1" ] ( "#def:tri" , "" ) , Space , Str "since" -- cgit v1.2.3