<html><head></head><body style="direction: rtl; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br><div><div>On Jun 6, 2012, at 10:31 AM, Antti-Juhani Kaijanaho wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Wed, Jun 06, 2012 at 08:27:59AM +0300, nezer wrote:<br><blockquote type="cite">ok I've found it. it's yet (another) bug in jydiss.cls<br></blockquote><br>Yet another? Are there other bugs, ones that have not been reported to<br>us?<br><br><blockquote type="cite">check this part of your cls...<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">\renewcommand\printindex{<br></blockquote><blockquote type="cite">% \chapter*{\indexname}<br></blockquote><blockquote type="cite"> \@input@{\jobname.ind}<br></blockquote><blockquote type="cite">}<br></blockquote><blockquote type="cite">\else<br></blockquote><blockquote type="cite"> \newcommand\printindex{}<br></blockquote><blockquote type="cite">\fi<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I don't know who put the \chapter* command and it may be required for other versions of the index package but it is causing duplicate title with mine. (so I commented it)<br></blockquote><br>That's the original code added to jydiss when index support was added in<br>2006. I understand it was correct then. I suppose something's changed<br>in other packages to make that obsolete and nobody's noticed (or at<br>least told us about) it earlier.<br><br>I will have to investigate a bit further to see what exactly has<br>changed and how the change should affect jydiss. Thanks for your<br>report.<br><br>By the way, I wouldn't recommend editing jydiss directly. That way you<br>can't use very easily any updated versions of jydiss that we may<br>release. Instead, copy your fixed \printindex definition in your .tex<br>file (that way your fix will override whatever definition jydiss uses<br>for that command), now or in the future. You may need to surround the<br>definition with \makeatletter (before the definition) and \makeatother<br>(after it).<br><br>-- <br>Antti-Juhani Kaijanaho (fil. maist.)<br>yliopistonopettaja, tohtorikoulutettava<br>Jyväskylän yliopisto, tietotekniikan laitos<br>PL 35 (Agora 4. krs), 40014 Jyväskylän yliopisto<br><br>_______________________________________________<br>Tutkielma-TeX mailing list<br><a href="mailto:Tutkielma-TeX@lists.jyu.fi">Tutkielma-TeX@lists.jyu.fi</a><br>http://lists.jyu.fi/mailman/listinfo/tutkielma-tex<br></div></blockquote></div><br></div></body></html>