[Tutkielma-TeX] [darcs] jydiss.cls-muutos: Removed option captiondot, is incompatible with caption.sty version >= 3.1

Matthieu Weber mweber at mit.jyu.fi
Fri Dec 19 13:27:31 EET 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.

Fri Dec 19 13:25:56 EET 2008  Matthieu Weber <mweber at mit.jyu.fi>
  * Removed option captiondot, is incompatible with caption.sty version >= 3.1
diff -rN -u old-jydiss/jydiss.cls new-jydiss/jydiss.cls
--- old-jydiss/jydiss.cls	2008-12-19 13:27:30.810549000 +0200
+++ new-jydiss/jydiss.cls	2008-12-19 13:27:30.810549000 +0200
@@ -92,9 +92,9 @@
 \DeclareOption{loar}{\diss at loartrue}
 \DeclareOption{shortloft}{\diss at shortlofttrue}
 
-\newif\ifdiss at captiondot
-\diss at captiondotfalse
-\DeclareOption{captiondot}{\diss at captiondottrue}
+%\newif\ifdiss at captiondot
+%\diss at captiondotfalse
+%\DeclareOption{captiondot}{\diss at captiondottrue}
 
 \newif\ifdiss at altlongcaption
 \diss at altlongcaptionfalse
@@ -261,18 +261,18 @@
 
 %%%% Captions
 
-\long\def\@caption#1[#2]#3{%
-  \par
-  \addcontentsline{\csname ext@#1\endcsname}{#1}%
-    {\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}%
-  \begingroup
-    \@parboxrestore
-    \if at minipage
-      \@setminipage
-    \fi
-    \normalsize
-    \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3\ifdiss at captiondot .\fi}\par
-  \endgroup}
+%\long\def\@caption#1[#2]#3{%
+%  \par
+%  \addcontentsline{\csname ext@#1\endcsname}{#1}%
+%    {\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}%
+%  \begingroup
+%    \@parboxrestore
+%    \if at minipage
+%      \@setminipage
+%    \fi
+%    \normalsize
+%    \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3\ifdiss at captiondot .\fi}\par
+%  \endgroup}
 
 \RequirePackage[font=small,labelsep=quad,format=hang, singlelinecheck=false]{caption}
 \DeclareCaptionLabelFormat{uppercase}{\bothIfFirst{\MakeUppercase{#1}}{\nobreakspace}#2}
diff -rN -u old-jydiss/manual.tex new-jydiss/manual.tex
--- old-jydiss/manual.tex	2008-12-19 13:27:30.810549000 +0200
+++ new-jydiss/manual.tex	2008-12-19 13:27:30.810549000 +0200
@@ -157,8 +157,8 @@
 \subsection{Layout Fine-Tuning Options}
 
 \begin{opts}
-\item[captiondot] will add a period at the end of the captions (figures and
-tables).
+%\item[captiondot] will add a period at the end of the captions (figures and
+%tables).
 \item[altlongcaption] will break long captions (i.e. captions which are longer
 than the width of the text) into a paragraph which is aligned to the left
 margin instead of being justified to the right of the label.






More information about the Tutkielma-TeX mailing list