diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-29 21:24:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-29 21:24:11 +0000 |
commit | bfb7d42bbf34b6ee0ddee805cba07b7238a5c556 (patch) | |
tree | afeef020a9a5934414a48371979c1fe3d16dd178 /Master/texmf-dist/source | |
parent | d9d7e6fe15daa2a560f825930dec08be64216b9d (diff) |
knowledge (29oct19)
git-svn-id: svn://tug.org/texlive/trunk@52572 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx b/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx index 6f0c6930287..d5d704d7ee0 100644 --- a/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx +++ b/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx @@ -23,7 +23,7 @@ % % \iffalse %<head>\usepackage{expl3} -%<head>\ProvidesExplPackage{knowledge}{2019/10/03}{1.17}{} +%<head>\ProvidesExplPackage{knowledge}{2019/10/28}{1.18}{} %<*driver> \def\knowledgecode{active} \input{knowledge.tex} @@ -50,6 +50,7 @@ % \changes{1.15}{2019/01/23}{doc change} % % \changes{1.16}{2019/02/15}{correct anchor point locations} % % \changes{1.17}{2019/10/03}{improvements} % +% \changes{1.18}{2019/10/03}{bug fix/improvement} % % \GetFileInfo{knowledge.sty} % % \DoNotIndex{} % @@ -69,8 +70,8 @@ This directory contains the package name: knowledge license: LaTeX Project Public License version 1.2 or above - version: v1.17 - date: 2019/10/03 + version: v1.18 + date: 2019/10/28 author: Thomas Colcombet mail: thomas.colcombet@irif.fr web: https://www.irif.fr/~colcombe/knowledge_en.html @@ -1295,14 +1296,17 @@ Content of the file knowledge-sources.zip: % \begin{macrocode} \bool_new:N\knowledge_configuration_label_autoscope_bool \bool_gset_true:N\knowledge_configuration_label_autoscope_bool +\KnowledgeConfigureBooleanOption[\knowledge_configuration_label_autoscope_bool]{patch~label} % \end{macrocode} % \noindent\AP\csintro{\scopeLabel} implicitly adds a call to \cs{\knowledgescope} (if \cs{\knowledge_configuration_label_autoscope_bool} is set to true), and then calls the original \cs{\label} code. % \begin{macrocode} \NewDocumentCommand\scopeLabel{m}{ \kl_hide_begin: - \bool_if:NT + \bool_if:NTF \knowledge_configuration_label_autoscope_bool - \knowledge_knowledgescope_one:n{#1} + \knowledge_knowledgescope_one:n + \use_none:n + {#1} \kl_hide_end: \cs_if_exist:NTF\LaTeXlabel\LaTeXlabel\use_none:n{#1} } |