From 2e36532bb99dce0d6c5fba60f7adba7e2bfb7c37 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 15 Apr 2017 22:59:15 +0000
Subject: latex2e (15apr17, ltnews27)

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

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

diff --git a/Master/texmf-dist/tex/latex/tools/multicol.sty b/Master/texmf-dist/tex/latex/tools/multicol.sty
index 43165ca5f6d..10ebd6a17bb 100644
--- a/Master/texmf-dist/tex/latex/tools/multicol.sty
+++ b/Master/texmf-dist/tex/latex/tools/multicol.sty
@@ -100,7 +100,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}[1997/12/01]
 \ProvidesPackage{multicol}
-          [2016/04/07 v1.8p  multicolumn formatting (FMi)]
+          [2017/04/11 v1.8q  multicolumn formatting (FMi)]
 %%
 \DeclareOption{twocolumn}
    {\PackageWarning{multicol}{May not work
@@ -257,6 +257,15 @@
     \output{\multi@column@out}%
     \init@mult@footins
     \reinsert@footnotes
+   \def\clearpage{%
+     \ifx\@deferlist\@empty\else
+       \PackageError{multicol}%
+          {Deferred floats not cleared}%
+          {A \string\clearpage\space inside multicols acts like
+           \string\newpage\space and doesn't clear floats.\MessageBreak
+           Move it before the multicols environment if you need it.}%
+     \fi
+    \newpage}%
   \fi
   \vbadness\@Mi \hbadness5000
   \tolerance\multicoltolerance
-- 
cgit v1.2.3

