summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-01-19 01:15:25 +0000
committerKarl Berry <karl@freefriends.org>2007-01-19 01:15:25 +0000
commit28a0e9690789c4a791c2ca1d95f3caf94922adf6 (patch)
treea28e38def88c82786110fc140c6cd55c6c90b0df /Master/texmf-dist/tex
parent16b1721b6156255ee494d66e293a306e3d753846 (diff)
papertex update (19jan07)
git-svn-id: svn://tug.org/texlive/trunk@3581 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/papertex/papertex.cls18
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/papertex/papertex.cls b/Master/texmf-dist/tex/latex/papertex/papertex.cls
index 4cb2a76e077..47b518627cd 100644
--- a/Master/texmf-dist/tex/latex/papertex/papertex.cls
+++ b/Master/texmf-dist/tex/latex/papertex/papertex.cls
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{papertex}
- [2007/01/15 v1.1a paperTeX class]
+ [2007/01/18 v1.1b paperTeX class]
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{papertex}[2006/07/06 paperTeX class]
\RequirePackage{ifthen}
@@ -805,13 +805,14 @@ indexblock environment may only appear inside frontpage environment.
{
\papertex@say{Adding a new piece of news}
\renewcommand{\papertex@ncolumns}{#1}
-\pdfbookmark[1]{#2}{\thepage}
-\label{#5}
\begin{multicols}{#1}[%
\papertex@pages{#4}
\papertex@innerTitle{#2}%
\papertex@innerSubtitle{#3}%
][4cm]%
+\phantomsection
+\pdfbookmark[1]{#2}{\thepage}
+\label{#5}
}
{~\innerTextFinalMark{}
\end{multicols}
@@ -851,11 +852,12 @@ indexblock environment may only appear inside frontpage environment.
\newenvironment{editorial}[4]
{
\papertex@say{Adding a new editorial}
-\pdfbookmark[1]{#2}{\thepage}
-\label{#4}
\begin{multicols}{#1}[%
\papertex@editorialTit{#2}{#3}%
][4cm]
+\phantomsection
+\pdfbookmark[1]{#2}{\thepage}
+\label{#4}
}
{
\end{multicols}
@@ -872,11 +874,13 @@ indexblock environment may only appear inside frontpage environment.
}
\end{center}
}
-\newenvironment{shortnews}[3]
+\newenvironment{shortnews}[4]
{
\papertex@say{Adding a short news block}
-\pdfbookmark[1]{#2}{\thepage}
\begin{multicols}{#1}[\papertex@shortnewsTit{#2}{#3}][4cm] %
+\phantomsection
+\pdfbookmark[1]{#2}{\thepage}
+ \label{#4}
\par %
}
{