[texhax] Question
Benjamin Deutsch
Benjamin.Deutsch at informatik.uni-erlangen.de
Thu Jul 3 17:12:22 CEST 2003
Hi all,
On Thu, 3 Jul 2003, Jo Goodger wrote:
> Hi,
>
> I have compiled this file about 6 times and still I have no contents in
> the table of contents. From the books that I have read, LaTeX is suppose
> to search the .tex file for sectioning and captions in tables and figures,
> and write a \contentsline command to the .toc (or .lof, .lot) file. I
> have a .toc file containing this information but it is not appearing in
> the postscipt file .ps
I tested your file, and had the same problem, both with latex and with
pdflatex (may not be newest versions). But read on...
> Here is the header files and initial part of my report with sections
> included:
>
> \documentclass[11pt]{article}
> \usepackage{graphicx,amssymb,lscape,setspace,xspace}
> \usepackage{latexsym}
[...snip...]
> \RequirePackage{amssymb}
First of all, you should use "usepackage" instead of "RequirePackage", the
latter being mainly for package writers. But that normally doesn't make
any difference.
> \RequirePackage{setspace}
> \RequirePackage{graphicx}
> %\RequirePackage{lscape} ;
> \RequirePackage{amssymb}
> \RequirePackage{longtable}
> \RequirePackage{fancyhdr}
> \RequirePackage{xspace}
> \RequirePackage{multicol}
> \RequirePackage{fancybox}
Here we go: I commented out the fancybox package, and it worked. I'm not
sure why, or why it would work for other people; maybe we should check
versions. If commenting out this package works for you too, you may want
to either upgrade it, or do without it.
Hope that helps,
Benjamin
--
Dipl.-Inf. Benjamin Deutsch Universitaet Erlangen-Nuernberg
Lehrstuhl fuer Mustererkennung (Inf. 5) Tel.: +49 9131 85-27874
Martensstr. 3 Fax.: +49 9131 303811
91058 Erlangen email: Benjamin.Deutsch at informatik.uni-erlangen.de
Germany www : http://www5.informatik.uni-erlangen.de
More information about the texhax
mailing list