summaryrefslogtreecommitdiff
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
parent16b1721b6156255ee494d66e293a306e3d753846 (diff)
papertex update (19jan07)
git-svn-id: svn://tug.org/texlive/trunk@3581 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/papertex/CHANGES14
-rw-r--r--Master/texmf-dist/doc/latex/papertex/README25
-rw-r--r--Master/texmf-dist/doc/latex/papertex/example/example.pdfbin227190 -> 228332 bytes
-rw-r--r--Master/texmf-dist/doc/latex/papertex/example/example.tex6
-rw-r--r--Master/texmf-dist/doc/latex/papertex/papertex.pdfbin165003 -> 165401 bytes
-rw-r--r--Master/texmf-dist/source/latex/papertex/papertex.dtx23
-rw-r--r--Master/texmf-dist/tex/latex/papertex/papertex.cls18
-rw-r--r--Master/texmf-dist/tpm/papertex.tpm8
8 files changed, 56 insertions, 38 deletions
diff --git a/Master/texmf-dist/doc/latex/papertex/CHANGES b/Master/texmf-dist/doc/latex/papertex/CHANGES
index 39b5ba9fc20..07933b79d9e 100644
--- a/Master/texmf-dist/doc/latex/papertex/CHANGES
+++ b/Master/texmf-dist/doc/latex/papertex/CHANGES
@@ -4,6 +4,12 @@ paperTeX: class change history
Copyright (C) 2007 by Ignacio Llopis <lloptor@gmail.com>
-------------------------------------------------------
+v.1.1b (18 January 2007)
+-------------------------
+- solved problem with hyperlinks in the main index. added \phantomsection (s).
+- ``shortnews'' environment can now be refered. new label parameter.
+- very thanks to Randy Yates
+
v.1.1a (15 January 2007)
-------------------------
- corrected a big error in documentation (I said usepackage{papertex}
@@ -12,13 +18,13 @@ but papertex is a class!!)
v.1.1 (10 January 2007)
------------------------
--"amssymb" package is not needed anymore. It was used only to draw a \blackbox.
--instead: \newcommand{\innerTextFinalMark}{\rule{0.65em}{0.65em}}.
--very thanks to Robert Fuster.
+- ``amssymb'' package is not needed anymore. It was used only to draw a \blackbox.
+- instead: \newcommand{\innerTextFinalMark}{\rule{0.65em}{0.65em}}.
+- very thanks to Robert Fuster.
v.1.0 (6 July 2006)
--------------------
--first release.
+- first release.
Ignacio Llopis <lloptor@gmail.com>
diff --git a/Master/texmf-dist/doc/latex/papertex/README b/Master/texmf-dist/doc/latex/papertex/README
index b98932f7ee5..6b8e58b458d 100644
--- a/Master/texmf-dist/doc/latex/papertex/README
+++ b/Master/texmf-dist/doc/latex/papertex/README
@@ -4,7 +4,7 @@ paperTeX: creating newspapers using LaTeX2e
Copyright (C) 2007 by Ignacio Llopis <lloptor@gmail.com>
-------------------------------------------------------
-{Version 1.1}
+{Version 1.1b}
This class allows LaTeX users to create a newspaper using LaTeX.
This class was created together with a Perl script in order to create
@@ -12,8 +12,8 @@ a publication automatically. paperTeX will help you to create your own
publication with a newspaper style.
This package provides commands to create the front page as well as the
-inner pages of a newspaper. There are also various configuration commands which
-let the user set up his/her own style.
+inner pages of a newspaper. There are also various configuration commands
+which let the user set up his/her own style.
Important
---------
@@ -24,26 +24,27 @@ Installation
------------
Download the file papertex.cls and leave it somewhere TeX will find it.
-This class requires other LaTeX packages that you might need to download before
-compiling your documents.
+This class requires other LaTeX packages that you might need to download
+before compiling your documents.
Files
-----
Files of the `paperTeX' class:
- README This file
- papertex.dtx Source code and documentation
- papertex.ins Installation script generating papertex.cls
- CHANGES List of changes
- papertex.pdf PDF version of the documentation
- example/ Folder containing an example
+ README This file
+ papertex.dtx Source code and documentation
+ papertex.ins Installation script generating papertex.cls
+ CHANGES List of changes
+ papertex.pdf PDF version of the documentation
+ example/ Folder containing an example
License
-------
These files are copyrighted, 2006-2007, Ignacio Llopis. They
are released under the terms of the LaTeX Project Public License.
-See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license.
+See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
+for the details of that license.
diff --git a/Master/texmf-dist/doc/latex/papertex/example/example.pdf b/Master/texmf-dist/doc/latex/papertex/example/example.pdf
index 8629c5ef1b9..1fb3aef20eb 100644
--- a/Master/texmf-dist/doc/latex/papertex/example/example.pdf
+++ b/Master/texmf-dist/doc/latex/papertex/example/example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/papertex/example/example.tex b/Master/texmf-dist/doc/latex/papertex/example/example.tex
index 0da9a8f5bcc..ad6678bd801 100644
--- a/Master/texmf-dist/doc/latex/papertex/example/example.tex
+++ b/Master/texmf-dist/doc/latex/papertex/example/example.tex
@@ -74,7 +74,7 @@
\indexitem{Index item 3. Sed sit amet velit. Duis sit amet nunc. Aenean vehicula commodo est. Aliquam dignissim tempor enim.}{3}
-\indexitem{Index item 4. Curabitur imperdiet, est vel commodo eleifend, mi urna vulputate lorem.}{2}
+\indexitem{Index item 4. Curabitur imperdiet, est vel commodo eleifend, mi urna vulputate lorem.}{5}
\end{indexblock}
\begin{weatherblock}{WEATHER FORECAST}
@@ -171,7 +171,7 @@ Donec ultrices sem non ante. Curabitur non ante vitae mauris eleifend convallis.
\newssep
-\begin{editorial}{1}{This is an example of ``editorial'' type of news.}{Name Surname}{1}
+\begin{editorial}{1}{This is an example of ``editorial'' type of news.}{Name Surname}{4}
Proin sollicitudin volutpat quam. Duis pulvinar nulla id lorem. Curabitur ac nulla eget dui porta laoreet. Integer turpis mauris, dignissim quis, faucibus sit amet, placerat quis, odio. Mauris blandit, velit et posuere commodo, eros ligula fringilla massa, et ultrices metus tellus vel lorem. Cras ut libero non mi sagittis egestas. Donec metus eros, pharetra eget, tincidunt quis, auctor a, arcu. In hac habitasse platea dictumst. Curabitur nulla. Suspendisse eget ante elementum leo ornare molestie. Ut id augue. Nam at dui. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum nec ante. Nunc aliquam lobortis tortor. Aliquam erat volutpat.
Donec ultrices sem non ante. Curabitur non ante vitae mauris eleifend convallis. Integer lectus lorem, scelerisque et, dictum sollicitudin, aliquam a, eros. Ut ultrices metus eu augue. Cras sit amet odio sit amet dolor sagittis venenatis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam erat volutpat. Sed justo velit, accumsan sed, vulputate nec, nonummy sed, tellus. Phasellus sit amet odio sed erat placerat posuere. Sed a magna. Cras dolor turpis, consequat sollicitudin, viverra eget, convallis eu, nibh.
@@ -181,7 +181,7 @@ Ut convallis consectetuer odio. Fusce posuere eleifend arcu. Nullam libero turpi
\newssep
-\begin{shortnews}{4}{SHORT NEWS ENVIRONMENT}{The shortnews environment inside paper\TeX{}}
+\begin{shortnews}{4}{SHORT NEWS ENVIRONMENT}{The shortnews environment inside paper\TeX{}}{5}
\shortnewsitem{This is a short title}{This is a short text. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In vitae augue. Morbi fermentum, felis accumsan rhoncus malesuada, metus eros adipiscing dui, vel eleifend nibh velit ut felis. Pellentesque elementum massa at nisi dapibus mollis. Etiam cursus. Mauris gravida nibh ut sapien. Vestibulum pretium, felis et.}
\shortnewsitem{Another short title}{This is a short text. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In vitae augue. Morbi fermentum, felis accumsan rhoncus malesuada, metus eros adipiscing dui, vel eleifend nibh velit ut felis. Pellentesque elementum massa at nisi dapibus mollis. Etiam cursus. Mauris gravida nibh ut sapien. Vestibulum pretium, felis et.}
\shortnewsitem{This is a short title}{This is a short text. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In vitae augue. Morbi fermentum, felis accumsan rhoncus malesuada, metus eros adipiscing dui, vel eleifend nibh velit ut felis. Pellentesque elementum massa at nisi dapibus mollis. Etiam cursus. Mauris gravida nibh ut sapien. Vestibulum pretium, felis et.}
diff --git a/Master/texmf-dist/doc/latex/papertex/papertex.pdf b/Master/texmf-dist/doc/latex/papertex/papertex.pdf
index 28f6a4bcfc1..7e7db954b3e 100644
--- a/Master/texmf-dist/doc/latex/papertex/papertex.pdf
+++ b/Master/texmf-dist/doc/latex/papertex/papertex.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/papertex/papertex.dtx b/Master/texmf-dist/source/latex/papertex/papertex.dtx
index 44a106cfff1..f9505158291 100644
--- a/Master/texmf-dist/source/latex/papertex/papertex.dtx
+++ b/Master/texmf-dist/source/latex/papertex/papertex.dtx
@@ -22,7 +22,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<class>\ProvidesClass{papertex}
%<*class>
- [2007/01/15 v1.1a paperTeX class]
+ [2007/01/18 v1.1b paperTeX class]
%</class>
%
%<*driver>
@@ -58,6 +58,7 @@
% \changes{v1.0}{2006/07/06}{Initial version}
% \changes{v1.1}{2007/01/10}{Some minor changes}
% \changes{v1.1a}{2007/01/15}{Changes in documentation}
+% \changes{v1.1b}{2007/01/18}{Short news have label. They could not be referenced before. Phantomsections added.}
%
% \GetFileInfo{papertex.dtx}
%
@@ -213,7 +214,7 @@
% \DescribeEnv{shortnews}
% The |shortnews| environment creates a block of short news. Althought it has its own title and subtitle, each piece of news within it may have a title. To use it just type:
% \begin{quote}
-% |\begin{shortnews}|\marg{num-of-columns}\marg{title}\marg{subtitle}\\
+% |\begin{shortnews}|\marg{num-of-columns}\marg{title}\marg{subtitle}\marg{label}\\
% \ldots\\
% |\shortnewsitem|\marg{title}\marg{text}\\
% \ldots\\
@@ -1456,6 +1457,8 @@
% It also uses \texttt{multicol} feature to expand the news headings all over the columns and creates a
% new PDF bookmark and label.
%
+% The fifth parameter gets the name of the label that the user can use in the front page index. It uses |\phantomsection| to make |\pageref| work. Notice that \papertex{} has not any sections.
+%
% It tells |multicols| environment that it should appear $4cm$ of text at least.
% Otherwise, it changes to a new page.
% \begin{macrocode}
@@ -1463,13 +1466,14 @@
{
\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}
@@ -1528,11 +1532,12 @@
\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}
@@ -1559,11 +1564,13 @@
%
%Next environment introduces a short news group.
% \begin{macrocode}
-\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 %
}
{
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 %
}
{
diff --git a/Master/texmf-dist/tpm/papertex.tpm b/Master/texmf-dist/tpm/papertex.tpm
index b2cac3ab13e..cc865357272 100644
--- a/Master/texmf-dist/tpm/papertex.tpm
+++ b/Master/texmf-dist/tpm/papertex.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/papertex.zip">
<TPM:Name>papertex</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2007/01/15 20:43:00</TPM:Date>
+ <TPM:Date>2007/01/18 23:15:00</TPM:Date>
<TPM:Version></TPM:Version>
<TPM:Creator>karl</TPM:Creator>
<TPM:Title>The papertex package.</TPM:Title>
@@ -12,11 +12,11 @@
<TPM:Size>553738</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="24886">
+ <TPM:RunFiles size="24949">
texmf-dist/tex/latex/papertex/papertex.cls
texmf-dist/tpm/papertex.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="472866">
+ <TPM:DocFiles size="474648">
texmf-dist/doc/latex/papertex/CHANGES
texmf-dist/doc/latex/papertex/README
texmf-dist/doc/latex/papertex/example/example.pdf
@@ -27,7 +27,7 @@ texmf-dist/doc/latex/papertex/example/img/weather/rain.jpg
texmf-dist/doc/latex/papertex/example/img/weather/sun.jpg
texmf-dist/doc/latex/papertex/papertex.pdf
</TPM:DocFiles>
- <TPM:SourceFiles size="55986">
+ <TPM:SourceFiles size="56372">
texmf-dist/source/latex/papertex/papertex.dtx
texmf-dist/source/latex/papertex/papertex.ins
</TPM:SourceFiles>