summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/papertex/papertex.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/papertex/papertex.cls')
-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 %
}
{