summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-25 23:24:36 +0000
committerKarl Berry <karl@freefriends.org>2019-01-25 23:24:36 +0000
commit3851f9966878b3d9ab5296c68a738bc8fa2dcb89 (patch)
tree9818a593813523b3ea31cde7ba3a4396886226c2
parentdbb07a7a7359963676891de548723b36785eff79 (diff)
todonotes
git-svn-id: svn://tug.org/texlive/trunk@49820 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdfbin62842 -> 64815 bytes
-rw-r--r--Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdfbin27648 -> 29623 bytes
-rw-r--r--Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdfbin25181 -> 27155 bytes
-rw-r--r--Master/texmf-dist/doc/latex/todonotes/todonotes.pdfbin315960 -> 316253 bytes
-rw-r--r--Master/texmf-dist/source/latex/todonotes/todonotes.dtx24
-rw-r--r--Master/texmf-dist/tex/latex/todonotes/todonotes.sty5
6 files changed, 17 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdf b/Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdf
index 3443c1d3dfd..4aa4f385ebe 100644
--- a/Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdf
+++ b/Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdf b/Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdf
index 3129f1a4218..892d8cf37cf 100644
--- a/Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdf
+++ b/Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdf b/Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdf
index 8081a3d5dbf..be2f44a1d2c 100644
--- a/Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdf
+++ b/Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf
index facf0799b04..4a3f5763696 100644
--- a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf
+++ b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx
index 4604bceb623..b4180a797f6 100644
--- a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx
+++ b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx
@@ -1,17 +1,15 @@
% \iffalse meta-comment
%
-% Copyright (C) 2015 by Henrik Skov Midtiby <henrikmidtiby@gmail.com>
+% Copyright (C) 2019 by Henrik Skov Midtiby <henrikmidtiby@gmail.com>
% -------------------------------------------------------
%
-% This file may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.2
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
-% The latest version of this license is in:
-%
-% http://www.latex-project.org/lppl.txt
-%
-% and version 1.2 or later is part of all distributions of LaTeX
-% version 1999/12/01 or later.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
%
% \fi
%
@@ -22,7 +20,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{todonotes}
%<*package>
- [2018/11/22 v1.1.1 Todonotes source and documentation.]
+ [2019/01/24 v1.1.2 Todonotes source and documentation.]
%</package>
%
%<*driver>
@@ -47,7 +45,7 @@
%</driver>
% \fi
%
-% \CheckSum{710}
+% \CheckSum{717}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -206,6 +204,7 @@
% Steamline which options that are accepted to size commands
% (both commands (backslash tiny) and text (tiny) are now supported).}
% \changes{1.1.1}{2018/11/22}{Implemented shadow and noshadow options for the todo command.}
+% \changes{1.1.2}{2019/01/24}{Fix issue 36 and 37.}
% \GetFileInfo{todonotes.dtx}
%
% \DoNotIndex{\newcommand,\newenvironment}
@@ -1983,6 +1982,9 @@ prior to loading the todonotes package.} \else\fi%
% Define the |\todo| command as a redirection to |\@todo|.
% \begin{macrocode}
\newcommand{\todo}[2][]{%
+ % Needed to output any dangling \item of a noskip section (see #36):
+ \if@inlabel \leavevmode \fi
+ \if@noskipsec \leavevmode \fi
\if@todonotes@inlinepar
\ifhmode
\@bsphack
diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
index 7b9a76d30bb..9bdd208a721 100644
--- a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
+++ b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{todonotes}
- [2018/11/22 v1.1.1 Todonotes source and documentation.]
+ [2019/01/24 v1.1.2 Todonotes source and documentation.]
\ProvidesPackage{todonotes}[2018/11/22]
\RequirePackage{ifthen}
@@ -533,6 +533,9 @@ prior to loading the todonotes package.} \else\fi%
\fi
}
\newcommand{\todo}[2][]{%
+ % Needed to output any dangling \item of a noskip section (see #36):
+ \if@inlabel \leavevmode \fi
+ \if@noskipsec \leavevmode \fi
\if@todonotes@inlinepar
\ifhmode
\@bsphack