MakeIndex help - "Missing number, treated as zero"

Hubert Lam <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <797E59B5C35EDE4A885061E91E94C4F38CF78F@SINPRD0302MB112.apcprd03.prod.outlook.com>

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


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.