linuxdoc-tools/linuxdoc-tools-ifpdf.patch
Tim Waugh 9706403895 - Applied patch from Kir Kolyshkin (bug #204902):
- added a patch from debian bug #321998 (obsoletes patch -badif)
- Resolves: rhbz#204902 rhbz#321998
2007-01-11 15:17:41 +00:00

127 lines
5.0 KiB
Diff

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"