[OS X TeX] LastPage Reference

Roussanka Loukanova rloukano at stp.lingfil.uu.se
Fri Mar 9 17:53:13 CET 2007

On Thu, 8 Mar 2007, Maurino Bautista wrote:

> Thanks to the enlightening discussion by Roussanka and Herb. However,
> it does not solve my problem and I assume the reason is that I am not
> using the latest version 2.10Beta. I am still at 2.09 using teTeX with
> I-installer. I run Roussanka's modification with the switches  several
> times to get the required passes and I still get an error. When I find
> the time and courage and understand all the implications of the new
> versions (not having duplicates, access to my templates and macros,
> style files I have installed manually), I will upgrade to the latest
> version.

If I were you, I would do what I've done: get the time (which will 
certainly repay in time), collect courage (not much needed) and upgrade as 
soon as possible, at least, to gwTeX.

I'm not completely, but am pretty sure that with the official 
MacTeX-2007 package you can skip over TeXLive-07 (if you do not have time 
for it now) during the very first steps of instillation: you will click 
a button on the left hand side [Customized Instillation] and then 
deselect what you do not want. (Then the following step was somewhat 
confusing, but just go on). The installation takes just few minutes.

Then, you can use
System Preferences -> Other [Tex Distr] button&palette

for switching between your current teTeX and the newest gwTeX.

You can download also gwTeX directly with i-Installer, as you have been 
doing with teTeX.

The above is only my recollection of what I've been doing. But I think 
people on the list wrote about this very clearly. Look through the latest 
emails by Richard Koch with announcements for the official release of 
MacTeX-2007; and also by Bruno Voisin, from Feb-Mar (as I recall, he 
explained all these things in great and clear details).

I hope, I'm not giving you troubles by encouraging you. Have in mind we 
come to this list to get help on problems, but this, certainly, does not 
mean that the life is a basket of problems. It means that we have where 
to turn for advises, help, etc.


> If anyone cares to look at the log file for a possible fix, I
> have pasted the console log:
> ***********
> This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
> \write18 enabled.
> entering extended mode
> (./lastpagetest.tex
> LaTeX2e <2003/12/01>
> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, 
> d
> utch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded.
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
> Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size12.clo))
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/lm/lmodern.sty)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/fontenc.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/t1enc.def))
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/inputenc.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/latin9.def))
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/textcomp.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/ts1enc.def))
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/url/url.sty)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/hyperref/hyperref.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/hyperref/pd1enc.def)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/hyperref/hyperref.cfg)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/hyperref/puenc.def)
> Implicit mode ON; LaTeX internals redefined
> )
> *hyperref using default driver hpdftex*
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/hyperref/hpdftex.def
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/psnfss/pifont.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/psnfss/upzd.fd)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/psnfss/upsy.fd)))
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/fancyhdr/fancyhdr.sty)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/lastpage/lastpage.sty)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/ifthen.sty)
> (./lastpagetest.aux)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/ts1cmr.fd)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/lm/t1lmr.fd)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.cfg)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/pdftex.def
> (/usr/local/teTeX/share/texmf.tetex/tex/context/base/supp-pdf.tex
> (/usr/local/teTeX/share/texmf.tetex/tex/context/base/supp-mis.tex
> ! Missing number, treated as zero.
> <to be read again>
>                  \protect
> l.52 \newpage
> ? ng : Context Support Macros / PDF (2004.03.26)
> ))) (/usr/local/teTeX/share/texmf.tetex/tex/latex/hyperref/nameref.sty)
> (./lastpagetest.out) (./lastpagetest.out)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/lm/t1lmtt.fd)
> Overfull \hbox (35.67502pt too wide) in paragraph at lines 45--46
> [][][]$\T1/lmtt/m/n/12 http : / / www . washingtonpost . com / wp-[]dyn / 
> conte
> nt / artsandliving / movies /
> ! Missing number, treated as zero.
> <to be read again>
>                  \protect
> l.52 \newpage
> ?
> ***************
> Thanks in advance.

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the macostex-archives mailing list