diff -Nur linuxdoc-tools-0.9.21.orig/lib/dist/linuxdoc-tools/latex2e/mapping linuxdoc-tools-0.9.21/lib/dist/linuxdoc-tools/latex2e/mapping
--- linuxdoc-tools-0.9.21.orig/lib/dist/linuxdoc-tools/latex2e/mapping	2002-01-28 18:44:44.000000000 +0100
+++ linuxdoc-tools-0.9.21/lib/dist/linuxdoc-tools/latex2e/mapping	2005-08-08 18:23:11.578297567 +0200
@@ -7,13 +7,7 @@
 </qwertz>	+
 
 <article>	+ "\\documentclass\[a4paper\]{article}\n"
-                        "\\newif\\ifpdf\n"
-                        "\\ifx\\pdfoutput\\undefined\n"
-                        "  \\pdffalse % we do not use PDFLaTeX\n"
-                        "\\else\n"
-                        "  \\pdfoutput=1 % we use PDFLaTeX\n"
-                        "  \\pdftrue\n"
-                        "\\fi\n"
+			"\\usepackage{ifpdf}\n"
 			"\\usepackage{linuxdoc-sgml}\n"
 			"\\usepackage{qwertz}\n"
 			"\\usepackage{url}\n"
@@ -35,13 +29,7 @@
 </article>	+	"\\end{document}"	+
 
 <report>	+ "\\documentclass\[a4paper\]{report}\n"
-                        "\\newif\\ifpdf\n"
-                        "\\ifx\\pdfoutput\\undefined\n"
-                        "  \\pdffalse % we do not use PDFLaTeX\n"
-                        "\\else\n"
-                        "  \\pdfoutput=1 % we use PDFLaTeX\n"
-                        "  \\pdftrue\n"
-                        "\\fi\n"
+			"\\usepackage{ifpdf}\n"
 			"\\usepackage{linuxdoc-sgml}\n"
 			"\\usepackage{qwertz}\n"
 			"\\usepackage{url}\n"
@@ -64,13 +52,7 @@
 </report>	+	"\\end{document}"	+
 
 <book>	+ 	"\\documentclass\[a4paper\]{book}\n"
-                        "\\newif\\ifpdf\n"
-                        "\\ifx\\pdfoutput\\undefined\n"
-                        "  \\pdffalse % we do not use PDFLaTeX\n"
-                        "\\else\n"
-                        "  \\pdfoutput=1 % we use PDFLaTeX\n"
-                        "  \\pdftrue\n"
-                        "\\fi\n"
+			"\\usepackage{ifpdf}\n"
 			"\\usepackage{linuxdoc-sgml}\n"
 			"\\usepackage{qwertz}\n"
 			"\\usepackage{url}\n"
@@ -94,13 +76,7 @@
 
 
 <notes> +	"\\documentclass\[a4paper\]{article}\n"
-                        "\\newif\\ifpdf\n"
-                        "\\ifx\\pdfoutput\\undefined\n"
-                        "  \\pdffalse % we do not use PDFLaTeX\n"
-                        "\\else\n"
-                        "  \\pdfoutput=1 % we use PDFLaTeX\n"
-                        "  \\pdftrue\n"
-                        "\\fi\n"
+			"\\usepackage{ifpdf}\n"
 			"\\usepackage{linuxdoc-sgml}\n"
 			"\\usepackage{qwertz}\n"
 			"\\usepackage{url}\n"
diff -Nur linuxdoc-tools-0.9.21.orig/lib/dist/linuxdoc-tools/latex2e/tr-mapping linuxdoc-tools-0.9.21/lib/dist/linuxdoc-tools/latex2e/tr-mapping
--- linuxdoc-tools-0.9.21.orig/lib/dist/linuxdoc-tools/latex2e/tr-mapping	2002-01-28 18:44:45.000000000 +0100
+++ linuxdoc-tools-0.9.21/lib/dist/linuxdoc-tools/latex2e/tr-mapping	2005-08-08 18:21:19.393440399 +0200
@@ -7,13 +7,7 @@
 </qwertz>	+
 
 <article>	+ "\\documentclass\[a4paper\]{article}\n"
-                        "\\newif\\ifpdf\n"
-                        "\\ifx\\pdfoutput\\undefined\n"
-                        "  \\pdffalse % we do not use PDFLaTeX\n"
-                        "\\else\n"
-                        "  \\pdfoutput=1 % we use PDFLaTeX\n"
-                        "  \\pdftrue\n"
-                        "\\fi\n"
+			"\\usepackage{ifpdf}\n"
 			"\\usepackage{linuxdoctr-sgml}\n"
 			"\\usepackage{qwertz}\n"
 			"\\usepackage{url}\n"
@@ -35,13 +29,7 @@
 </article>	+	"\\end{document}"	+
 
 <report>	+ "\\documentclass\[a4paper\]{report}\n"
-                        "\\newif\\ifpdf\n"
-                        "\\ifx\\pdfoutput\\undefined\n"
-                        "  \\pdffalse % we do not use PDFLaTeX\n"
-                        "\\else\n"
-                        "  \\pdfoutput=1 % we use PDFLaTeX\n"
-                        "  \\pdftrue\n"
-                        "\\fi\n"
+			"\\usepackage{ifpdf}\n"
 			"\\usepackage{linuxdoctr-sgml}\n"
 			"\\usepackage{qwertz}\n"
 			"\\usepackage{url}\n"
@@ -64,13 +52,7 @@
 </report>	+	"\\end{document}"	+
 
 <book>	+ 	"\\documentclass\[a4paper\]{book}\n"
-                        "\\newif\\ifpdf\n"
-                        "\\ifx\\pdfoutput\\undefined\n"
-                        "  \\pdffalse % we do not use PDFLaTeX\n"
-                        "\\else\n"
-                        "  \\pdfoutput=1 % we use PDFLaTeX\n"
-                        "  \\pdftrue\n"
-                        "\\fi\n"
+			"\\usepackage{ifpdf}\n"
 			"\\usepackage{linuxdoctr-sgml}\n"
 			"\\usepackage{qwertz}\n"
 			"\\usepackage{url}\n"
@@ -94,13 +76,7 @@
 
 
 <notes> +	"\\documentclass\[a4paper\]{article}\n"
-                        "\\newif\\ifpdf\n"
-                        "\\ifx\\pdfoutput\\undefined\n"
-                        "  \\pdffalse % we do not use PDFLaTeX\n"
-                        "\\else\n"
-                        "  \\pdfoutput=1 % we use PDFLaTeX\n"
-                        "  \\pdftrue\n"
-                        "\\fi\n"
+			"\\usepackage{ifpdf}\n"
 			"\\usepackage{linuxdoctr-sgml}\n"
 			"\\usepackage{qwertz}\n"
 			"\\usepackage{url}\n"
