Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

lastpage

6 views
Skip to first unread message

Martin Muench

unread,
Feb 18, 2010, 5:57:56 AM2/18/10
to
Hi!

I tried to contact the maintainer of the lastpage package, but got back:

Failed to deliver to '<J.Gol...@Cranfield.ac.uk>'
SMTP module(domain @131.220.15.113|cranfield.ac.uk) reports:
host mailgate-7.central.cranfield.ac.uk says:
550 Unrouteable address

Does anybody know his current address? Or current maintainer or can help
in another way?

Thanks
Martin
Martin dot Muench at Uni-Bonn dot de

-------- Original Message --------
Subject: TeX: lastpage
Date: Thu, 18 Feb 2010 11:09:51 +0100
To: J.Gol...@Cranfield.ac.uk

Dear Mr Goldberg,

please find below a proposal for an update of your lastpage package.
In short: labels are added for pages where the page numbering changes
(e.g. form roman to arabic) and a LastPages label, as to count the total
number of pages (X pages Roman and 30 pages arabic lead to 40 pages in
total, which the updated package is aware of). It should be completely
compatible with the use of the old version of the package. What do you
think about this?

Yours sincerely

Martin Muench
PS: Thunderbird breaks the longer lines, see a zip-ed lastpage.sty attached.
PPS: Example tex attached.
%% This is file `lastpage.sty',

%% IMPORTANT NOTICE:
%% This is part of a set of tools
%% written by Jeff Goldberg (J dot Goldberg at Cranfield dot ac dot uk).
%% H.-Martin M\"{u}nch (Martin dot Muench at Uni-Bonn dot de)
%% added the labels for pages
%% where the page numbering changes and the LastPages label.
%% The usual disclaimers apply:
%% If it doesn't work right that's your problem.
%% Do use a \pagenumberings at the first page,
%% never use \pagenumbering,
%% do not use the same page numbering twice,
%% and everything should (!) be fine.

%% It is released under the terms of the
%% General Public License Agreement (version 2)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% What about changing it to:

%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3c of this license or (at your option) any later
%% version. This version of this license is in
%% http://www.latex-project.org/lppl/lppl-1-3c.txt
%% and the latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.

%% ?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\filename{lastpage}
\def\fileversion{v1.1}
\def\filedate{2010/02/18}
\def\docdate {2010/02/18}

%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%% Digits \0\1\2\3\4\5\6\7\8\9
%% Exclamation \! Double quote \" Hash (number) \#
%% Dollar \$ Percent \% Ampersand \&
%% Acute accent \' Left paren \( Right paren \)
%% Asterisk \* Plus \+ Comma \,
%% Minus \- Point \. Solidus \/
%% Colon \: Semicolon \; Less than \<
%% Equals \= Greater than \> Question mark \?
%% Commercial at \@ Left bracket \[ Backslash \\
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
%% Allow for things like
%% | page \thepage of \pageref{LastPages} (\pageref{pages.Roman}+
%% \pageref{pages.arabic}+\pageref{pages.Alph})|
%% to get 'page XVI of 83 (XX+30+C)'
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{lastpage}[\filedate\space\fileversion\space
LaTeX2e package for refs to first, last, total, and
numberings pages' numbers (JPG, HMM)]
\newcounter{TotalPage}
\setcounter{TotalPage}{0} % maybe unnecessary, but let's play it the
safe way
\newcounter{pnc} % page numbering change
\setcounter{pnc}{0} % maybe unnecessary, but let's play it the
safe way
\def\lastpage@pnc{0}
\def\lastpage@first{0}

\newcommand{\pagenumb}[1]{\pagenumbering{#1}}

\newcommand{\writepagelabel}[1]{%
\immediate\write\@auxout{\string
\newlabel{pages.#1}{{}{\thepage}{}{page.\thepage}{}}}%
}

\newcommand{\pagenumberings}[1]{%
% the next two lines ensure calling \pagenumbering here only for the
first page
\pagenumb{#1}%
\renewcommand{\pagenumb}[1]{\relax}%
% For the first page there is no preceding page:
% -\lastpage@first in addtocounter{page} is zero
% but ever after this there is a preceding page,
% i.e. the counter can be decreased by one,
% i.e. \def\lastpage@first{1} is redefined.
\addtocounter{page}{-\lastpage@first}%
\writepagelabel{\lastpage@pnc}%
\def\lastpage@pnc{#1}%
\addtocounter{page}{+\lastpage@first}%
\def\lastpage@first{1}%
\addtocounter{TotalPage}{\value{page}}%
\addtocounter{TotalPage}{-1}% The preceding page is the one with the
old numbering.
\pagenumbering{#1}%
\setcounter{page}{1}%
}

\def\lastpage@putlabels{\addtocounter{page}{-1}%
\writepagelabel{\lastpage@pnc}
\addtocounter{TotalPage}{\value{page}}%
\immediate\write\@auxout{\string
\newlabel{LastPages}{{}{\arabic{TotalPage}}{}{page.\thepage}{}}}%
\addtocounter{page}{1}%
}

\def\lastpage@putlabel{\addtocounter{page}{-1}%
\immediate\write\@auxout{\string
\newlabel{LastPage}{{}{\thepage}}}%
\addtocounter{page}{1}%
}

\AtEndDocument{%
\message{AED: lastpage setting LastPage}\MessageBreak%
\message{AED: lastpages setting LastPages}\MessageBreak%
\clearpage%
\lastpage@putlabel%
\lastpage@putlabels%
}%

\endinput
%%
%% End of file `lastpage.sty'.


