tags 562394 patch
thanks

The variable should be renamed.
https://launchpad.net/ubuntu/+source/gprolog/1.3.0-6ubuntu1

--- gprolog-1.3.0.orig/doc/macros.tex
+++ gprolog-1.3.0/doc/macros.tex
@@ -81,7 +81,7 @@
 
 % Url in LaTeX output
 
-\ifpdf
+\ifpdfgprolog
 \newcommand{\Tilde}[1]{~#1}
 \newcommand{\MyUrl}[2]{\href{#1}{#2}}
 \newcommand{\MyUrlHtml}[2]{\href{#1}{#2}}
@@ -237,7 +237,7 @@
 
 
    % |textbf does not seem to work with hyperref (pdflatex)... remove it
-\ifpdf
+\ifpdfgprolog
        \newcommand{\IndexBold}[1]{\index{#1}}
 \else
        \newcommand{\IndexBold}[1]{\index{#1|textbf}}
only in patch2:
unchanged:
--- gprolog-1.3.0.orig/doc/packages.tex
+++ gprolog-1.3.0/doc/packages.tex
@@ -1,11 +1,11 @@
-\newif\ifpdf
+\newif\ifpdfgprolog
 \ifx\pdfoutput\undefined
-   \pdffalse % we are not running PDFLaTeX
+   \pdfgprologfalse % we are not running PDFLaTeX
 \else 
    \ifnum\pdfoutput=0
-      \pdffalse  % we are not running PDFLaTeX
+      \pdfgprologfalse  % we are not running PDFLaTeX
    \else
-      \pdfoutput=1 \pdftrue  % we are running PDFLaTeX
+      \pdfoutput=1 \pdfgprologtrue  % we are running PDFLaTeX
    \fi
 \fi
 
@@ -19,7 +19,7 @@
 \usepackage{makeidx}
 \usepackage{ifthen}
 \usepackage{fancyhdr}
-\ifpdf
+\ifpdfgprolog
        \usepackage[pdftex]{graphicx}
        \usepackage[pdftex=true]{hyperref}
        \hypersetup{%



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to