[texhax] MakeIndex help - "Missing number, treated as zero"

Hubert Lam hubert at hubertlam.info
Sun Jul 17 07:22:37 CEST 2011


Hi all

Although I've used LaTeX for almost 8 years now, I've never really had to deal with MakeIndex.

A recent project I'm working on now requires an index, and I've used enumitem to customise the enumerated lists.

Unfortunately that creates this problem when compiling when makeidx is loaded, \makeindex in the preamble and \printindex at the end:

Command Line:   texify.exe --src --tex-option=--synctex=-1 "C:\LaTeX\school\7-10\programs\2009a\mathprogbook.tex"
Startup Folder: C:\LaTeX\school\7-10\programs\2009a

<snipped>

:<-
:<+ mathprogbook.bbl
(C:\LaTeX\school\7-10\programs\2009a\mathprogbook.bbl [143]
Overfull \hbox (139.8318pt too wide) in paragraph at lines 576--591
[][][][]
)
:<-
[144] (C:\LaTeX\school\7-10\programs\2009a\mathprogbook.ind
! Missing number, treated as zero.
<to be read again>
                   \let
l.1 \begin{theindex}


The packages used are these:

\documentclass[landscape,a4paper, 12pt]{report}
\usepackage{amsmath,theorem}
\usepackage[none]{hyphenat}
\usepackage{array,amssymb, color, graphicx, url,pifont,stmaryrd}
\usepackage{textcomp,ifthen, xifthen,setspace, srcltx, varioref,tabularx, subfigure, float}
\usepackage[pagestyles]{titlesec}
\usepackage[toc]{multitoc}
\usepackage{pstricks, pst-math, pst-infixplot,pst-eucl, xlop, pstricks-add, polynom, polynomial}
\usepackage{enumitem}
\usepackage[thicklines]{cancel}
\usepackage{multicol}
\usepackage[units]{lhelp}
\usepackage{makeidx}
\usepackage{hyperref}
\usepackage[hyper]{apacite}
\usepackage[dvips,twoside,includeheadfoot,right=1in,height=0.9\paperheight]{geometry}
\usepackage[np,autolanguage]{numprint}

A minimal example of course, works. But I'm just wondering if there's any incompatibility with makeidx and the packages I've loaded (or in that particular order?)

Thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110717/b0d66d88/attachment.html>


More information about the texhax mailing list