texlive[50031] Master/texmf-dist: knowledge (15feb19)
commits+karl at tug.org
commits+karl at tug.org
Fri Feb 15 23:22:44 CET 2019
Revision: 50031
http://tug.org/svn/texlive?view=revision&revision=50031
Author: karl
Date: 2019-02-15 23:22:44 +0100 (Fri, 15 Feb 2019)
Log Message:
-----------
knowledge (15feb19)
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-02-15 22:22:30 UTC (rev 50030)
+++ trunk/Master/texmf-dist/doc/latex/knowledge/README.md 2019-02-15 22:22:44 UTC (rev 50031)
@@ -3,8 +3,8 @@
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 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-02-15 22:22:30 UTC (rev 50030)
+++ trunk/Master/texmf-dist/doc/latex/knowledge/knowledge.tex 2019-02-15 22:22:44 UTC (rev 50031)
@@ -693,6 +693,7 @@
\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 @@
\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 @@
\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"}
Modified: trunk/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx 2019-02-15 22:22:30 UTC (rev 50030)
+++ trunk/Master/texmf-dist/source/latex/knowledge/knowledge-code.dtx 2019-02-15 22:22:44 UTC (rev 50031)
@@ -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 @@
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 at irif.fr
web: https://www.irif.fr/~colcombe/knowledge_en.html
@@ -3095,13 +3096,14 @@
% \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
Modified: trunk/Master/texmf-dist/tex/latex/knowledge/knowledge.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/knowledge/knowledge.sty 2019-02-15 22:22:30 UTC (rev 50030)
+++ trunk/Master/texmf-dist/tex/latex/knowledge/knowledge.sty 2019-02-15 22:22:44 UTC (rev 50031)
@@ -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
More information about the tex-live-commits
mailing list