branch: master commit 324250f2433a7a7625d08b1ab76457199d9c191e Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
Support macros for key-val package or class options * style/ltx-base.el ("ltx-base"): Add kernel commands for creating and using key-val package or class options. --- style/ltx-base.el | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/style/ltx-base.el b/style/ltx-base.el index d10a1379..693308a3 100644 --- a/style/ltx-base.el +++ b/style/ltx-base.el @@ -123,7 +123,13 @@ '("addpenalty" "Penalty") '("@ifundefined" TeX-arg-macro 2) '("@ifnextchar" (TeX-arg-literal " ") (TeX-arg-free "Character") 2) - '("expandafter" 0)) + '("expandafter" 0) + + ;; These macros are currently (June 2022) described in ltkeys.dtx: + '("DeclareKeys" ["Family"] t) + '("DeclareUnknownKeyHandler" ["Family"] t) + '("ProcessKeyOptions" ["Family"]) + '("SetKeys" ["Family"] t)) ;; Fontification (when (and (featurep 'font-latex) @@ -149,7 +155,12 @@ ("ProcessOptions" "*") ("ExecuteOptions" "{") ("DeclareRobustCommand" "*|{\\[[{") - ("CheckCommand" "*|{\\[[{")) + ("CheckCommand" "*|{\\[[{") + + ("DeclareKeys" "[{") + ("DeclareUnknownKeyHandler" "[{") + ("ProcessKeyOptions" "[") + ("SetKeys" "[{")) 'function))) TeX-dialect)