[LyX/master] Fix some pretty counters.

Richard Kimberly Heck rikiheck at lyx.org
Fri Jul 28 15:36:32 UTC 2023


commit 46b7343b3482af8d76ba8b5ab702213fcde00321
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Fri Jul 28 12:49:53 2023 -0400

    Fix some pretty counters.
    
    Polish for c609e9cbcf.
---
 lib/layouts/stdcounters.inc |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/lib/layouts/stdcounters.inc b/lib/layouts/stdcounters.inc
index e171cb5..e1ad265 100644
--- a/lib/layouts/stdcounters.inc
+++ b/lib/layouts/stdcounters.inc
@@ -49,24 +49,28 @@ End
 Counter enumi
 	GuiName "Numbered List (Level 1)"
 	LabelString          "\arabic{enumi}."
+	PrettyFormat         "(\arabic{enumi})"
 End
 
 Counter enumii
 	GuiName "Numbered List (Level 2)"
 	Within               enumi
 	LabelString          "(\alph{enumii})"
+	PrettyFormat         "(\alph{enumii})"
 End
 
 Counter enumiii
 	GuiName "Numbered List (Level 3)"
 	Within               enumii
 	LabelString          "\roman{enumiii}."
+	PrettyFormat         "(\roman{enumiii})"
 End
 
 Counter enumiv
 	GuiName "Numbered List (Level 4)"
 	Within               enumiii
 	LabelString          "\Alph{enumiv}."
+	PrettyFormat         "(\Alph{enumiv})"
 End
 
 Counter bibitem
@@ -85,7 +89,7 @@ End
 Counter footnote
 	GuiName Footnote
 	LabelString          "\superarabic{footnote}"
-	PrettyFormat         "Footnote ##"
+	PrettyFormat         "Footnote \arabic{footnote}"
 End
 
 Counter thanks


More information about the lyx-cvs mailing list