summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/knowledge
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-30 03:02:02 +0000
committerNorbert Preining <norbert@preining.info>2019-10-30 03:02:02 +0000
commit120cbc10db92bf43caa6bbf29549667e979beba4 (patch)
tree3fafda4ad4bc0c2839d2bfbf21a9c793db7d9b94 /macros/latex/contrib/knowledge
parent97f5151099967e6c823d640a90d87bca92c44035 (diff)
CTAN sync 201910300302
Diffstat (limited to 'macros/latex/contrib/knowledge')
-rw-r--r--macros/latex/contrib/knowledge/README.md4
-rw-r--r--macros/latex/contrib/knowledge/knowledge-code.dtx14
-rw-r--r--macros/latex/contrib/knowledge/knowledge.pdfbin697356 -> 697483 bytes
-rw-r--r--macros/latex/contrib/knowledge/knowledge.tex9
4 files changed, 17 insertions, 10 deletions
diff --git a/macros/latex/contrib/knowledge/README.md b/macros/latex/contrib/knowledge/README.md
index f67514e9ae..70a40f6230 100644
--- a/macros/latex/contrib/knowledge/README.md
+++ b/macros/latex/contrib/knowledge/README.md
@@ -3,8 +3,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
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}
}
diff --git a/macros/latex/contrib/knowledge/knowledge.pdf b/macros/latex/contrib/knowledge/knowledge.pdf
index cc7bc26835..60ded2053b 100644
--- a/macros/latex/contrib/knowledge/knowledge.pdf
+++ b/macros/latex/contrib/knowledge/knowledge.pdf
Binary files differ
diff --git a/macros/latex/contrib/knowledge/knowledge.tex b/macros/latex/contrib/knowledge/knowledge.tex
index 642cb98a85..68a16a941c 100644
--- a/macros/latex/contrib/knowledge/knowledge.tex
+++ b/macros/latex/contrib/knowledge/knowledge.tex
@@ -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 @@ This involves testing the counter |beamer@coveringdepth| which if higher than o
\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 @@ If other kind of problems occur, report them to \texttt{thomas.colcombet@irif.fr
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}