From 24cb369e34652c88c43102f1de390bdb61a19f5c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 15 Jul 2018 21:14:39 +0000 Subject: todonotes (15jul18) git-svn-id: svn://tug.org/texlive/trunk@48208 c570f23f-e606-0410-a88d-b1316a301751 --- .../examples/alterAppearenceOfListOfTodos.pdf | Bin 62871 -> 62871 bytes .../doc/latex/todonotes/examples/externalize.pdf | Bin 27659 -> 27659 bytes .../todonotes/examples/saveColorByUsingLayers.pdf | Bin 25180 -> 25180 bytes .../texmf-dist/doc/latex/todonotes/todonotes.pdf | Bin 314720 -> 314771 bytes .../source/latex/todonotes/todonotes.dtx | 8 +++++--- .../texmf-dist/tex/latex/todonotes/todonotes.sty | 4 ++-- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdf b/Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdf index e6979bd5dd3..68617bdc7ad 100644 Binary files a/Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdf and b/Master/texmf-dist/doc/latex/todonotes/examples/alterAppearenceOfListOfTodos.pdf differ diff --git a/Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdf b/Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdf index ee316125487..0a1bea8b369 100644 Binary files a/Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdf and b/Master/texmf-dist/doc/latex/todonotes/examples/externalize.pdf differ diff --git a/Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdf b/Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdf index 839429b6468..43dfaae1d36 100644 Binary files a/Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdf and b/Master/texmf-dist/doc/latex/todonotes/examples/saveColorByUsingLayers.pdf differ diff --git a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf index 810c0fd61de..c7ec5dffe89 100644 Binary files a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf and b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf differ diff --git a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx index 85ae5c5b103..c0327e426e3 100644 --- a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx +++ b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx @@ -47,7 +47,7 @@ % % \fi % -% \CheckSum{636} +% \CheckSum{631} % % \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 @@ -194,6 +194,8 @@ % Added new options for inline todonotes based on code from Daniel Krenn. % Added warning message when marginparwidth is less than 2cm, as % suggested by ErikBoesen.} +% \changes{1.0.7}{2018/07/09}{Changed the warning about marginparwidth to a +% proper warning message.} % \GetFileInfo{todonotes.dtx} % % \DoNotIndex{\newcommand,\newenvironment} @@ -1218,11 +1220,11 @@ \newcommand{\phantomsection}{} \fi \ifdim \marginparwidth < 2cm -\todo[inline]{Warning. The length $\backslash$marginparwidth is +\PackageWarning{todonotes}{The length marginparwidth is less than 2cm and will most likely cause issues with the appearance of inserted todonotes. The issue can be solved by adding a line like -$\backslash$setlength\{$\backslash$marginparwidth\}\{2cm\} +\setlength{\marginparwidth}{2cm} prior to loading the todonotes package.} \else\fi% } % \end{macrocode} diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty index 126b7992044..0d1ce58cd3b 100644 --- a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty +++ b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty @@ -45,11 +45,11 @@ \newcommand{\phantomsection}{} \fi \ifdim \marginparwidth < 2cm -\todo[inline]{Warning. The length $\backslash$marginparwidth is +\PackageWarning{todonotes}{The length marginparwidth is less than 2cm and will most likely cause issues with the appearance of inserted todonotes. The issue can be solved by adding a line like -$\backslash$setlength\{$\backslash$marginparwidth\}\{2cm\} +\setlength{\marginparwidth}{2cm} prior to loading the todonotes package.} \else\fi% } -- cgit v1.2.3