aboutsummaryrefslogtreecommitdiff
blob: c33ad8cb785c1d96ba6445f107078c1f9dec4fc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff -urN freefem++-2.24-2.old/DOC/dessin.sty freefem++-2.24-2.new/DOC/dessin.sty
--- freefem++-2.24-2.old/DOC/dessin.sty	2009-04-12 18:05:17.000000000 +0200
+++ freefem++-2.24-2.new/DOC/dessin.sty	2009-04-12 18:13:51.000000000 +0200
@@ -1,10 +1,4 @@
-\newif\ifpdf
-\ifx\pdfoutput\undefined
-\pdffalse % we are not running PDFLaTeX
-\else
-\pdfoutput=1 % we are running PDFLaTeX
-\pdftrue
-\fi
+\usepackage{ifpdf}
 
 \ifpdf
 \usepackage[pdftex]{graphicx}
diff -urN freefem++-2.24-2.old/DOC/styles.sty freefem++-2.24-2.new/DOC/styles.sty
--- freefem++-2.24-2.old/DOC/styles.sty	2009-04-12 18:05:07.000000000 +0200
+++ freefem++-2.24-2.new/DOC/styles.sty	2009-04-12 18:13:35.000000000 +0200
@@ -1,14 +1,6 @@
 
 %\RequirePackage{everyshi}%
-\newif\ifpdf
-\pdffalse
-\@ifundefined{pdfoutput}{\message{-- no pdf -- }}{
-    \ifcase\pdfoutput
-    \message{-- no  pdf -- }
-    \else
-    \pdftrue
-    \message{--  ++ pdf -- }
-    \fi}
+\usepackage{ifpdf}
 
 \ifpdf
 \usepackage{pdfsync}