texlive[49820] Master/texmf-dist: todonotes

commits+karl at tug.org commits+karl at tug.org
Sat Jan 26 00:24:36 CET 2019


Revision: 49820
          http://tug.org/svn/texlive?view=revision&revision=49820
Author:   karl
Date:     2019-01-26 00:24:36 +0100 (Sat, 26 Jan 2019)
Log Message:
-----------
todonotes

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdf
    trunk/Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdf
    trunk/Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdf
    trunk/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf
    trunk/Master/texmf-dist/source/latex/todonotes/todonotes.dtx
    trunk/Master/texmf-dist/tex/latex/todonotes/todonotes.sty

Modified: trunk/Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/todonotes/todonotes.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/todonotes/todonotes.dtx	2019-01-25 23:20:32 UTC (rev 49819)
+++ trunk/Master/texmf-dist/source/latex/todonotes/todonotes.dtx	2019-01-25 23:24:36 UTC (rev 49820)
@@ -1,18 +1,16 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2015 by Henrik Skov Midtiby <henrikmidtiby at gmail.com>
+% Copyright (C) 2019 by Henrik Skov Midtiby <henrikmidtiby at 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:
+% 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.
 %
-%    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.
-%
 % \fi
 %
 % \iffalse
@@ -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 @@
 % 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 at inlabel \leavevmode \fi     
+  \if at noskipsec \leavevmode \fi
   \if at todonotes@inlinepar
     \ifhmode
       \@bsphack

Modified: trunk/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/todonotes/todonotes.sty	2019-01-25 23:20:32 UTC (rev 49819)
+++ trunk/Master/texmf-dist/tex/latex/todonotes/todonotes.sty	2019-01-25 23:24:36 UTC (rev 49820)
@@ -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 @@
     \fi
 }
 \newcommand{\todo}[2][]{%
+  % Needed to output any dangling \item of a noskip section (see #36):
+  \if at inlabel \leavevmode \fi
+  \if at noskipsec \leavevmode \fi
   \if at todonotes@inlinepar
     \ifhmode
       \@bsphack



More information about the tex-live-commits mailing list