hand out won't build

272 views
Skip to first unread message

kingshizzle

unread,
Nov 8, 2008, 11:34:54 PM11/8/08
to tufte-latex
After running the miktex update wizard, the hand-out no longer builds
for pdf, ps or dvi.
The first error I see is:
Latex Error: \smallcapsspacing undefined.

Many others follow.

I tested this just before updating and it worked fine. Changing
nothing except running the miktex update wizard caused the problem to
appear.

Any ideas?

Kevin Godby

unread,
Nov 9, 2008, 12:01:13 AM11/9/08
to tufte...@googlegroups.com
'allo.

I'm guessing that one of the updated MikTeX packages may have changed
things. Can you try to run the following document through:

\documentclass{tufte-handout}
\title{Quick Test}
\author{Kevin}
\begin{document}
\maketitle
\listfiles
\end{document}

and send me the .log file? If any errors pop up, just keep pressing
[Enter] until it finally gives up.

Thanks!

--Kevin Godby <god...@gmail.com>

kingshizzle

unread,
Nov 9, 2008, 12:42:59 AM11/9/08
to tufte-latex
Hi Kevin -- Here's the output you requested:

This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
entering extended mode
(test.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french,
loaded.
(tufte-handout.cls
Document Class: tufte-handout 2008/06/06 v2.0.0 Tufte-handout class
("H:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("H:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"))
("H:\Program Files\MiKTeX 2.7\tex\latex\geometry\geometry.sty"
("H:\Program Files\MiKTeX 2.7\tex\latex\graphics\keyval.sty")
("H:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\ifpdf.sty")
("H:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\ifvtex.sty")
("H:\Program Files\MiKTeX 2.7\tex\latex\geometry\geometry.cfg"))
("H:\Program Files\MiKTeX 2.7\tex\latex\ms\ragged2e.sty"
("H:\Program Files\MiKTeX 2.7\tex\latex\ms\everysel.sty"))
("H:\Program Files\MiKTeX 2.7\tex\latex\ltxmisc\chngpage.sty")
("H:\Program Files\MiKTeX 2.7\tex\latex\microtype\letterspace.sty")

! LaTeX Error: \smallcapsspacing undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.268 }

?
! LaTeX Error: \allcaps undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.268 }

?
! LaTeX Error: \smallcaps undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.268 }

? ("H:\Program Files\MiKTeX 2.7\tex\latex\footmisc\footmisc.sty")
("H:\Program Files\MiKTeX 2.7\tex\latex\natbib\natbib.sty")
("H:\Program Files\MiKTeX 2.7\tex\latex\natbib\bibentry.sty")
(test.bbl)
("H:\Program Files\MiKTeX 2.7\tex\latex\placeins\placeins.sty")
("H:\Program Files\MiKTeX 2.7\tex\latex\caption\caption.sty"
("H:\Program Files\MiKTeX 2.7\tex\latex\caption\caption3.sty"))
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\palatino.sty")
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\mathpazo.sty")
("H:\Program Files\MiKTeX 2.7\tex\latex\base\fontenc.sty"
("H:\Program Files\MiKTeX 2.7\tex\latex\base\t1enc.def"))
("H:\Program Files\MiKTeX 2.7\tex\latex\bera\beramono.sty")
("H:\Program Files\MiKTeX 2.7\tex\latex\fancyhdr\fancyhdr.sty")
! Undefined control sequence.
<argument> \@tufteh@overhang

l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Missing number, treated as zero.
<to be read again>
\relax
l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Undefined control sequence.
<argument> \@tufteh@overhang

l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Missing number, treated as zero.
<to be read again>
\relax
l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Undefined control sequence.
<argument> \@tufteh@overhang

l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Missing number, treated as zero.
<to be read again>
\relax
l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Undefined control sequence.
<argument> \@tufteh@overhang

l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Missing number, treated as zero.
<to be read again>
\relax
l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.502 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

