summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-12-04 23:59:43 +0000
committerKarl Berry <karl@freefriends.org>2011-12-04 23:59:43 +0000
commit063e9d9cb52e4333fc288b765e4fbc9039b804d8 (patch)
treeb78e0ae965ee2d85de4d560e06313ac0728f5def
parent79d23f061e99d15ff3d9ae6edbedffb26f2e127a (diff)
philosophersimprint
git-svn-id: svn://tug.org/texlive/trunk@24753 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/philosophersimprint/README5
-rw-r--r--Master/texmf-dist/doc/latex/philosophersimprint/philosophersimprint.pdfbin253665 -> 342205 bytes
-rw-r--r--Master/texmf-dist/doc/latex/philosophersimprint/sample.pdfbin112122 -> 113033 bytes
-rw-r--r--Master/texmf-dist/doc/latex/philosophersimprint/sample.tex18
-rw-r--r--Master/texmf-dist/source/latex/philosophersimprint/philosophersimprint.dtx40
-rw-r--r--Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls20
6 files changed, 69 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/philosophersimprint/README b/Master/texmf-dist/doc/latex/philosophersimprint/README
index 47e89712cd3..c548464ddae 100644
--- a/Master/texmf-dist/doc/latex/philosophersimprint/README
+++ b/Master/texmf-dist/doc/latex/philosophersimprint/README
@@ -16,3 +16,8 @@ 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.1
+
+ - New formatting of journal URL
+ - Better handling of footnotes
+ - Use for microtype if exists \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/philosophersimprint/philosophersimprint.pdf b/Master/texmf-dist/doc/latex/philosophersimprint/philosophersimprint.pdf
index 458d97a94e1..dad187dbeff 100644
--- a/Master/texmf-dist/doc/latex/philosophersimprint/philosophersimprint.pdf
+++ b/Master/texmf-dist/doc/latex/philosophersimprint/philosophersimprint.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/philosophersimprint/sample.pdf b/Master/texmf-dist/doc/latex/philosophersimprint/sample.pdf
index f9e0b19d116..0309d89048c 100644
--- a/Master/texmf-dist/doc/latex/philosophersimprint/sample.pdf
+++ b/Master/texmf-dist/doc/latex/philosophersimprint/sample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/philosophersimprint/sample.tex b/Master/texmf-dist/doc/latex/philosophersimprint/sample.tex
index 98ede451086..050bc95b821 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}
+\usepackage{opcit,lipsum}
\usepackage{url}
\usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black,
pagecolor=black,urlcolor=black]{hyperref}
@@ -17,8 +17,8 @@
\copyrightinfo{2007, Philosophers' Imprint}
-\journalvolume{0}
-\journalnumber{0}
+\journalvolume{100}
+\journalnumber{20}
\date{January 2000}
@@ -173,4 +173,16 @@ from the Editors within a week. \emph{Philosophers' Imprint} no longer
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 248effcf8b9..56b61d1e390 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.36 2007-05-16 15:15:32 boris Exp $
+% $Id: philosophersimprint.dtx,v 1.39 2011-11-25 20:20:35 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{761}
+% \CheckSum{775}
%
%
%% \CharacterTable
@@ -52,7 +52,7 @@
\ProvidesFile{philosophersimprint.dtx}
%</gobble>
%<class>\ProvidesClass{philosophersimprint}
-[2007/05/16 v1.0 Typesetting articles for Philosophers' Imprint]
+[2011/11/25 v1.1 Typesetting articles for Philosophers' Imprint]
%<*gobble>
% \end{macrocode}
%
@@ -115,6 +115,7 @@
% \changes{v1.0}{2007/05/14}{Public release}
% \changes{v1.0}{2007/05/16}{Renamed files. Added reference to the
% package in sample.tex}
+% \changes{v1.1}{2011/11/25}{Added microtype}
% \tableofcontents
%
% \clearpage
@@ -404,7 +405,7 @@
%
% \subsection{Acknowledgements}
%
-% The author is grateful to John Horty, David Vellman and Victor
+% The author is grateful to John Horty, David Velleman and Victor
% Caston for their patience in describing the journal style.
%
%
@@ -526,6 +527,19 @@
\RequirePackage{textcomp}
% \end{macrocode}
%
+% Loading |microtype|:
+% \begin{macrocode}
+\IfFileExists{microtype.sty}{\RequirePackage{microtype}}{%
+ \ClassWarningNoLine{philosopherimprint}{%
+ *********************************\MessageBreak
+ * Microtype package not found. * \MessageBreak
+ * This package improves the *\MessageBreak
+ * typesetting quality. You may *\MessageBreak
+ * wish to upgrade your system. *\MessageBreak
+ ********************************}}
+% \end{macrocode}
+%
+%
% Loading |trajan|
% \begin{macrocode}
\ifPHIM@trajantitle
@@ -1149,7 +1163,7 @@
\copyright\space\@copyrightinfo\fi\\[0.3ex]
\itshape
\edef\PHIM@url{%
- www.philosophersimprint.org/\@@journalvolume/\@@journalnumber}
+ www.philosophersimprint.org/\@@journalvolume\@@journalnumber}
\ifPHIM@hyperref\relax
\href{http://\PHIM@url}{\textcolor{black}{
\textless \PHIM@url\textgreater}}%
@@ -1294,12 +1308,16 @@
%
% \begin{macro}{\@makfntext}
% \changes{v0.7}{2007/04/19}{Introduced new footnote formatting}
+% \changes{v1.1}{2011/11/25}{Changed indentation}
% The journal prefers footnotes with text footnote marks and hanging
% indentation
% \begin{macrocode}
\renewcommand\@makefntext[1]{%
- \noindent\hangindent=\PHIM@baselength\hangafter=1\relax
- \makebox[\PHIM@baselength][l]{\@thefnmark.}#1}
+ \bgroup
+ \parindent2\PHIM@baselength\relax
+ \everypar{\hangindent=\PHIM@baselength\hangafter=1}%
+ \noindent
+ \makebox[\PHIM@baselength][l]{\@thefnmark.}#1\egroup}
% \end{macrocode}
% \end{macro}
%
@@ -1322,6 +1340,14 @@
%
% \end{macro}
%
+% \begin{macro}{\interfootnotepenalty}
+% \changes{v1.1}{2011/11/25}{Changed value}
+% We allow footnotes to be split between pages:
+% \begin{macrocode}
+\interfootnotelinepenalty=0
+% \end{macrocode}
+%
+% \end{macro}
%
%\subsection{The Last Words}
%\label{sec:end}
diff --git a/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls b/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls
index 06cab0af971..73dc2dfff8f 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}
-[2007/05/16 v1.0 Typesetting articles for Philosophers' Imprint]
+[2011/11/25 v1.1 Typesetting articles for Philosophers' Imprint]
\newif\ifPHIM@titleimage\PHIM@titleimagetrue
\DeclareOption{titleimage}{\PHIM@titleimagetrue}
\DeclareOption{notitleimage}{\PHIM@titleimagefalse}
@@ -53,6 +53,14 @@
\RequirePackage[scaled]{helvet}
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
+\IfFileExists{microtype.sty}{\RequirePackage{microtype}}{%
+ \ClassWarningNoLine{philosopherimprint}{%
+ *********************************\MessageBreak
+ * Microtype package not found. * \MessageBreak
+ * This package improves the *\MessageBreak
+ * typesetting quality. You may *\MessageBreak
+ * wish to upgrade your system. *\MessageBreak
+ ********************************}}
\ifPHIM@trajantitle
\IfFileExists{trajan.sty}{\RequirePackage{trajan}}{%
\ClassWarningNoLine{philosophersimprint}{%
@@ -288,7 +296,7 @@
\copyright\space\@copyrightinfo\fi\\[0.3ex]
\itshape
\edef\PHIM@url{%
- www.philosophersimprint.org/\@@journalvolume/\@@journalnumber}
+ www.philosophersimprint.org/\@@journalvolume\@@journalnumber}
\ifPHIM@hyperref\relax
\href{http://\PHIM@url}{\textcolor{black}{
\textless \PHIM@url\textgreater}}%
@@ -352,10 +360,14 @@
\setcounter{subsection}{0}%
\gdef\thesection{\@Alph\c@section}}
\renewcommand\@makefntext[1]{%
- \noindent\hangindent=\PHIM@baselength\hangafter=1\relax
- \makebox[\PHIM@baselength][l]{\@thefnmark.}#1}
+ \bgroup
+ \parindent2\PHIM@baselength\relax
+ \everypar{\hangindent=\PHIM@baselength\hangafter=1}%
+ \noindent
+ \makebox[\PHIM@baselength][l]{\@thefnmark.}#1\egroup}
\settoheight{\footnotesep}{\footnotesize\strut}
\setlength{\skip\footins}{13.5pt plus 1fill}
+\interfootnotelinepenalty=0
\normalsize
\frenchspacing
\endinput