Thanks,
Jim Hefferon
Saint Michael's College
........................................................................
The following information was provided by our fellow contributor:
Name of contribution: tufte-latex
Author's name: Kevin Godby
Location on CTAN: /
Summary description: A Tufte-inspired LaTeX class for producing handouts and papers
License type: apache2
Announcement text:
----------------------------------------------------------------------
A small bugfix update to the existing Tufte-LaTeX document classes.
----------------------------------------------------------------------
This package is located at
http://tug.ctan.org/tex-archive/macros/latex/contrib/tufte-latex
. More information is at
http://tug.ctan.org/pkg/tufte-latex
(if the package is new it may take a day for that information to
appear). We are supported by the TeX Users Group http://www.tug.org .
Please join a users group; see http://www.tug.org/usergroups.html .
Compiling sample-handout.tex
gives me lot of errors; here is my .log
Running `LaTeX' on `sample-handout' with ``pdflatex --synctex=1
--shell-escape -interaction=nonstopmode "\input" sample-handout.tex''
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) \write18
enabled. %&-line parsing enabled. entering extended mode LaTeX2e
<2005/12/01> Babel <v3.8l> and hyphenation patterns for english,
usenglishmax, dumylang, nohyphenation, german-x-2008-06-18,
ngerman-x-2008-06-18, ancientgreek, ibycus, arabic, basque, bulgarian,
catalan, pinyin, coptic, croatian, czech, danish, dutch, esperanto,
estonian, farsi, finnish, french, galician, german, ngerman, monogreek,
greek, hungarian, icelandic, indonesian, interlingua, irish, italian,
latin, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish,
portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian,
spanish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh,
loaded. (./sample-handout.tex (./tufte-handout.cls Document Class:
tufte-handout 2008/11/16 v2.0.1 Tufte-handout class
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.cls Document
Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2008/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2008/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2008/texmf-dist/tex/xelatex/xetexconfig/geometry.cfg
))
(/usr/local/texlive/2008/texmf-dist/tex/latex/ms/ragged2e.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/ms/everysel.sty))
(/usr/local/texlive/2008/texmf-dist/tex/latex/ltxmisc/chngpage.sty)
(/usr/local/texlive/2008/texmf-dist/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 }
(/usr/local/texlive/2008/texmf-dist/tex/latex/footmisc/footmisc.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/natbib/natbib.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/natbib/bibentry.sty) No
file sample-handout.bbl.
(/usr/local/texlive/2008/texmf-dist/tex/latex/placeins/placeins.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/caption/caption.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/caption/caption3.sty))
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/palatino.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/mathpazo.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2008/texmf-dist/tex/latex/bera/beramono.sty)
(/usr/local/texlive/2008/texmf-dist/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}
) (/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsmath.sty For
additional information on amsmath, use the `?' option.
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2008/texmf/tex/latex/config/graphics.cfg)
(/usr/local/texlive/2008/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/usr/local/texlive/2008/texmf-dist/tex/latex/mcaption/mcaption.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/ifthen.sty))
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/helvet.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/booktabs/booktabs.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/units/units.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/units/nicefrac.sty))
(/usr/local/texlive/2008/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and
firstline=lastline fix <2008/02/07> (tvz))
(/usr/local/texlive/2008/texmf-dist/tex/latex/tools/multicol.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/lipsum/lipsum.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/ltxmisc/url.sty) No file
sample-handout.aux.
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/t1pplj.fd)
*geometry auto-detecting driver* *geometry detected driver: pdftex*
(/usr/local/texlive/2008/texmf-dist/tex/context/base/supp-pdf.tex
[Loading MPS to PDF converter (version 2006.09.02).] )
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/ot1pplx.fd)
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/omlzplm.fd)
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/omszplm.fd)
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/omxzplm.fd)
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/ot1zplm.fd)
(/usr/local/texlive/2008/texmf-dist/tex/latex/bera/t1fvm.fd) Overfull
\hbox (19.0698pt too wide) in paragraph at lines 60--62 \T1/pplj/m/n/10
This style pro-vides \T1/pplj/m/sc/10/50ls a\T1/pplj/m/n/10 - and
\T1/pplj/m/sc/10/50ls b\T1/pplj/m/n/10 -heads (that is, [] and [])
LaTeX Warning: Reference `sec:defining-sections' on page 1 undefined on
input line 66.
Package natbib Warning: Citation `Bringhurst2005' undefined on input
line 68.
LaTeX Warning: Marginpar on page 1 moved.
Package natbib Warning: Citation `Tufte2006' undefined on input line 86.
[1{/usr/local/texlive/2008/texmf-var/fonts/map/pdftex/updmap/pdftex.map}
]
LaTeX Warning: Marginpar on page 2 moved.
Package natbib Warning: Citation `Tufte2006' undefined on input line
115.
Package natbib Warning: Citation `Tufte1990' undefined on input line
115.
Overfull \hbox (12.90648pt too wide) in paragraph at lines 114--119
\T1/pplj/m/n/10 use mul-ti-ple [] com-mands: [] [].
LaTeX Warning: Marginpar on page 2 moved.
LaTeX Warning: Reference `fig:marginfig' on page 2 undefined on input
line 130.
! LaTeX Error: File `helix' not found.
See the LaTeX manual or LaTeX Companion for explanation. Type H
<return> for immediate help. ...
l.132 ...udegraphics[width=\marginparwidth]{helix}
LaTeX Warning: Reference `fig:fullfig' on page 2 undefined on input line
146.
LaTeX Warning: Reference `fig:textfig' on page 2 undefined on input line
147.
! Undefined control sequence. <argument> -\@tufteh@overhang
l.150 \includegraphics {sine.pdf} ! Missing number, treated as zero.
<to be read again> \relax l.150 \includegraphics {sine.pdf} ! Illegal
unit of measure (pt inserted). <to be read again> \relax l.150
\includegraphics {sine.pdf}
LaTeX Warning: File `sine.pdf' not found on input line 150.
! Package pdftex.def Error: File `sine.pdf' not found.
See the pdftex.def package documentation for explanation. Type H
<return> for immediate help. ...
l.150 \includegraphics{sine.pdf}
LaTeX Warning: File `hilbertcurves.pdf' not found on input line 158.
! Package pdftex.def Error: File `hilbertcurves.pdf' not found.
See the pdftex.def package documentation for explanation. Type H
<return> for immediate help. ...
l.158 \includegraphics{hilbertcurves.pdf}
LaTeX Warning: Reference `tab:normaltab' on page 2 undefined on input
line 165.
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/t1ppl.fd) !
Undefined control sequence. <argument> \MakeTextLowercase {\@title }
l.193
[2] ! Undefined control sequence. <argument> \MakeTextLowercase {\@title
} l.193
[3] ! Undefined control sequence. <argument> \MakeTextLowercase {\@title
} l.193
[4] ! Undefined control sequence. <argument> -\@tufteh@overhang
l.200 \begin{fullwidth}
! Missing number, treated as zero. <to be read again> \relax l.200
\begin{fullwidth}
! Illegal unit of measure (pt inserted). <to be read again> \relax l.200
\begin{fullwidth}
! Undefined control sequence. <argument> \MakeTextUppercase {ALL CAPS}
l.215 When setting strings of \allcaps{ALL CAPS} or \smallcaps{small
caps}, the
! Undefined control sequence. <argument> \MakeTextLowercase {small caps}
l.215 ...lcaps{ALL CAPS} or \smallcaps{small caps} , the
Package natbib Warning: Citation `Bringhurst2005' undefined on input
line 217.
! Undefined control sequence. <argument> \MakeTextUppercase {FULL
CAPITAL LETTERS} l.218 strings of \allcaps{FULL CAPITAL LETTERS} , and
the \Verb|\smallcaps| c...
! Undefined control sequence. <argument> \MakeTextLowercase {small
capital letters} l.219 ...ing for \smallcaps{small capital letters} .
These commands ! Undefined control sequence. <argument>
\MakeTextLowercase {\@title } l.222
[5] ! Undefined control sequence. <argument> \MakeTextLowercase
{A4} l.236 ...will set the paper size to \smallcaps{A4} instead of !
Undefined control sequence. <argument> \MakeTextLowercase {US} l.237 the
default \smallcaps{US} letter size.
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/t1phv.fd)
LaTeX Warning: Reference `sec:headings' on page 6 undefined on input
line 258.
! Undefined control sequence. <argument> \MakeTextLowercase {\@title }
l.272 {\normalfont\itshape}% style
[6]
Package natbib Warning: Citation `Mittelbach2004' undefined on input
line 281.
Overfull \hbox (19.36719pt too wide) in paragraph at lines 285--288
\T1/pplj/m/n/10 To in-stall the [] class, sim-ply drop the []
LaTeX Font Warning: Font shape `OMS/pplj/m/n' undefined (Font)
using `OMS/cmsy/m/n' instead (Font) for symbol `textbullet'
on input line 299.
! Undefined control sequence. <argument> \MakeTextLowercase {svn} l.319
links to our \smallcaps{svn} repository, mailing lists, bug tracker,
a...
No file sample-handout.bbl.
Package natbib Warning: There were undefined citations.
! Undefined control sequence. <argument> \MakeTextLowercase {\@title }
l.330 \end{document}
[7] (./sample-handout.aux)
LaTeX Font Warning: Some font shapes were not available, defaults
substituted.
LaTeX Warning: There were undefined references.
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references
right.
) (see the transcript file for additional
information){/usr/local/texlive/2008/texmf-dist/fonts/enc/dvips/base/8r.
enc}</usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr10.pfb
></usr/local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmsy10.pfb><
/usr/local/texlive/2008/texmf-dist/fonts/type1/public/mathpazo/fplmri.pf
b></usr/local/texlive/2008/texmf-dist/fonts/type1/public/fpl/fplrc8a.pfb
></usr/local/texlive/2008/texmf-dist/fonts/type1/public/bera/fvmr8a.pfb>
</
usr/local/texlive/2008/texmf-dist/fonts/type1/urw/helvetic/uhvr8a.pfb></
usr/local/texlive/2008/texmf-dist/fonts/type1/urw/palatino/uplb8a.pfb></
usr/local/texlive/2008/texmf-dist/fonts/type1/urw/palatino/uplr8a.pfb></
usr/local/texlive/2008/texmf-dist/fonts/type1/urw/palatino/uplri8a.pfb>
Output written on sample-handout.pdf (7 pages, 96738 bytes). SyncTeX
written on sample-handout.synctex.gz Transcript written on
sample-handout.log.
LaTeX exited abnormally with code 1 at Tue Nov 18 21:00:11
What is wrong ?
Pacotomi
> Compiling sample-handout.tex
>
> gives me lot of errors; here is my .log
>
I tried the sample tex file that came with the bundle (I am using
MacTeX2008) and the only error that I got was:
! LaTeX Error: Command \footnotelayout already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.219 ...@tufteh@marginfont\@tufteh@justification}
?
However, if I ignore this error (which seems to be some definition in
the cls file), then the document compiles OK. This makes me wonder
where you installed your bundle. If you installed it somewhere where
tex looks for sources etc, then you need to update your filename
database (for example, use texhash in linux). It appears that tex
cannot find some of the graphics. This will be a problem if the
directory structure has been changed form the one provided in the
bundle and the appropriate change has not been made in the source code
of the ample file.
To see if the sample file can compile at all on your system without
any changes, download a new instance of the bundle of files and unpack
on your desktop. Now move the pdf file that is already in the package
to somewhere else and try to compile the sample tex file. If this
works, it will mean that you need to install the package properly.
Good luck. Regards,
Tariq
> On Nov 18, 3:11 pm, pacot...@orange.fr (pacotomi) wrote:
>
> > Compiling sample-handout.tex
> >
> > gives me lot of errors; here is my .log
> >
>
> To see if the sample file can compile at all on your system without
> any changes, download a new instance of the bundle of files
done
>and unpack
> on your desktop.
done
>Now move the pdf file that is already in the package
> to somewhere else
the trash
>and try to compile the sample tex file.
done
>If this
> works,
no, same errors
>it will mean that you need to install the package properly.
Do we speak of the same thing ? Do you try to compile the last
sample-handout with the last tufte-handout-class (2008/11/16 v2.0.1
Tufte-handout class)?
I get :
%%%%%%%%%%%%%%%%%%%%%%%
! 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 }
%%%%%%%%%%%%%%%%%%%%%
I do not understand the following lines of tufte-handout class :
\RequirePackage{letterspace}
% Set up letterspacing (using microtype package) -- requires pdfTeX
v1.40+
\renewcommand{\smallcapsspacing}[1]{\textls[50]{##1}}
\renewcommand{\allcaps}[1]{\textls[200]{\MakeTextUppercase{##1}}}
\renewcommand{\smallcaps}[1]{\textsc{\MakeTextLowercase{##1}}}
}{% microtype failed, check for soul
because I don't see where \smallcapsspacing and others are defined.
Sincerely
Pacotomi
> Do we speak of the same thing ? Do you try to compile the last
> sample-handout with the last tufte-handout-class (2008/11/16 v2.0.1
> Tufte-handout class)?
Perhaps we are not speaking of the same thing. I have only one source
file: sample-handout.tex. What is the name of the source file you are
compiling? It is possible that I ended up downloading an older version
of the package. I'll try to get the newest version and then try it.
Tartiq
I just downloaded the package again and I see the same source file:
sample-handout.tex. On the ctan site:
http://tug.ctan.org/tex-archive/macros/latex/contrib/tufte-latex/
I see the same source file.
Tariq