[Tutkielma-TeX] [darcs] jydiss.cls-muutos: Better code for the paragraph-after-a-list hack

Matthieu Weber mweber at mit.jyu.fi
Mon May 19 10:27:29 EEST 2008


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

Mon May 19 10:26:43 EEST 2008  Matthieu Weber <mweber at mit.jyu.fi>
  * Better code for the paragraph-after-a-list hack
diff -rN -u old-jydiss/jydiss.cls new-jydiss/jydiss.cls
--- old-jydiss/jydiss.cls	2008-05-19 10:27:29.419016000 +0300
+++ new-jydiss/jydiss.cls	2008-05-19 10:27:29.419016000 +0300
@@ -1080,15 +1080,9 @@
 
 \def\@doendpe{%
   \@endpetrue
-  \ifnum \@listdepth = 0
-    \def\par{%
-      \if at endpe\@@par\else\@restorepar
-      \everypar{}\par\@endpefalse\fi}%
-    \else
-      \def\par{%
-        \@restorepar
-        \everypar{}\par\@endpefalse}%
-    \fi
+  \def\par{%
+    \if at endpe{\@@par}\else\@restorepar
+    \everypar{}\par\@endpefalse\fi}%
   \everypar{{\setbox\z@\lastbox}%
   \everypar{}\@endpefalse}}%
 






More information about the Tutkielma-TeX mailing list