[Tutkielma-TeX] [darcs] jydiss.cls-muutos: Included articles now appear in the PDF TOC and can be clicked on to jump to the right page

Matthieu Weber matthieu.weber at jyu.fi
Wed Jun 30 15:50:41 EEST 2010


(English below)

Tämä on automaattinen ilmoitus jydiss-luokkaan tai sen dokumentaatioon tehdystä
muutoksesta.  Voit hakea uuden, muutetun version osoitteesta
  http://antti-juhani.kaijanaho.fi/darcs/jydiss/

Alla on tiedot tehdystä muutoksesta.

---

This is an automated notification of a change made to the jydiss document
class or its accompanying documentation.  You can get the new version at
  http://antti-juhani.kaijanaho.fi/darcs/jydiss/

Below, you will find information about the actual change.

Wed Jun 30 15:46:47 EEST 2010  Matthieu Weber <mweber at mit.jyu.fi>
  * Included articles now appear in the PDF TOC and can be clicked on to jump to the right page
diff -rN -u old-jydiss/jydiss.cls new-jydiss/jydiss.cls
--- old-jydiss/jydiss.cls	2010-06-30 15:50:41.562899623 +0300
+++ new-jydiss/jydiss.cls	2010-06-30 15:50:41.572894123 +0300
@@ -1009,10 +1009,11 @@
   \addtocontents{toc}{\vskip\cftbeforechapskip}
   \global\jydiss at toc@spacefalse
 \fi%
-\addcontentsline{toc}{schapter}{\HyMakeUppercase{\includedarticlesname}}
 %\addtocontents{loar}{\protect\begin{thelistofarticles}{XVIII}}
 \immediate\write\@auxout{\string\@writefile{loar}{\string\begin{thelistofarticles}{XVIII}}}
 \newpage
+\refstepcounter{schapter}
+\addcontentsline{toc}{schapter}{\HyMakeUppercase{\includedarticlesname}}
 \pagestyle{empty}
 }
 
@@ -1071,6 +1072,8 @@
 \par\vspace{3\baselineskip}
 Reproduced with kind permission of \diss at art@copyright.\par
 \fi
+\refstepcounter{section}
+\addcontentsline{toc}{section}{\HyMakeUppercase{\diss at art@title}}
 \cleardoublepage
 }}
 






More information about the Tutkielma-TeX mailing list