groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] Bug in pdfroff, using `--no-reference-dictionary' option


From: Keith Marshall
Subject: [Groff] Bug in pdfroff, using `--no-reference-dictionary' option
Date: Mon, 21 Mar 2005 20:15:09 +0000

Hi groffers,

While experimenting with Gaius' dropcap macro, I said ...

   pdfroff -ww -M. --no-toc --no-ref dropcap.test > dropcap.pdf

and pdfroff said ...

   /usr/local/bin/pdfroff: /^grohtml-info/ {print ".pdfhref Z", $2, $3, $4}: 
       No such file or directory

This *shouldn't* have happened, so here's a patch to fix it ...

===================================================================
RCS file: /cvsroot/groff/groff/contrib/pdfmark/pdfroff.sh,v
retrieving revision 1.1
diff -u -r1.1 pdfroff.sh
--- contrib/pdfmark/pdfroff.sh  28 Feb 2005 13:56:45 -0000      1.1
+++ contrib/pdfmark/pdfroff.sh  21 Mar 2005 19:48:46 -0000
@@ -220,7 +220,7 @@
                ;;

              --no-reference-dictionary)
-               DIFF=":" REFFILE="$NULLDEV" REFCOPY="$NULLDEV"
+               AWK=":" DIFF=":" REFFILE="$NULLDEV" REFCOPY="$NULLDEV"
                ;;

              --stylesheet)
===================================================================

and a proposed ChangeLog entry ...

        *pdfroff.sh: eliminate invalid program reference to $AWK, when invoked
                            with `--no-reference-dictionary-option'

Best regards,
Keith.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]