From d06b75cab24b7a122d8679853634f650142d1988 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 29 Aug 2015 22:53:30 +0000
Subject: etoc (29aug15)

git-svn-id: svn://tug.org/texlive/trunk@38242 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/etoc/etoc.sty | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/etoc/etoc.sty')

diff --git a/Master/texmf-dist/tex/latex/etoc/etoc.sty b/Master/texmf-dist/tex/latex/etoc/etoc.sty
index 6052838739a..0d2826226b6 100644
--- a/Master/texmf-dist/tex/latex/etoc/etoc.sty
+++ b/Master/texmf-dist/tex/latex/etoc/etoc.sty
@@ -23,10 +23,10 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{etoc}
- [2015/04/28 v1.08f Completely customisable TOCs (jfB)]
+ [2015/08/29 v1.08g Completely customisable TOCs (jfB)]
 %%
 %% Package: etoc
-%% Version: 1.08f (2015/04/28)
+%% Version: 1.08g (2015/08/29)
 %% License: LPPL 1.3c or later (see etoc.dtx)
 %% Copyright (C) 2012-2015 Jean-Francois Burnol
 %%                         <jfbu at free dot fr>
@@ -674,8 +674,8 @@
     \else\expandafter
      \Etoc@gobbletoetoc@
     \fi
+    \Etoc@par
     \etocbeforetitlehook % 1.07m
-    \Etoc@par % here 1.08e/1.08f
     \Etoc@storetocdepth % 1.07g
     \let\Etoc@savedcontentsline\contentsline % moved up here 1.08
     \let\contentsline\Etoc@etoccontentsline
@@ -1283,18 +1283,17 @@
 }
 \def\Etoc@tocvsec@err #1{\PackageError {etoc}
         {the command \protect#1\space is incompatible with etoc}
-        {use \protect\etocsettocdepth.toc as replacement (check the manual)}%
+        {use \protect\etocsettocdepth.toc as replacement (see etoc manual)}%
 }%
 \AtBeginDocument {%
    \@ifclassloaded{memoir}
-    {\PackageWarning{etoc}{You may consider using \protect\etocsettocdepth.toc
-      as a drop-in^^J
-      replacement to the memoir own \protect\settocdepth\space
-      if you wish to exploit etoc to its^^J
-      fullest. Similarly consider using
+    {\PackageInfo {etoc}
+     {Regarding memoir class command \protect\settocdepth, consider^^J
+     \protect\etocsettocdepth.toc as a drop-in replacement with
+     more capabilities^^J (see etoc manual). Similarly
      \protect\etocsettocdepth\space and
-     \protect\etocsetnexttocdepth^^J rather
-     than memoir's \protect\maxtocdepth.}}
+     \protect\etocsetnexttocdepth^^J should replace
+     use of memoir's \protect\maxtocdepth\space command.}}
     {\@ifpackageloaded {tocvsec2}
      {\def\maxtocdepth  #1{\Etoc@tocvsec@err \maxtocdepth   }%
       \def\settocdepth  #1{\Etoc@tocvsec@err \settocdepth   }%
-- 
cgit v1.2.3

