summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-15 22:22:44 +0000
committerKarl Berry <karl@freefriends.org>2019-02-15 22:22:44 +0000
commitc8f41ea19d9e98226e6da3d4544f848440659030 (patch)
tree2ea8eb286bae9516fee29aa066a943f6341f5a4d
parent7756f177bd60a7df6e8900ffa6e0d448f0345895 (diff)
knowledge (15feb19)
git-svn-id: svn://tug.org/texlive/trunk@50031 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/knowledge/README.md4
-rw-r--r--Master/texmf-dist/doc/latex/knowledge/knowledge.pdfbin681126 -> 681498 bytes
-rw-r--r--Master/texmf-dist/doc/latex/knowledge/knowledge.tex13
-rw-r--r--Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx14
-rw-r--r--Master/texmf-dist/tex/latex/knowledge/knowledge.sty7
5 files changed, 25 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/knowledge/README.md b/Master/texmf-dist/doc/latex/knowledge/README.md
index 83d98c163ef..ca7c3285918 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.15
- date: 2019/01/23
+ version: v1.16
+ date: 2019/02/15
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
index fc05de72e7a..ebf4ac86a14 100644
--- a/Master/texmf-dist/doc/latex/knowledge/knowledge.pdf
+++ b/Master/texmf-dist/doc/latex/knowledge/knowledge.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/knowledge/knowledge.tex b/Master/texmf-dist/doc/latex/knowledge/knowledge.tex
index 953e3ba5b0d..fb3f98f009c 100644
--- a/Master/texmf-dist/doc/latex/knowledge/knowledge.tex
+++ b/Master/texmf-dist/doc/latex/knowledge/knowledge.tex
@@ -693,6 +693,7 @@ This is essentially a list for personal referencing of what has to be done.
\item[2018-07-26] Compatibility with utf8 symbols in labels (thanks to Yves Guiraud).
\item[2018-11-22] Corrected bug for "makeidx@@package" (thanks to Sylvain Schmitz). V1.14 on "CTAN".
\item[2019-01-27] Minor improvement of the doc, and hiding links in it. V1.15.
+\item[2019-02-15] Correction of a placement problem with \cs\AP. V1.16.
\end{compactdesc}
\normalsize
%\restoregeometry
@@ -2301,7 +2302,7 @@ the incriminated environment using \cs\phantomsection, and then use \cs{\reintro
\subsection{Incorrect display}
-\paragraph{Incorrect breaking at the end of lines (in Arxiv for instance)}
+\subsubsection{Incorrect breaking at the end of lines (in Arxiv for instance)}
It may happen that some hyperlinks generated by "knowledge@@package" are not broken properly
at the end of lines. This is an issue with the \kl(package){hyperref} package. This in particularly happened for files compiled by the Arxiv system while the file on the local computer was not having any problem.
@@ -2310,10 +2311,18 @@ A workaround is to use the \texttt{breaklinks} option of \kl(package){hyperref}
\kl{[...]}\par\noindent
\cs\usepackage[\kl{breaklinks}]\{\kl(package){hyperref}\}\par\noindent
\kl{[...]}\par\noindent
-\cs\usepackage\{\kl{knowledge}\}\par\noindent
+\cs\usepackage\{\kl(package){knowledge}\}\par\noindent
\kl{[...]}\par\noindent
\end{code}
+\subsubsection{Red boxes around links}
+
+This is an annoying feature of the "hyperref@@package" package to surround all links by red boxes (that may appear or not depending on the viewer). This is very heavy in document with many links. The solution is to load the "hyperref@@package" package with the "hidelinks" option. Hence the preamble may look like:
+\begin{code}[9cm]
+\cs\usepackage{["hidelinks"]}\{"hyperref@@package"\}\par\noindent
+\cs\usepackage\{\kl(package){knowledge}\}\par\noindent
+\end{code}
+
\subsection{Problems with scope}
\subsubsection{Problems in combination with \cs{\bibitem} and "thebibliography@@env"}
diff --git a/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx b/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx
index 6c745977bc2..22bb3647905 100644
--- a/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx
+++ b/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx
@@ -6,7 +6,7 @@
%
% meta-comment
%
-% Copyright (C) 2017-2018 by Thomas Colcombet
+% Copyright (C) 2017-2019 by Thomas Colcombet
% -----------------------------------
%
% This file may be distributed and/or modified under the
@@ -23,7 +23,7 @@
%
% \iffalse
%<head>\usepackage{expl3}
-%<head>\ProvidesExplPackage{knowledge}{2019/01/23}{1.15}{}
+%<head>\ProvidesExplPackage{knowledge}{2019/02/16}{1.16}{}
%<*driver>
\def\knowledgecode{active}
\input{knowledge.tex}
@@ -48,6 +48,7 @@
% \changes{1.13}{2018/11/21}{bug fixes} %
% \changes{1.14}{2018/11/22}{bug fix} %
% \changes{1.15}{2019/01/23}{doc change} %
+% \changes{1.16}{2019/02/15}{correct anchor point locations} %
% \GetFileInfo{knowledge.sty} %
% \DoNotIndex{}
%
@@ -67,8 +68,8 @@ This directory contains the package
name: knowledge
license: LaTeX Project Public License version 1.2 or above
- version: v1.15
- date: 2019/01/23
+ version: v1.16
+ date: 2019/02/15
author: Thomas Colcombet
mail: thomas.colcombet@irif.fr
web: https://www.irif.fr/~colcombe/knowledge_en.html
@@ -3095,13 +3096,14 @@ Content of the file knowledge-sources.zip:
% \begin{macrocode}
\cs_new:Nn\knowledge_AP_internal:{%
\vbox to 0pt{
+ \noindent
\kern-\dp\strutbox
- \smash{\llap{\knowledge_AP_mark:\kern0.5em}}
+ \smash{\llap{\knowledge_AP_mark:\kern0.3em}}
\vss}}
\cs_new:Nn\knowledge_AP_mark:{%
\setlength\unitlength{1em}
\begin{picture}(0,0)
- \put(0,1){
+ \put(0,1.2){
\bool_if:NT\knowledge_hyperref_active_bool
{\put(-0.05,-1.04){\phantomsection}}
\bool_if:NT\knowledge_configuration_visibleAP_bool
diff --git a/Master/texmf-dist/tex/latex/knowledge/knowledge.sty b/Master/texmf-dist/tex/latex/knowledge/knowledge.sty
index 6cc51bcfdf9..2cb530221bd 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/01/23}{1.15}{}
+\ProvidesExplPackage{knowledge}{2019/02/16}{1.16}{}
%%%%%%%%%%
\RequirePackage{l3keys2e}
\RequirePackage{etoolbox}
@@ -2734,13 +2734,14 @@
\expandafter\use_i:nn\fi}
\cs_new:Nn\knowledge_AP_internal:{%
\vbox to 0pt{
+ \noindent
\kern-\dp\strutbox
- \smash{\llap{\knowledge_AP_mark:\kern0.5em}}
+ \smash{\llap{\knowledge_AP_mark:\kern0.3em}}
\vss}}
\cs_new:Nn\knowledge_AP_mark:{%
\setlength\unitlength{1em}
\begin{picture}(0,0)
- \put(0,1){
+ \put(0,1.2){
\bool_if:NT\knowledge_hyperref_active_bool
{\put(-0.05,-1.04){\phantomsection}}
\bool_if:NT\knowledge_configuration_visibleAP_bool