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 | |
parent | d9d7e6fe15daa2a560f825930dec08be64216b9d (diff) |
knowledge (29oct19)
git-svn-id: svn://tug.org/texlive/trunk@52572 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/knowledge/README.md | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/knowledge/knowledge.pdf | bin | 697356 -> 697483 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/knowledge/knowledge.tex | 9 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx | 14 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/knowledge/knowledge.sty | 9 |
5 files changed, 23 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/knowledge/README.md b/Master/texmf-dist/doc/latex/knowledge/README.md index f67514e9aea..70a40f6230e 100644 --- a/Master/texmf-dist/doc/latex/knowledge/README.md +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/knowledge/knowledge.pdf b/Master/texmf-dist/doc/latex/knowledge/knowledge.pdf Binary files differindex cc7bc268353..60ded2053b3 100644 --- a/Master/texmf-dist/doc/latex/knowledge/knowledge.pdf +++ b/Master/texmf-dist/doc/latex/knowledge/knowledge.pdf diff --git a/Master/texmf-dist/doc/latex/knowledge/knowledge.tex b/Master/texmf-dist/doc/latex/knowledge/knowledge.tex index 642cb98a852..68a16a941ca 100644 --- a/Master/texmf-dist/doc/latex/knowledge/knowledge.tex +++ b/Master/texmf-dist/doc/latex/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} 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} } diff --git a/Master/texmf-dist/tex/latex/knowledge/knowledge.sty b/Master/texmf-dist/tex/latex/knowledge/knowledge.sty index 35aaaea4b1d..5e0e83f98a2 100644 --- a/Master/texmf-dist/tex/latex/knowledge/knowledge.sty +++ b/Master/texmf-dist/tex/latex/knowledge/knowledge.sty @@ -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} } |