From 120cbc10db92bf43caa6bbf29549667e979beba4 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 30 Oct 2019 03:02:02 +0000
Subject: CTAN sync 201910300302

---
 macros/latex/contrib/knowledge/knowledge-code.dtx | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

(limited to 'macros/latex/contrib/knowledge/knowledge-code.dtx')

diff --git a/macros/latex/contrib/knowledge/knowledge-code.dtx b/macros/latex/contrib/knowledge/knowledge-code.dtx
index 6f0c693028..d5d704d7ee 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}{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}
 }
-- 
cgit v1.2.3

