From 28a0e9690789c4a791c2ca1d95f3caf94922adf6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 19 Jan 2007 01:15:25 +0000 Subject: papertex update (19jan07) git-svn-id: svn://tug.org/texlive/trunk@3581 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/papertex/papertex.cls | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex') 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 % } { -- cgit v1.2.3