--
Martin dot Muench at Uni-Bonn dot de

lastpage.zip
page.tex

Pluto

unread,
Feb 18, 2010, 7:41:54 AM2/18/10
to
On Feb 18, 10:57 am, Martin Muench <l...@signatu.re> wrote:
> Hi!
>
> I tried to contact the maintainer of the lastpage package, but got back:
>
> Failed to deliver to '<J.Goldb...@Cranfield.ac.uk>'
>  lastpage.zip
> 2KViewDownload
>
>  page.tex
> 2KViewDownload- Hide quoted text -
>
> - Show quoted text -

What is the problem? You haven't stated it. You shouldn't/can't name
your new package lastpage, even if it's an extension of lastpage. That
will cause confusion on CTAN, and I am sure CTAN will not allow that.

Martin Muench

unread,
Feb 18, 2010, 9:48:27 AM2/18/10
to

The problem is: I wanted to suggest an update for the lastpage package,
but was not able to contact its maintainer. I did not want to make a new
package, especially because this is no new package but an idea for a
change of the existing package. So: How can I contact Mr Goldberg?

Robin Fairbairns

unread,
Feb 18, 2010, 11:08:23 AM2/18/10
to
Martin Muench <lo...@signatu.re> writes:
>On 18.02.2010 13:41, Pluto wrote:
>> On Feb 18, 10:57 am, Martin Muench<l...@signatu.re> wrote:
>>> Hi!
>>>
>>> I tried to contact the maintainer of the lastpage package, but got back:
>>>
>>> Failed to deliver to '<J.Goldb...@Cranfield.ac.uk>'
>>> SMTP module(domain @131.220.15.113|cranfield.ac.uk) reports:
>>> host mailgate-7.central.cranfield.ac.uk says:
>>> 550 Unrouteable address
>>>
>>> Does anybody know his current address? Or current maintainer or can help
>>> in another way?

he left cranfield _ages_ ago.

i've sent him mail with the id of one of the posts in this thread (he
posted here rather recently, so we know he still has access to
usenet). se we await a response from him...
--
Robin Fairbairns, Cambridge

Philipp Stephani

unread,
Feb 18, 2010, 5:23:05 PM2/18/10
to
Martin Muench <lo...@signatu.re> writes:
> The problem is: I wanted to suggest an update for the lastpage
> package, but was not able to contact its maintainer. I did not want to
> make a new package, especially because this is no new package but an
> idea for a change of the existing package. So: How can I contact Mr
> Goldberg?

The lastpage package contains an important flaw (the label is inserted
at the wrong moment) and there are pleny of replacements available,
first and foremost zref-lastpage. I think you should rather try to
extend zref-lastpage instead of the slightly obsolete lastpage.

