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 --- Master/texmf-dist/source/latex/todonotes/todonotes.dtx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/source/latex') 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} -- cgit v1.2.3