? ) (test.aux) ("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss
\t1pplj.fd")
*geometry auto-detecting driver*
*geometry detected driver: pdftex*
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1pplx.fd")
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omlzplm.fd")
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omszplm.fd")
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omxzplm.fd")
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1zplm.fd")

! LaTeX Error: Can be used only in preamble.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.6 \listfiles

?
Package bibentry Warning: You have used \nobibliography*
(bibentry) without a following \bibliography.
(bibentry) You may not be able to run BibTeX.

[1{H:/Documents and Settings/All Users/Application Data/MiKTeX/2.7/
pdftex/confi
g/pdftex.map}] (test.aux) ){H:/Program Files/MiKTeX 2.7/fonts/enc/
dvips/fontnam
e/8r.enc}<H:/Program Files/MiKTeX 2.7/fonts/type1/public/fpl/
fplrc8a.pfb><H:/Pr
ogram Files/MiKTeX 2.7/fonts/type1/urw/palatino/uplr8a.pfb>
Output written on test.pdf (1 page, 17581 bytes).
Transcript written on test.log.

kingshizzle

unread,
Nov 9, 2008, 12:45:33 AM11/9/08
to tufte-latex
Sorry, that was console output. Here's the log file:

This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded
format=pdflatex 2008.11.8) 8 NOV 2008 21:41
entering extended mode
**test.tex
(test.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french,
loaded.
(tufte-handout.cls
Document Class: tufte-handout 2008/06/06 v2.0.0 Tufte-handout class
("H:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("H:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("H:\Program Files\MiKTeX 2.7\tex\latex\geometry\geometry.sty"
("H:\Program Files\MiKTeX 2.7\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
("H:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2007/12/12 v1.6 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode detected.
)
("H:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\ifvtex.sty"
Package: ifvtex 2007/09/09 v1.3 Switches for detecting VTeX and its
modes (HO)
Package ifvtex Info: VTeX not detected.
)
\Gm@cnth=\count87
\Gm@cntv=\count88
\c@Gm@tempcnt=\count89
\Gm@bindingoffset=\dimen103
\Gm@wd@mp=\dimen104
\Gm@odd@mp=\dimen105
\Gm@even@mp=\dimen106
\Gm@dimlist=\toks15

("H:\Program Files\MiKTeX 2.7\tex\latex\geometry\geometry.cfg"))
("H:\Program Files\MiKTeX 2.7\tex\latex\ms\ragged2e.sty"
Package: ragged2e 2003/03/25 v2.04 ragged2e Package (MS)

("H:\Program Files\MiKTeX 2.7\tex\latex\ms\everysel.sty"
Package: everysel 1999/06/08 v1.03 EverySelectfont Package (MS)
)
\CenteringLeftskip=\skip43
\RaggedLeftLeftskip=\skip44
\RaggedRightLeftskip=\skip45
\CenteringRightskip=\skip46
\RaggedLeftRightskip=\skip47
\RaggedRightRightskip=\skip48
\CenteringParfillskip=\skip49
\RaggedLeftParfillskip=\skip50
\RaggedRightParfillskip=\skip51
\JustifyingParfillskip=\skip52
\CenteringParindent=\skip53
\RaggedLeftParindent=\skip54
\RaggedRightParindent=\skip55
\JustifyingParindent=\skip56
)
("H:\Program Files\MiKTeX 2.7\tex\latex\ltxmisc\chngpage.sty"
Package: chngpage 2003/08/10 v1.2 change page layout
\c@cp@cnt=\count90
\c@cp@tempcnt=\count91
)
Package tufte-handout Info: Modern version of pdfTeX detected. Using
`letterspa
ce' package. on input line 268.

("H:\Program Files\MiKTeX 2.7\tex\latex\microtype\letterspace.sty"
Package: letterspace 2008/06/04 v2.3b Robust letterspacing (RS)
LaTeX Info: Redefining \lsstyle on input line 270.
LaTeX Info: Redefining \lslig on input line 271.
LaTeX Info: Redefining \textls on input line 289.
\MT@outer@kern=\dimen107
)

! LaTeX Error: \smallcapsspacing undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.268 }

?

! LaTeX Error: \allcaps undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.268 }

?

! LaTeX Error: \smallcaps undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.268 }

?
("H:\Program Files\MiKTeX 2.7\tex\latex\footmisc\footmisc.sty"
Package: footmisc 2007/06/12 v5.4a a miscellany of footnote facilities
\FN@temptoken=\toks16
\footnotemargin=\dimen108
\c@pp@next@reset=\count92
Package footmisc Info: Declaring symbol style bringhurst on input line
910.
Package footmisc Info: Declaring symbol style chicago on input line
918.
Package footmisc Info: Declaring symbol style wiley on input line 927.
Package footmisc Info: Declaring symbol style lamport-robust on input
line 938.

Package footmisc Info: Declaring symbol style lamport* on input line
958.
Package footmisc Info: Declaring symbol style lamport*-robust on input
line 979
.
)
("H:\Program Files\MiKTeX 2.7\tex\latex\natbib\natbib.sty"
Package: natbib 2007/10/30 8.1 (PWD)
\bibhang=\skip57
\bibsep=\skip58
LaTeX Info: Redefining \cite on input line 602.
\c@NAT@ctr=\count93
)
("H:\Program Files\MiKTeX 2.7\tex\latex\natbib\bibentry.sty"
Package: bibentry 2007/10/30 1.5 (PWD)
) (test.bbl)
("H:\Program Files\MiKTeX 2.7\tex\latex\placeins\placeins.sty"
Package: placeins 2005/04/18 v 2.2
)
\@tufteh@marginfigbox=\box26
\@tufteh@margintablebox=\box27

("H:\Program Files\MiKTeX 2.7\tex\latex\caption\caption.sty"
Package: caption 2008/08/24 v3.1j Customizing captions (AR)

("H:\Program Files\MiKTeX 2.7\tex\latex\caption\caption3.sty"
Package: caption3 2008/08/24 v3.1j caption3 kernel (AR)
\captionmargin=\dimen109
\captionmargin@=\dimen110
\captionwidth=\dimen111
\caption@indent=\dimen112
\caption@parindent=\dimen113
\caption@hangindent=\dimen114
)
\c@ContinuedFloat=\count94
)
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\palatino.sty"
Package: palatino 2005/04/12 PSNFSS-v9.2a (SPQR)
)
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\mathpazo.sty"
Package: mathpazo 2005/04/12 PSNFSS-v9.2a Palatino w/ Pazo Math
(D.Puga, WaS)
\symupright=\mathgroup4
)
("H:\Program Files\MiKTeX 2.7\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

("H:\Program Files\MiKTeX 2.7\tex\latex\base\t1enc.def"
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
))
("H:\Program Files\MiKTeX 2.7\tex\latex\bera\beramono.sty"
Package: beramono 2004/01/31 (WaS)
)
("H:\Program Files\MiKTeX 2.7\tex\latex\fancyhdr\fancyhdr.sty"
\fancy@headwidth=\skip59
\f@ncyO@elh=\skip60
\f@ncyO@erh=\skip61
\f@ncyO@olh=\skip62
\f@ncyO@orh=\skip63
\f@ncyO@elf=\skip64
\f@ncyO@erf=\skip65
\f@ncyO@olf=\skip66
\f@ncyO@orf=\skip67
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line
4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line
4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line
4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Try loading font information for T1+pplj on input
line 4.
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\t1pplj.fd"
File: t1pplj.fd 2004/09/06 font definitions for T1/pplj.
)
*geometry auto-detecting driver*
*geometry detected driver: pdftex*
-------------------- Geometry parameters
paper: letterpaper
landscape: --
twocolumn: --
twoside: true
asymmetric: true
h-parts: 57.81598pt, 469.75499pt, 86.72403pt
v-parts: 95.39737pt, 0.7\paperheight , 143.09605pt (default)
hmarginratio: 2:3
vmarginratio: 2:3
lines: --
heightrounded: --
bindingoffset: 0.0pt
truedimen: --
includehead: --
includefoot: --
includemp: true
driver: pdftex
-------------------- Page layout dimensions and switches
\paperwidth 614.295pt
\paperheight 794.96999pt
\textwidth 298.11375pt
\textheight 556.47656pt
\oddsidemargin -14.45401pt
\evensidemargin -14.45401pt
\topmargin -13.87262pt
\headheight 12.0pt
\headsep 25.0pt
\footskip 30.0pt
\marginparwidth 144.54pt
\marginparsep 27.10124pt
\columnsep 10.0pt
\skip\footins 9.0pt plus 4.0pt minus 2.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000
\@twosidetrue
(1in=72.27pt, 1cm=28.45pt)
-----------------------
LaTeX Info: Redefining \selectfont on input line 4.
Package caption Info: Begin \AtBeginDocument code.
Package caption Info: End \AtBeginDocument code.
\big@size=\dimen115
LaTeX Font Info: Try loading font information for OT1+pplx on input
line 5.
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1pplx.fd"
File: ot1pplx.fd 2004/09/06 font definitions for OT1/pplx.
)
LaTeX Font Info: Try loading font information for OML+zplm on input
line 5.

("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omlzplm.fd"
File: omlzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OML/
zplm.
)
LaTeX Font Info: Try loading font information for OMS+zplm on input
line 5.

("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omszplm.fd"
File: omszplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMS/
zplm.
)
LaTeX Font Info: Try loading font information for OMX+zplm on input
line 5.

("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omxzplm.fd"
File: omxzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMX/
zplm.
)
LaTeX Font Info: Try loading font information for OT1+zplm on input
line 5.

("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1zplm.fd"
File: ot1zplm.fd 2002/09/08 Fontinst v1.914 font definitions for OT1/
zplm.
)

! LaTeX Error: Can be used only in preamble.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.6 \listfiles

?

Package bibentry Warning: You have used \nobibliography*
(bibentry) without a following \bibliography.
(bibentry) You may not be able to run BibTeX.

[1

{H:/Documents and Settings/All Users/Application Data/MiKTeX/2.7/
pdftex/config/
pdftex.map}] (test.aux) )
Here is how much of TeX's memory you used:
2714 strings out of 95304
38290 string characters out of 1183032
105832 words of memory out of 1500000
5899 multiletter control sequences out of 110000
20897 words of font info for 42 fonts, out of 1200000 for 2000
14 hyphenation exceptions out of 8191
43i,10n,45p,228b,273s stack positions out of 5000i,500n,10000p,
200000b,5000s
{H:/Program Files/MiKTeX 2.7/fonts/enc/dvips/fontname/
8r.enc}<H:/Program Files/MiKTeX 2.7/fonts/type1/public/fpl/
fplrc8a.pfb><H:/Prog
ram Files/MiKTeX 2.7/fonts/type1/urw/palatino/uplr8a.pfb>
Output written on test.pdf (1 page, 17581 bytes).
PDF statistics:
15 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 131072)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

Kevin Godby

unread,
Nov 9, 2008, 12:56:46 AM11/9/08
to tufte...@googlegroups.com
Hmm.. let's give this a try.

Open up your copy of tufte-handout.cls and look at lines 262--264.
They should look like this:

\renewcommand{\smallcapsspacing}[1]{\textls[50]{##1}}
\renewcommand{\allcaps}[1]{\textls[200]{\MakeTextUppercase{##1}}}
\renewcommand{\smallcaps}[1]{\textsc{\MakeTextLowercase{##1}}}

Change the \renewcommands to \newcommands:

\newcommand{\smallcapsspacing}[1]{\textls[50]{##1}}
\newcommand{\allcaps}[1]{\textls[200]{\MakeTextUppercase{##1}}}
\newcommand{\smallcaps}[1]{\textsc{\MakeTextLowercase{##1}}}

And then see if the test document (and your own document) work.

Which are you trying to generate: a PDF, a PS, or a DVI file?

--Kevin

kingshizzle

unread,
Nov 9, 2008, 1:10:45 AM11/9/08
to tufte-latex
New log attached with your change. Still barfing. I'm trying to
create pdf.
This problem is happening on two different up-to-date installations of
MikTex.
Thanks for the help though. Let me know if I can try something else.

This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded
format=pdflatex 2008.11.8) 8 NOV 2008 22:07
ce' package. on input line 279.

("H:\Program Files\MiKTeX 2.7\tex\latex\microtype\letterspace.sty"
Package: letterspace 2008/06/04 v2.3b Robust letterspacing (RS)
LaTeX Info: Redefining \lsstyle on input line 270.
LaTeX Info: Redefining \lslig on input line 271.
LaTeX Info: Redefining \textls on input line 289.
\MT@outer@kern=\dimen107
)
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Undefined control sequence.
<argument> \@tufteh@overhang

l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Undefined control sequence.
<argument> \@tufteh@overhang

l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Undefined control sequence.
<argument> \@tufteh@overhang

l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

?
! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

Kevin Godby

unread,
Nov 9, 2008, 1:20:01 AM11/9/08
to tufte...@googlegroups.com
In the test file I had you create, move the \listfiles line to the
preamble (before the \begin{document} line) and then add some dummy
text to the body of the document.


\documentclass{tufte-handout}
\title{Quick Test}
\author{Kevin}

\listfiles
\begin{document}
\maketitle
Hello, world!
\end{document}


The \listfiles command should dump a list of all the TeX files (and
their versions) to your .log file. I'd like to look at those to
compare the versions of the files you have with mine. (My LaTeX
installation is a little behind, I think.)

Thanks for your help in tracking down this bug.

--Kevin Godby

kingshizzle

unread,
Nov 9, 2008, 1:30:57 AM11/9/08
to tufte-latex
Right. Here you go:
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded
format=pdflatex 2008.11.8) 8 NOV 2008 22:29
entering extended mode
**H:/Documents*and*Settings/srking/My*Documents/latex*stuff/tufte/
test.tex
("H:/Documents and Settings/srking/My Documents/latex stuff/tufte/
test.tex"
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Undefined control sequence.
<argument> \@tufteh@overhang

l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Undefined control sequence.
<argument> \@tufteh@overhang

l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Undefined control sequence.
<argument> \@tufteh@overhang

l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again>
\relax
l.513 \fancyhfoffset[RE,RO]{\@tufteh@overhang}

Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

) (test.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line
5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line
5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line
5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Try loading font information for T1+pplj on input
line 5.
LaTeX Info: Redefining \selectfont on input line 5.
Package caption Info: Begin \AtBeginDocument code.
Package caption Info: End \AtBeginDocument code.
\big@size=\dimen115
LaTeX Font Info: Try loading font information for OT1+pplx on input
line 6.
("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1pplx.fd"
File: ot1pplx.fd 2004/09/06 font definitions for OT1/pplx.
)
LaTeX Font Info: Try loading font information for OML+zplm on input
line 6.

("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omlzplm.fd"
File: omlzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OML/
zplm.
)
LaTeX Font Info: Try loading font information for OMS+zplm on input
line 6.

("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omszplm.fd"
File: omszplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMS/
zplm.
)
LaTeX Font Info: Try loading font information for OMX+zplm on input
line 6.

("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omxzplm.fd"
File: omxzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMX/
zplm.
)
LaTeX Font Info: Try loading font information for OT1+zplm on input
line 6.

("H:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1zplm.fd"
File: ot1zplm.fd 2002/09/08 Fontinst v1.914 font definitions for OT1/
zplm.
)

Package bibentry Warning: You have used \nobibliography*
(bibentry) without a following \bibliography.
(bibentry) You may not be able to run BibTeX.

[1

{H:/Documents and Settings/All Users/Application Data/MiKTeX/2.7/
pdftex/config/
pdftex.map}] (test.aux)

*File List*
tufte-handout.cls 2008/06/06 v2.0.0 Tufte-handout class
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
geometry.sty
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
ifpdf.sty 2007/12/12 v1.6 Provides the ifpdf switch (HO)
ifvtex.sty 2007/09/09 v1.3 Switches for detecting VTeX and its
modes (HO)
geometry.cfg
ragged2e.sty 2003/03/25 v2.04 ragged2e Package (MS)
everysel.sty 1999/06/08 v1.03 EverySelectfont Package (MS)
chngpage.sty 2003/08/10 v1.2 change page layout
letterspace.sty 2008/06/04 v2.3b Robust letterspacing (RS)
footmisc.sty 2007/06/12 v5.4a a miscellany of footnote facilities
natbib.sty 2007/10/30 8.1 (PWD)
bibentry.sty 2007/10/30 1.5 (PWD)
test.bbl
placeins.sty 2005/04/18 v 2.2
caption.sty 2008/08/24 v3.1j Customizing captions (AR)
caption3.sty 2008/08/24 v3.1j caption3 kernel (AR)
palatino.sty 2005/04/12 PSNFSS-v9.2a (SPQR)
mathpazo.sty 2005/04/12 PSNFSS-v9.2a Palatino w/ Pazo Math (D.Puga,
WaS)
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
beramono.sty 2004/01/31 (WaS)
fancyhdr.sty
t1pplj.fd 2004/09/06 font definitions for T1/pplj.
ot1pplx.fd 2004/09/06 font definitions for OT1/pplx.
omlzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OML/
zplm.
omszplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMS/
zplm.
omxzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMX/
zplm.
ot1zplm.fd 2002/09/08 Fontinst v1.914 font definitions for OT1/
zplm.
***********

)
Here is how much of TeX's memory you used:
2717 strings out of 95304
38510 string characters out of 1183032
105832 words of memory out of 1500000
5901 multiletter control sequences out of 110000
20897 words of font info for 42 fonts, out of 1200000 for 2000
14 hyphenation exceptions out of 8191
43i,10n,45p,292b,273s stack positions out of 5000i,500n,10000p,
200000b,5000s
{H:/Program Files/MiKTeX 2.7/fonts/enc/dvips/fontname/8r.enc}<H:/
Program File
s/MiKTeX 2.7/fonts/type1/public/fpl/fplrc8a.pfb><H:/Program Files/
MiKTeX 2.7/fo
nts/type1/urw/palatino/uplr8a.pfb>
Output written on test.pdf (1 page, 18748 bytes).

Kevin Godby

unread,
Nov 9, 2008, 2:41:16 AM11/9/08
to tufte...@googlegroups.com
Hello.

I guess I'm confused as to what it's complaining about. It appears to
be saying that \@tufteh@overhang is an invalid length (and hasn't been
defined), but \@tufteh@overhang is created (and set) on lines
129--131.

I looked at your package versions and only a few of them were newer
than mine. And of those, I don't see how any of them would affect
\@tufteh@overhang. The `fancyhdr' package is the same version as I
have, so I don't think it's a problem with the \fancyhfoffset{}
command.

I'll have to install MikTeX and play with it a bit to try to figure it out.

--Kevin

kingshizzle

unread,
Nov 9, 2008, 12:52:51 PM11/9/08
to tufte-latex
BTW, I pulled that update from tug.ctan.org.

kingshizzle

unread,
Nov 10, 2008, 11:15:17 AM11/10/08
to tufte-latex
New MikTex update this morning made the problem go away.

Kevin Godby

unread,
Nov 10, 2008, 3:56:33 PM11/10/08
to tufte...@googlegroups.com
'allo.

On Mon, Nov 10, 2008 at 10:15 AM, kingshizzle <kings...@gmail.com> wrote:
>
> New MikTex update this morning made the problem go away.

Ah, that's good to hear. I was short on ideas! :-)

--Kevin

kingshizzle

unread,
Nov 11, 2008, 12:28:23 AM11/11/08
to tufte-latex
Ugh.. Looks like it does still fail. Sorry for the false hope.
TexNicCenter didn't flag the error red when I specify the -c-style-
errors option so I missed it. The first error from test.log (your
small test sample) file:

tufte-handout.cls:513: Undefined control sequence
The control sequence at the end of the top line
of your error message was never \def'ed.

As a sanity check, I tried building the IEEE testflow example. It
builds fine without errors in the log file.

Kevin Godby

unread,
Nov 11, 2008, 12:37:51 AM11/11/08
to tufte...@googlegroups.com

This seems really odd to me. The \@tufteh@overflow length that it's
saying is undefined is defined in tufte-handout.cls on lines 191--131:

% Compute length used for full-width displays

\newlength{\@tufteh@overhang}
\setlength{\@tufteh@overhang}{\marginparwidth}
\addtolength{\@tufteh@overhang}{\marginparsep}

Can you double-check that those lines appear in your tufte-handout.cls file?

Thanks.

--Kevin

kingshizzle

unread,
Nov 11, 2008, 1:00:13 AM11/11/08
to tufte-latex
Hi Kevin -- Yes they're there. My .cls file is a cut and paste from
the SVN trunk version.
When this happens in code, it's often the fault of a innocent looking
but bad macro in the preceding statement. In this case, that's the
xetex lines. I tried commenting these out and the error moved to 513:
Undefined control sequence. Not sure if that helps or not.

kingshizzle

unread,
Nov 11, 2008, 1:03:35 AM11/11/08
to tufte-latex
Oops. line 513 is the same error. sorry.

Kevin Godby

unread,
Nov 11, 2008, 4:13:45 AM11/11/08
to tufte...@googlegroups.com
I installed MikTeX and compiled sample-handout.tex (with
tufte-handout.cls from SVN) and it compiled okay. I'm not seeing the
errors you're reporting.

It sounds like it may be a problem with your system or its
configuration -- but didn't you say you had the same problem on
multiple systems?

--Kevin

kingshizzle

unread,
Nov 11, 2008, 11:42:03 AM11/11/08
to tufte-latex
Yes, mine fails on two very different windows XP machines.
Did you run the miktex update wizard?

Kevin Godby

unread,
Nov 11, 2008, 3:11:43 PM11/11/08
to tufte...@googlegroups.com
On Tue, Nov 11, 2008 at 10:42 AM, kingshizzle <kings...@gmail.com> wrote:
>
> Yes, mine fails on two very different windows XP machines.
> Did you run the miktex update wizard?

Ah, no I hadn't ran the update wizard yet. I just did and now I'm
seeing the same errors that you saw.

That's really weird!

Okay, let me poke around a bit on my end and see if I can figure something out.

Thanks for your patience!

--Kevin

Kevin Godby

unread,
Nov 11, 2008, 5:42:04 PM11/11/08
to tufte...@googlegroups.com
Okay, I think I may have found the problem.

In the tufte-handout.cls file, comment out lines 115, and 123. Line
115 is: \newif\ifpdf\pdffalse. Line 123 is \newif\ifxetex\xetexfalse.
Then see if the sample-handout.tex file compiles okay.

If that doesn't do it, then it may have been something else I tweaked,
but I did get it to compile okay here.

--Kevin

kingshizzle

unread,
Nov 12, 2008, 1:02:58 AM11/12/08
to tufte-latex
Yes! That seems to fix it.
Thanks for all your help on this!

Kevin Godby

unread,
Nov 12, 2008, 1:42:47 AM11/12/08
to tufte...@googlegroups.com
On Wed, Nov 12, 2008 at 12:02 AM, kingshizzle <kings...@gmail.com> wrote:
>
> Yes! That seems to fix it.
> Thanks for all your help on this!

Thank goodness! I was quickly running out of ideas!

I'll rewrite those lines in the next version and test them on MikTeX
before I upload it again.

Thanks again for the bug report.

--Kevin

Reply all
Reply to author
Forward
0 new messages