From aa056b71d1092508574f00e95a11c3587fc8b364 Mon Sep 17 00:00:00 2001 From: Karl Berry 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 --- .../doc/latex/philosophersimprint/Makefile | 8 ++-- .../doc/latex/philosophersimprint/README | 4 ++ .../philosophersimprint/philosophersimprint.pdf | Bin 343874 -> 345296 bytes .../doc/latex/philosophersimprint/sample.pdf | Bin 113627 -> 99494 bytes .../doc/latex/philosophersimprint/sample.tex | 14 +------ .../philosophersimprint/philosophersimprint.dtx | 42 ++++++++++++++++++--- .../philosophersimprint/philosophersimprint.cls | 16 +++++++- 7 files changed, 62 insertions(+), 22 deletions(-) diff --git a/Master/texmf-dist/doc/latex/philosophersimprint/Makefile b/Master/texmf-dist/doc/latex/philosophersimprint/Makefile index aa9d74ec3a1..cbd49e7d9c5 100644 --- a/Master/texmf-dist/doc/latex/philosophersimprint/Makefile +++ b/Master/texmf-dist/doc/latex/philosophersimprint/Makefile @@ -3,7 +3,7 @@ # # This file is in public domain # -# $Id: Makefile,v 1.8 2007-05-16 15:15:32 boris Exp $ +# $Id: Makefile,v 1.9 2016/08/01 18:43:56 boris Exp $ # PACKAGE=philosophersimprint @@ -45,7 +45,7 @@ clean: $(RM) $(PACKAGE).cls *.log *.aux \ *.cfg *.glo *.idx *.toc \ *.ilg *.ind *.out *.lof \ - *.lot *.bbl *.blg *.gls \ + *.lot *.bbl *.blg *.gls *.out \ *.dvi *.ps distclean: clean @@ -55,4 +55,6 @@ distclean: clean # Archive for the distribution. Includes typeset documentation # archive: all clean - tar -czvf $(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude CVS . + tar -czvf $(PACKAGE).tgz -C .. --exclude '*~' \ + --exclude '*.tgz' --exclude CVS \ + --transform 's/latex/$(PACKAGE)/' latex diff --git a/Master/texmf-dist/doc/latex/philosophersimprint/README b/Master/texmf-dist/doc/latex/philosophersimprint/README index c52330a4b88..e7b1e50d68f 100644 --- a/Master/texmf-dist/doc/latex/philosophersimprint/README +++ b/Master/texmf-dist/doc/latex/philosophersimprint/README @@ -16,6 +16,10 @@ articles in the ``Web-ready'' format. We do not assume the authors have any commercial fonts installed on their machines. The class uses only freely available and freely distributed fonts. +Changes in version 1.4 + + - Typesetting improvements. + Changes in version 1.3 - Added copyright licensing information diff --git a/Master/texmf-dist/doc/latex/philosophersimprint/philosophersimprint.pdf b/Master/texmf-dist/doc/latex/philosophersimprint/philosophersimprint.pdf index 6a9a9a5b10c..b2c800d4d8f 100644 Binary files a/Master/texmf-dist/doc/latex/philosophersimprint/philosophersimprint.pdf and b/Master/texmf-dist/doc/latex/philosophersimprint/philosophersimprint.pdf differ diff --git a/Master/texmf-dist/doc/latex/philosophersimprint/sample.pdf b/Master/texmf-dist/doc/latex/philosophersimprint/sample.pdf index 327e0074c13..e93d6749967 100644 Binary files a/Master/texmf-dist/doc/latex/philosophersimprint/sample.pdf and b/Master/texmf-dist/doc/latex/philosophersimprint/sample.pdf differ diff --git a/Master/texmf-dist/doc/latex/philosophersimprint/sample.tex b/Master/texmf-dist/doc/latex/philosophersimprint/sample.tex index 821945095eb..a7dc656395d 100644 --- a/Master/texmf-dist/doc/latex/philosophersimprint/sample.tex +++ b/Master/texmf-dist/doc/latex/philosophersimprint/sample.tex @@ -1,5 +1,5 @@ -\documentclass{philosophersimprint} -\usepackage{opcit,lipsum} +\documentclass[noflushend]{philosophersimprint} +\usepackage{opcit,kantlipsum} \usepackage{url} \usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black, pagecolor=black,urlcolor=black]{hyperref} @@ -175,15 +175,5 @@ accepts submissions by email. \bibliography{philosophersimprint} -\newpage - -\section{Some text with footnotes} -\label{sec:footnotes} - -\lipsum*[1]\footnote{\lipsum[2]}\lipsum*[16-17]\footnote{\lipsum[12]}\par -\lipsum*[3]\footnote{\lipsum[4-6]}\lipsum[15-16] -\lipsum*[5-8]\footnote{\lipsum[6]}\par -\lipsum*[9]\footnote{\lipsum[8-9]} \lipsum[17]\par -\lipsum*[9]\footnote{\lipsum[10]} \lipsum[20] \end{document} 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 % 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} % %\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} diff --git a/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls b/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls index 3ab2c8f9311..7b3687c3770 100644 --- a/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls +++ b/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{philosophersimprint} -[2013/01/13 v1.3 Typesetting articles for Philosophers' Imprint] +[2016/07/20 v1.4 Typesetting articles for Philosophers' Imprint] \newif\ifPHIM@titleimage\PHIM@titleimagetrue \DeclareOption{titleimage}{\PHIM@titleimagetrue} \DeclareOption{notitleimage}{\PHIM@titleimagefalse} @@ -37,6 +37,9 @@ \PassOptionsToPackage{\CurrentOption}{mathpazo}} \DeclareOption{noBBpl}{% \PassOptionsToPackage{\CurrentOption}{mathpazo}} +\newif\ifPHIM@flushend\PHIM@flushendfalse +\DeclareOption{flushend}{\PHIM@flushendtrue} +\DeclareOption{noflushend}{\PHIM@flushendfalse} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \InputIfFileExists{philosophersimprint.cfg}{% \ClassInfo{philosophersimprint}{% @@ -70,6 +73,15 @@ ********************************}% \PHIM@trajantitlefalse} \fi +\ifPHIM@flushend + \IfFileExists{flushend.sty}{\RequirePackage{flushend}}{% + \ClassWarningNoLine{philosophersimprint}{% + ********************************\MessageBreak + * Flushend package not found. \MessageBreak + * Please install sttools bundle.\MessageBreak + ********************************}% + \PHIM@flushendfalse} +\fi \newif\ifPHIM@hyperref \AtBeginDocument{% \@ifpackageloaded{hyperref}{% @@ -371,7 +383,7 @@ \noindent \makebox[\PHIM@baselength][l]{\@thefnmark.}#1\egroup} \settoheight{\footnotesep}{\footnotesize\strut} -\setlength{\skip\footins}{13.5pt plus 1fill} +\setlength{\skip\footins}{\the\PHIM@baselength plus \the\PHIM@baselength} \interfootnotelinepenalty=0 \normalsize \frenchspacing -- cgit v1.2.3