From aa056b71d1092508574f00e95a11c3587fc8b364 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 2 Aug 2016 21:44:03 +0000
Subject: philosophersimprint (2aug16)

git-svn-id: svn://tug.org/texlive/trunk@41788 c570f23f-e606-0410-a88d-b1316a301751
---
 .../philosophersimprint/philosophersimprint.dtx    | 42 +++++++++++++++++++---
 1 file changed, 37 insertions(+), 5 deletions(-)

(limited to 'Master/texmf-dist/source/latex/philosophersimprint/philosophersimprint.dtx')

diff --git a/Master/texmf-dist/source/latex/philosophersimprint/philosophersimprint.dtx b/Master/texmf-dist/source/latex/philosophersimprint/philosophersimprint.dtx
index 7bedb74dc57..34e537bb440 100644
--- a/Master/texmf-dist/source/latex/philosophersimprint/philosophersimprint.dtx
+++ b/Master/texmf-dist/source/latex/philosophersimprint/philosophersimprint.dtx
@@ -1,6 +1,6 @@
 % \iffalse
 %<*gobble>
-% $Id: philosophersimprint.dtx,v 1.42 2013-01-15 03:57:36 boris Exp $
+% $Id: philosophersimprint.dtx,v 1.44 2016/07/20 20:15:04 boris Exp $
 %
 % Copyright 2007, Boris Veytsman <boris@varphi.com>
 % This work may be distributed and/or modified under the
@@ -20,7 +20,7 @@
 % derived file philosophersimprint.cls
 %
 % \fi 
-% \CheckSum{788}
+% \CheckSum{808}
 %
 %
 %% \CharacterTable
@@ -52,7 +52,7 @@
 \ProvidesFile{philosophersimprint.dtx}
 %</gobble>
 %<class>\ProvidesClass{philosophersimprint}
-[2013/01/13 v1.3 Typesetting articles for Philosophers' Imprint]
+[2016/07/20 v1.4 Typesetting articles for Philosophers' Imprint]
 %<*gobble>
 %    \end{macrocode}
 %
@@ -116,6 +116,7 @@
 % \changes{v1.0}{2007/05/16}{Renamed files.  Added reference to the
 % package in sample.tex}
 % \changes{v1.1}{2011/11/25}{Added microtype}
+% \changes{v1.4}{2016/07/20}{Added flushend option}
 % \tableofcontents
 %
 % \clearpage
@@ -209,6 +210,13 @@
 % \progname{mathpazo} package.  See~\cite{Schmidt04:PSNFSS9.2} for the
 % discussion of these options.
 %
+% \DescribeOptions{flushend,noflushend}%
+% The options |flushend| and |noflushend| (default) determine the look
+% of the last page of the article.  If the option |flushend| is
+% chosen, the last page has balanced columns, while the opposite
+% option makes them unbalanced.  Usually you should not balance the
+% columns if you have footnotes on the last page.
+%
 %\subsection{Topmatter}
 %\label{sec:topmatter}
 %
@@ -429,6 +437,7 @@
 % unwanted white spaces on the pages.  Sometimes judicious changes of
 % the parameters in strategic places may help. 
 %
+%
 % \subsection{Acknowledgements}
 %
 % The author is grateful to John Horty, David Velleman and Victor
@@ -497,6 +506,17 @@
   \PassOptionsToPackage{\CurrentOption}{mathpazo}}
 %    \end{macrocode}
 % 
+% \begin{macro}{\ifPHIM@flushend}
+% \changes{v1.4}{2016/07/20}{Added macro}
+%   Whether to flush the last column
+%    \begin{macrocode}
+\newif\ifPHIM@flushend\PHIM@flushendfalse
+\DeclareOption{flushend}{\PHIM@flushendtrue}
+\DeclareOption{noflushend}{\PHIM@flushendfalse}
+%    \end{macrocode}
+%   
+% \end{macro}
+%
 % Everything else is probably an option for \progname{article}
 %    \begin{macrocode}
 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
@@ -579,7 +599,18 @@
 \fi     
 %    \end{macrocode}
 % 
-%
+% Loading |flushend|
+%    \begin{macrocode}
+\ifPHIM@flushend
+  \IfFileExists{flushend.sty}{\RequirePackage{flushend}}{%
+    \ClassWarningNoLine{philosophersimprint}{%
+      ********************************\MessageBreak
+      * Flushend package not found.  \MessageBreak
+      * Please install sttools bundle.\MessageBreak
+      ********************************}%
+    \PHIM@flushendfalse}
+\fi     
+%    \end{macrocode}
 %
 % \begin{macro}{\ifPHIM@hyperref}
 % We check whether the user loaded \progname{hyperref}.  This is
@@ -1372,10 +1403,11 @@
 % \begin{macro}{\footins}
 % \changes{v0.7}{2007/04/19}{Changed value}
 % \changes{v0.9}{2007/05/04}{It is now stretchable}
+% \changes{v1.4}{2016/07/20}{Made finite to avoid white spots}
 %   This the space between the last line of the text and top of
 %   footnotes
 %    \begin{macrocode}
-\setlength{\skip\footins}{13.5pt plus 1fill}
+\setlength{\skip\footins}{\the\PHIM@baselength plus \the\PHIM@baselength}
 %    \end{macrocode}
 %   
 % \end{macro}
-- 
cgit v1.2.3

