[OS X TeX] Problem with fancyhdr on OSX

Ross Moore ross at maths.mq.edu.au
Fri Jun 18 19:41:10 EDT 2004


On 19/06/2004, at 5:20 AM, Richard Burton wrote:
>
> This works perfectly on my PC at work (basic miktex installation); 
> however,
> when I use the same code on my OSX machine at home (basic i-installer
> installation) it fails and generates the following error.
>
> 	(usr/local/teTeX/share/texmf.tetex/tex/latex/fancyhdr/fancyhdr.sty)
> 	!Undefined control sequence.
> 	l.68 \fancyhfoffset[L]{\marginparsep+\marginparwidth}


Doubtless there are different versions in the MikTeX distribution
and what you have on the Mac...

>
> Now, if I comment out the \fancyhfoffset line, it compiles fine. I have
> tried substituting different measurements and using \fancyheadoffset
> instead, but they also all fail.

  ... I have

% fancyhdr.sty version 2.0
% Fancy headers and footers for LaTeX.
% Piet van Oostrum,

% Oct 11, 2000
% version 2.0
% Added LPPL license clause.

which is surely quite old now.

The command:

    grep offset `kpsewhich fancyhdr.sty`

returns nothing, so certainly \fancyhfoffset and \fancyheadoffset
are not defined in this version of the package.


>
> What gives? Any help would be appreciated. Thanks.
>
Check at  http://ctan.tug.org/search/  or elsewhere
for a later version of the package.


Hope this helps,

	Ross

>
> sincerely,
> Richard Burton
> -----------------------------------------------------
> Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
> Please see <http://www.esm.psu.edu/mac-tex/> for list
> guidelines, information, and LaTeX/TeX resources.
>
>
>
------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------

-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list