summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex')
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex31
1 files changed, 23 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex b/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex
index 895f0bd72f6..ed54c679903 100644
--- a/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex
@@ -24,6 +24,9 @@
% 2006/06/02 v1.0: First version.
% 2009/09/25 v1.1: \usepackage disabled.
% 2011/07/01 v1.2: Fixes.
+% 2014/02/30 v1.3:
+% * Update for LaTeX 2014/05/01.
+% * Fix for anchor positions of issue titles.
%
\providecommand*{\lastissue}{20}
\InputIfFileExists{ltnews-lastissue.cfg}{}{}
@@ -52,6 +55,7 @@
\RequirePackage[T1]{fontenc}
\RequirePackage{lmodern}
+\RequirePackage{hologo}
\documentclass{ltnews}
@@ -137,28 +141,39 @@
\def\y{|lmodern,url}%
\ifx\x\y
\else
- \@latex@error{\string\usepackage[#1]{#2} found}\@ehc
+ \def\y{|lmodern,url,hologo}%
+ \ifx\x\y
+ \else
+ \@latex@error{ltnews.tex: \string\usepackage[#1]{#2} found}\@ehc
+ \fi
\fi
\fi
\endgroup
}%
- \makeatother
\renewcommand*{\documentclass}[2][]{%
\setcounter{footnote}{0}%
\gobbleopt
}%
\newcommand*{\gobbleopt}[1][]{}%
+ \let\org@twocolumn\twocolumn
\renewenvironment{document}{%
\clearpage
- \pdfbookmark[0]{\printissue}{issue\theissue}%
- \begingroup
- \let\WriteBookmarks\relax
- \phantomsection
- \addcontentsline{toc}{part}{\printissue}%
- \endgroup
+ \def\twocolumn[{%
+ \let\twocolumn\org@twocolumn
+ \org@twocolumn[%
+ {% because of optional argument of \twocolumn
+ \pdfbookmark[0]{\printissue}{issue\theissue}%
+ }%
+ \begingroup
+ \let\WriteBookmarks\relax
+ \phantomsection
+ \addcontentsline{toc}{part}{\printissue}%
+ \endgroup
+ }%
}{%
\clearpage
}%
+ \makeatother
\loop
\ifnum\value{issue}<\lastissue
\stepcounter{issue}%