auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fold cleveref macros


From: Arun Isaac
Subject: [PATCH] Fold cleveref macros
Date: Fri, 04 Sep 2020 00:11:02 +0530

Hi all,

This tiny patch adds support for folding cleveref macros Cref and cref
as references. Please find attached.

Regards,
Arun

PS: Please Cc me in any replies since I am not subscribed to this
mailing list.

>From 3be4bda35f9a92e2cc9dc29f65839052a7c80fb4 Mon Sep 17 00:00:00 2001
From: Arun Isaac <arunisaac@systemreboot.net>
Date: Thu, 3 Sep 2020 23:30:58 +0530
Subject: [PATCH] Fold cleveref macros as references

* tex-fold.el (TeX-fold-macro-spec-list): Fold Cref and cref as
references.
---
 tex-fold.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex-fold.el b/tex-fold.el
index b14ec734..93892dbc 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -75,7 +75,7 @@ macros, 'math for math macros and 'comment for comments."
   `(("[f]" ("footnote" "marginpar"))
     ("[c]" ("cite"))
     ("[l]" ("label"))
-    ("[r]" ("ref" "pageref" "eqref"))
+    ("[r]" ("Cref" "cref" "ref" "pageref" "eqref"))
     ("[i]" ("index" "glossary"))
     ("[1]:||*" ("item"))
     ("..." ("dots"))
-- 
2.28.0


reply via email to

[Prev in Thread] Current Thread [Next in Thread]