[Tutkielma-TeX] [darcs] jydiss.cls-muutos: Fixed the writing into the .loar file to use \immediate\write

Matthieu Weber mweber at mit.jyu.fi
Fri Oct 5 15:44:06 EEST 2007


(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.

Fri Oct  5 15:42:40 EEST 2007  Matthieu Weber <mweber at mit.jyu.fi>
  * Fixed the writing into the .loar file to use \immediate\write
diff -rN -u old-jydiss/jydiss.cls new-jydiss/jydiss.cls
--- old-jydiss/jydiss.cls	2007-10-05 15:44:06.159667000 +0300
+++ new-jydiss/jydiss.cls	2007-10-05 15:44:06.159667000 +0300
@@ -430,7 +430,8 @@
 }}%
 
 \AtEndDocument{%
-\addtocontents{loar}{\protect\end{thelistofarticles}}
+%\addtocontents{loar}{\protect\end{thelistofarticles}}
+\immediate\write\@auxout{\string\@writefile{loar}{\string\end{thelistofarticles}}}
 \ifTotPages at todo\clearpage\TotPages at putlabel\fi
 }
 
@@ -851,7 +852,8 @@
   \global\jydiss at toc@spacefalse
 \fi%
 \addcontentsline{toc}{schapter}{\HyMakeUppercase{\includedarticlesname}}
-\addtocontents{loar}{\protect\begin{thelistofarticles}{XVIII}}
+%\addtocontents{loar}{\protect\begin{thelistofarticles}{XVIII}}
+\immediate\write\@auxout{\string\@writefile{loar}{\string\begin{thelistofarticles}{XVIII}}}
 \pagestyle{empty}
 }
 
@@ -922,9 +924,13 @@
 \clearpage
 \artmaketitle
 \fi
-\addtocontents{loar}{
-\protect\bibitem[\artlabel]{\diss at art@label} \artmakebib
-}
+%\addtocontents{loar}{
+%\protect\bibitem[\artlabel]{\diss at art@label} \artmakebib
+%}
+\begingroup
+\let\protect\@unexpandable at protect
+\immediate\write\@auxout{\string\@writefile{loar}{\string\bibitem[\artlabel]{\diss at art@label} \artmakebib}}
+\endgroup
 %\addtocounter{page}{\diss at art@pages}
 %\addtocounter{TotPages}{\diss at art@pages}
 }






More information about the Tutkielma-TeX mailing list