PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem mit makidx und den Paketen mparhack, pdfpages



pospiech
03-06-2007, 09:54
Wenn ich in folgendem Minimalbeispiel mparhack und pdfpages nicht auskommentiere dann erhalten ich den geschilderten Fehler. Kommentiere ich eins davon aus, dann bekomme ich keinen Fehler.



\documentclass{scrbook}
\usepackage{mparhack}
\usepackage{pdfpages}
\usepackage{makeidx}

\makeindex
\listfiles

\begin{document}
\tableofcontents
ABC\index{abc}
\printindex
\end{document}


Fehler:


! A <box> was supposed to be here.
<to be read again>
\def
l.5 \end{theindex}

! Illegal unit of measure (pt inserted).
<to be read again>
{
l.5 \end{theindex}

! Missing number, treated as zero.
<to be read again>
}
l.5 \end{theindex}

! Illegal unit of measure (pt inserted).
<to be read again>
}
l.5 \end{theindex}

! Infinite glue shrinkage found in a paragraph.
\@ShipoutPicture ...O@HookII \@empty \endpicture }
\nointerlineskip \box
\@cc...
l.5 \end{theindex}


in der Datei minimal.ind


\begin{theindex}

\item abc, 1

\end{theindex}



Filelist:


scrbook.cls 2006/07/30 v2.95b KOMA-Script document class (book)
scrkbase.sty 2006/07/30 v2.95b KOMA-Script package (basics and keyval
use)
scrlfile.sty 2006/03/28 v2.95 KOMA-Script package (loading files)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
bk11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
typearea.sty 2006/07/30 v2.95b KOMA-Script package (type area)
mparhack.sty 2003/05/22 v1.3a (T. Sgouros and S. Ulrich)
pdfpages.sty 2006/08/12 v0.4a Insert pages of external PDF documents (AM)
ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
calc.sty 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
eso-pic.sty 2006/07/14 v1.1d eso-pic (RN)
everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS)
pppdftex.def 2006/08/12 v0.4a Pdfpages driver for pdfTeX (AM)
makeidx.sty 2000/03/29 v1.0m Standard LaTeX package
supp-pdf.tex
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
minimal.ind


Lösungidee ?

Matthias

localghost
03-06-2007, 10:20
Auf meinem System (TeXnicCenter 1 Beta 7.01, MikTeX 2.6) ist der Fehler nicht zu reproduzieren. Kann natürlich an der Aktualität der benutzten Pakete oder am LaTeX-System selbst liegen.

*File List*
scrbook.cls 2007/03/07 v2.97a KOMA-Script document class (book)
scrkbase.sty 2007/03/07 v2.97a KOMA-Script package (basics and keyval use)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty 2007/03/07 v2.97a KOMA-Script package (loading files)
bk11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
typearea.sty 2007/03/07 v2.97a KOMA-Script package (type area)
mparhack.sty 2005/04/17 v1.4 (T. Sgouros and S. Ulrich)
pdfpages.sty 2006/08/12 v0.4a Insert pages of external PDF documents (AM)
ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2005/12/29 v1.2 MiKTeX 'graphics' configuration
pdftex.def 2007/04/17 v0.04g Graphics/color for pdfTeX
calc.sty 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
eso-pic.sty 2006/07/14 v1.1d eso-pic (RN)
everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS)
pppdftex.def 2006/08/12 v0.4a Pdfpages driver for pdfTeX (AM)
makeidx.sty 2000/03/29 v1.0m Standard LaTeX package
supp-pdf.tex
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2005/12/29 v1.1 MiKTeX 'color' configuration
Aufgrund einer eigens erstellten ST-Datei sieht meine Indexdatei jedoch etwas anders aus.

\begin{theindex}
\centerline{\bfseries A}\nopagebreak

\item abc\dotfill 1

\end{theindex}
Wundert mich schon, dass bei einem Standardindex die Bearbeitung nicht möglich sein soll. Unter Linux habe ich das noch nicht getestet.


Thorsten

Salnic
03-06-2007, 11:28
ohne eigene ST-Datei auch keine Problem, XP, MikTeX 2.6, meine Indes-Datei sieht genauso aus, wie Deine Matthias. Es liegt wohl an Deiner älteren mparhack.

Salnic



*File List*
scrbook.cls 2007/03/07 v2.97a KOMA-Script document class (book)
scrkbase.sty 2007/03/07 v2.97a KOMA-Script package (basics and keyval use)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty 2007/03/07 v2.97a KOMA-Script package (loading files)
bk11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
typearea.sty 2007/03/07 v2.97a KOMA-Script package (type area)
mparhack.sty 2005/04/17 v1.4 (T. Sgouros and S. Ulrich)
pdfpages.sty 2006/08/12 v0.4a Insert pages of external PDF documents (AM)
ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2005/12/29 v1.2 MiKTeX 'graphics' configuration
pdftex.def 2007/04/17 v0.04g Graphics/color for pdfTeX
calc.sty 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
eso-pic.sty 2006/07/14 v1.1d eso-pic (RN)
everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS)
pppdftex.def 2006/08/12 v0.4a Pdfpages driver for pdfTeX (AM)
makeidx.sty 2000/03/29 v1.0m Standard LaTeX package
supp-pdf.tex
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2005/12/29 v1.1 MiKTeX 'color' configuration
***********