--
Change “LookInSig” to “tcalveu” to answer by mail.

Jeffrey Goldberg

unread,
Feb 18, 2010, 11:02:40 PM2/18/10
to

On 2010-02-18 4:57 AM, Martin Muench wrote:
> I tried to contact the maintainer of the lastpage package, but got back:
>
> Failed to deliver to '<J.Gol...@Cranfield.ac.uk>'
> SMTP module(domain @131.220.15.113|cranfield.ac.uk) reports:
> host mailgate-7.central.cranfield.ac.uk says:
> 550 Unrouteable address

Well, I guess they don't forward forever (I left in 2000), even if I did
help implement their forwarding system.

> Does anybody know his current address?

It's

jef...@goldmark.org

But I would love to pass on maintainership for both LastPage and
Endfloat to any willing takers. I've sort of fallen out of (La)TeX
development. Both packages were very earlier efforts that reflect some
of my limitations in understanding at the time. And since then whatever
understanding I had has seriously atrophied.


> please find below a proposal for an update of your lastpage package.
> In short: labels are added for pages where the page numbering changes
> (e.g. form roman to arabic) and a LastPages label, as to count the total
> number of pages (X pages Roman and 30 pages arabic lead to 40 pages in
> total, which the updated package is aware of).

I haven't looked at the package in more than 10 years, so I will just
take your word for it.

> It should be completely
> compatible with the use of the old version of the package. What do you
> think about this?

I have no objection to a fix that is completely compatible with the old
version. It is same to assume that nobody intentionally relied on the
incorrect behavior you described.

But ideally, I would like to surrender maintainership to anyone willing.
Since you have delved into the matter, I think that you would be a good
candidate if you are willing.

Cheers,

-j

--
Jeffrey Goldberg http://goldmark.org/jeff/
I rarely read HTML or poorly quoting posts
Reply-To address is valid

Robin Fairbairns

unread,
Feb 19, 2010, 6:54:29 AM2/19/10
to
Martin Muench <lo...@signatu.re> writes:
>The problem is: I wanted to suggest an update for the lastpage package,
>but was not able to contact its maintainer. I did not want to make a new
>package, especially because this is no new package but an idea for a
>change of the existing package. So: How can I contact Mr Goldberg?

i have been in contact with jeffrey g; he can't find the message on
google groups, so i've forwarded him a copy.

it's a bit unfortunate that there's no way of him contacting _you_,
afaict, since there's no signature on the post.

anyway, he may or may not post here; he said i could post his email
address but i'm not terribly keen.

my address is not hidden: if you mail me i'll respond with jeffrey's
current address.
--
Robin Fairbairns, Cambridge

Jeffrey Goldberg

unread,
Feb 19, 2010, 6:35:30 PM2/19/10
to
On 2010-02-19 5:54 AM, Robin Fairbairns wrote:

> i have been in contact with jeffrey g; he can't find the message on
> google groups, so i've forwarded him a copy.

Robin,

I've since found the thread here. When I got your email, the message
hadn't propagated to me. But I've since been able to respond to the
original request.

Thank you for your help with this and with all matters CTAN.

As I've previously posted, my email address is

jef...@goldmark.org

(For those who worry about such things, there is absolutely no evidence
that email addresses are harvested from the *bodies* of Usenet posts.
Even the Reply-To header is safe. But anything in a From header gets
hit hard within 36 hours of posting.)

Robin Fairbairns

unread,
Feb 20, 2010, 6:51:15 PM2/20/10
to
Jeffrey Goldberg <nob...@goldmark.org> writes:
>On 2010-02-19 5:54 AM, Robin Fairbairns wrote:
>
>> i have been in contact with jeffrey g; he can't find the message on
>> google groups, so i've forwarded him a copy.
>
>I've since found the thread here. When I got your email, the message
>hadn't propagated to me. But I've since been able to respond to the
>original request.

in the best traditions, your post arrived here just after i had posted
mine.

i've a vague recollection of a time, presumably back in the 80s, when
servers trusted that people's cancels would be for their own posts.
there are times when i wish innocence hadn't been so thoroughly lost...
--
Robin Fairbairns, Cambridge

0 new messages