texlive[52572] Master/texmf-dist: knowledge (29oct19)
commits+karl at tug.org
commits+karl at tug.org
Tue Oct 29 22:24:11 CET 2019
Revision: 52572
http://tug.org/svn/texlive?view=revision&revision=52572
Author: karl
Date: 2019-10-29 22:24:11 +0100 (Tue, 29 Oct 2019)
Log Message:
-----------
knowledge (29oct19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/knowledge/README.md
trunk/Master/texmf-dist/doc/latex/knowledge/knowledge.pdf
trunk/Master/texmf-dist/doc/latex/knowledge/knowledge.tex
trunk/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx
trunk/Master/texmf-dist/tex/latex/knowledge/knowledge.sty
Modified: trunk/Master/texmf-dist/doc/latex/knowledge/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/knowledge/README.md 2019-10-29 21:23:51 UTC (rev 52571)
+++ trunk/Master/texmf-dist/doc/latex/knowledge/README.md 2019-10-29 21:24:11 UTC (rev 52572)
@@ -3,8 +3,8 @@
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 at irif.fr
web: https://www.irif.fr/~colcombe/knowledge_en.html
Modified: trunk/Master/texmf-dist/doc/latex/knowledge/knowledge.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/knowledge/knowledge.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/knowledge/knowledge.tex 2019-10-29 21:23:51 UTC (rev 52571)
+++ trunk/Master/texmf-dist/doc/latex/knowledge/knowledge.tex 2019-10-29 21:24:11 UTC (rev 52572)
@@ -318,6 +318,7 @@
\knowledge{index parent key=}{directive}
\knowledge{index style=}{directive}
\knowledge{bar suggestion=}{directive}
+\knowledge{patch label}[patch label=]{option}
\knowledge{color=}{directive}
\knowledge{cyclic color}{directive}
\knowledge{colorbox=}{directive}
@@ -739,8 +740,9 @@
\item[2019-05-23] Adding of the "`\vbar'-notation" for the \cs{\knowledge} command.
"Explicit scopes" are introduced. Updating of the documentation. "up" directive in math mode now silently does nothing, and \cs{\knowledgedirective} now forbids redefinitions by default (thanks to Léo Stefanesco).
\item[2019-07-02] Removing the `\texttt{kl}' and `\texttt{intro}' styles that prevented a proper configuration of "intro notion@@style" (thanks to Léo Stefanesco).
-\item[2019-07-02] Update of the documentation, and V1.17.
-\end{compactdesc}
+\item[2019-10-03] Update of the documentation, and V1.17.
+\item[2019-10-27] Bug correction and added the `\kl{patch label}' configuration directive (thanks to \href{https://becca.ooo/}{Rebecca Turner}). V1.18.
+ \end{compactdesc}
\normalsize
%\restoregeometry
@@ -2716,10 +2718,11 @@
and the two column mode.
\item[\kl{hyperlinks=}\textmd{\{true,false\}}] activates or deactivates the hyperlinks.
\item[{{\kl(option){notion}}}] activates the "notion" directive
-\item[{{\kl(option)[quotation]{quotation=}\textmd{\{true,false\}}}}] activates or deactivates the "quotation notation".
\item["paper"] switches to "paper mode",
+\itemAP[\kl{patch label}] enables or disables the redefined \cs{\label} command, which helps automatically define scopes (default is~\textmd{true}).
\item[\kl{protect link co} and \kl{unprotect link co}] starts and ends respectively a zone in which the "knowledge@@package" package does not create hyperlinks.
\item[\kl{protect quotation=}\textmd{\{environment list\}}] declares a list of environment in which the "quotation notation" should be deactivated
+\item[{{\kl(option)[quotation]{quotation=}\textmd{\{true,false\}}}}] activates or deactivates the "quotation notation".
\item["strict"] is a Boolean which, when true, makes the compilation more restrictive by turning some of the warnings into errors (in particular in case of redefinition of knowledges).
\item[\kl{visible anchor points=}\textmd{\{true,false\}}] makes the \kl{anchor points} either visible or invisible
\end{compactdesc}
Modified: trunk/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx 2019-10-29 21:23:51 UTC (rev 52571)
+++ trunk/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx 2019-10-29 21:24:11 UTC (rev 52572)
@@ -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 @@
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 at irif.fr
web: https://www.irif.fr/~colcombe/knowledge_en.html
@@ -1295,14 +1296,17 @@
% \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}
}
Modified: trunk/Master/texmf-dist/tex/latex/knowledge/knowledge.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/knowledge/knowledge.sty 2019-10-29 21:23:51 UTC (rev 52571)
+++ trunk/Master/texmf-dist/tex/latex/knowledge/knowledge.sty 2019-10-29 21:24:11 UTC (rev 52572)
@@ -23,7 +23,7 @@
%% LaTeX version 1999/12/01 or later.
%%
\usepackage{expl3}
-\ProvidesExplPackage{knowledge}{2019/10/03}{1.17}{}
+\ProvidesExplPackage{knowledge}{2019/10/28}{1.18}{}
%%%%%%%%%%
\RequirePackage{l3keys2e}
\RequirePackage{etoolbox}
@@ -1452,11 +1452,14 @@
}
\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}
\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}
}
More information about the tex-live-commits
mailing list