summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/knowledge/knowledge-code.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/knowledge/knowledge-code.dtx')
-rw-r--r--macros/latex/contrib/knowledge/knowledge-code.dtx17
1 files changed, 7 insertions, 10 deletions
diff --git a/macros/latex/contrib/knowledge/knowledge-code.dtx b/macros/latex/contrib/knowledge/knowledge-code.dtx
index 2f6a4f0a12..6bc619c558 100644
--- a/macros/latex/contrib/knowledge/knowledge-code.dtx
+++ b/macros/latex/contrib/knowledge/knowledge-code.dtx
@@ -23,7 +23,7 @@
%
% \iffalse
%<head>\usepackage{expl3}
-%<head>\ProvidesExplPackage{knowledge}{2022/02/12}{1.28}{}
+%<head>\ProvidesExplPackage{knowledge}{2024/03/10}{1.29}{}
%<*driver>
\def\knowledgecode{active}
\input{knowledge.tex}
@@ -61,6 +61,7 @@
% \changes{1.26}{2021/12/20}{enhanced math+other functionalities+extra options} %
% \changes{1.27}{2022/01/12}{doc changes} %
% \changes{1.28}{2022/02/12}{imakeidx support} %
+% \changes{1.29}{2024/03/10}{typographic bug corrected} %
% \GetFileInfo{knowledge.sty} %
% \DoNotIndex{}
%
@@ -80,8 +81,8 @@ This directory contains the package
name: knowledge
license: LaTeX Project Public License version 1.2 or above
- version: v1.28
- date: 2022/02/12
+ version: v1.29
+ date: 2024/03/10
author: Thomas Colcombet
mail: thomas.colcombet@irif.fr
web: https://ctan.org/pkg/knowledge
@@ -604,7 +605,7 @@ This directory contains the package
\KnowledgeConfigureTrigger{ fix~hyperref~twocolumn }
{\knowledgeFixHyperrefTwocolumn}
\KnowledgeConfigureTrigger{ notion }
- {\KnowledgeConfigureNotion{notion}
+ {\KnowledgeConfigureNotion[blue]{notion}
\knowledge_directives_require_aci_package:nn{notion}{hyperref}
\knowledgesetvariant\kl{suggestion=notion}
\knowledgesetvariant\intro{suggestion=notion}
@@ -3777,7 +3778,7 @@ This directory contains the package
\knowledgevariantmodifier{\phantomintro*\kl}{\phantomintro}
\knowledgevariantmodifier{\phantomkl*\kl}{\phantomkl}
-\knowledgedirective{automatic~in~command}{notion}
+\knowledgedirective{automatic~in~command}{notion,also~now}
% \end{macrocode}
% \begin{macrocode}
@@ -3787,11 +3788,8 @@ This directory contains the package
\cs_new:Nn\knowledge_inner_command:
{knowledge_cmdkl \int_to_arabic:n\knowledge_inner_modifier_count_int :n}
-
\NewDocumentCommand\withkl{mm}{
\int_gincr:N\knowledge_inner_modifier_count_int
- \group_begin:
- \group_end:
\cs_gset:cpx
{\knowledge_inner_command:}
{\exp_not:N\cs_gset:Npn
@@ -3799,7 +3797,7 @@ This directory contains the package
{\knowledge_inner_modifer_re_tl\knowledge_kl_modifiers_tl\exp_not:n{#1}}
\knowledge_kl_modifiers_tl\exp_not:n{#1}}
\knowledge_kl_modifiers_reset:
- #2{}{}
+ #2
\int_gdecr:N\knowledge_inner_modifier_count_int
}
@@ -3831,7 +3829,6 @@ This directory contains the package
\exp_args:Nc\NewDocumentCommand{knowledge\cs_to_str:N#1}{}
{\knowledge_knowledgified_newcommand:NNwn#1}
}{
- %\tl_show:n{Unknown~#1~in~\KnowledgifyNewcommand}
\use:x{\exp_not:N\NewDocumentCommand
\exp_not:c{knowledge\cs_to_str:N#1}
{}