[Tutkielma-TeX] [darcs] jydiss.cls-muutos: Rename ifpdf since it conflicts with a similarly named command

Antti-Juhani Kaijanaho antti-juhani.a-j.kaijanaho at jyu.fi
Fri Mar 5 11:09:07 EET 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.

Fri Mar  5 11:08:31 EET 2010  Antti-Juhani Kaijanaho <antti-juhani.a-j.kaijanaho at jyu.fi>
  * Rename ifpdf since it conflicts with a similarly named command
  Ignore-this: d329b2226b628eae4dea781e6c7495f1
diff -rN -u old-jydiss/jydiss.cls new-jydiss/jydiss.cls
--- old-jydiss/jydiss.cls	2010-03-05 11:09:07.752895706 +0200
+++ new-jydiss/jydiss.cls	2010-03-05 11:09:07.752895706 +0200
@@ -18,14 +18,14 @@
 
 %% Some packages need special handling if the output is PDF, this \if is just
 %% in case we need it
-\newif\ifpdf
+\newif\ifjydiss at pdf
 \ifx\pdfoutput\undefined
-  \pdffalse
+  \jydiss at pdffalse
 \else
   \ifnum\pdfoutput=1
-    \pdftrue
+    \jydiss at pdftrue
   \else
-    \pdffalse
+    \jydiss at pdffalse
   \fi
 \fi
 
@@ -313,7 +313,7 @@
 
 \newcommand\HyMakeUppercase[1]{%
   \ifdiss at hyperref
-    \ifpdf
+    \ifjydiss at pdf
       \texorpdfstring{\MakeUppercase{#1}}{#1}%
     \else
       \ifdiss at pdfmark
@@ -616,7 +616,7 @@
 \newlength{\diss at kwlen}
 \settowidth{\diss at kwlen}{\usebox{\diss at kw}}
 \renewcommand{\maketitle}{%
-  \ifdiss at hyperref\ifpdf
+  \ifdiss at hyperref\ifjydiss at pdf
     \hypersetup{
       pdftitle={\diss at title},
       pdfauthor={\diss at forename\ \diss at surname},






More information about the Tutkielma-TeX mailing list