[Tugindia] latex error with old file

David Kastrup tugindia@tug.org
06 Nov 2002 11:42:13 +0100

Sivaram Neelakantan <sivaram.neelakandan@wipro.com> writes:

> I installed the latest cygwin based tetex dist. on my m/c and now one
> of my latex files is giving errors.
> \documentclass[a4paper,12pt,headsepline]{scrartcl}
> \usepackage{color}
> \usepackage{tabularx}
> \usepackage{fancyhdr}
> \usepackage{floatflt}
> \usepackage{fancyvrb}
> \usepackage{framed}
> \usepackage{indentfirst}
> \usepackage[pdftex]{graphicx}
> \usepackage[pdftex,....]{hyperref}

.... is not a valid hyperref option.

> \renewcommand{\headheight}{60pt} %% must be large enough for graphic
> \renewcommand{\textheight}{540pt}

\headheight and \textheight are not macros, but lengths.  You set
them with \setlength, not \renewcommand.

> And when I look at the generated pdf, the headrule has "60pt"in
> letters next to the left header.  This file came out properly with the
> 2000/2001?  version of cygwin tetex but now it's not.

This would not have worked with any version of LaTeX, ever.

David Kastrup, Kriemhildstr. 15, 44793 Bochum