[Tutkielma-TeX] empty index page in Ph.d Dissertation
Antti-Juhani Kaijanaho
antti-juhani.kaijanaho at jyu.fi
Wed Jun 6 10:31:16 EEST 2012
On Wed, Jun 06, 2012 at 08:27:59AM +0300, nezer wrote:
> ok I've found it. it's yet (another) bug in jydiss.cls
Yet another? Are there other bugs, ones that have not been reported to
us?
> check this part of your cls...
>
> \renewcommand\printindex{
> % \chapter*{\indexname}
> \@input@{\jobname.ind}
> }
> \else
> \newcommand\printindex{}
> \fi
>
> 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)
That's the original code added to jydiss when index support was added in
2006. I understand it was correct then. I suppose something's changed
in other packages to make that obsolete and nobody's noticed (or at
least told us about) it earlier.
I will have to investigate a bit further to see what exactly has
changed and how the change should affect jydiss. Thanks for your
report.
By the way, I wouldn't recommend editing jydiss directly. That way you
can't use very easily any updated versions of jydiss that we may
release. Instead, copy your fixed \printindex definition in your .tex
file (that way your fix will override whatever definition jydiss uses
for that command), now or in the future. You may need to surround the
definition with \makeatletter (before the definition) and \makeatother
(after it).
--
Antti-Juhani Kaijanaho (fil. maist.)
yliopistonopettaja, tohtorikoulutettava
Jyväskylän yliopisto, tietotekniikan laitos
PL 35 (Agora 4. krs), 40014 Jyväskylän yliopisto
More information about the Tutkielma-TeX
mailing list