bug-cvs
[Top][All Lists]
Advanced

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

mkman.pl patch


From: Kevin R. Bulgrien
Subject: mkman.pl patch
Date: Sun, 13 Aug 2006 17:27:38 -0500
User-agent: KMail/1.8.2

> Larry Jones writes:
> > 
> > Sounds like a Texinfo bug to me.
> 
> I take that back -- it's actually in our mkman.pl script.  Not being
> fluent in perl, I'm not sure how to fix it.

It just so happens that after years of wanting it, I cracked the book on
perl two weeks ago...

This will fix it.  Basically, the "see node" is only used for @pxref{} and
@xref{}.  Not beautiful, but it does work for cvs.1.  I did make
maintainer-clean to remove the old mkman script, did a ./configure,
and it produced a cvs.1 with:

       -f

         Note that this is not the standard  behavior  of  the  -f  option  as
         defined in `Common options' in the CVS manual.

--

Index: mkman.pl
===================================================================
RCS file: /sources/cvs/ccvs/doc/mkman.pl,v
retrieving revision 1.4
diff -u -r1.4 mkman.pl
--- mkman.pl    15 Apr 2005 13:59:16 -0000      1.4
+++ mkman.pl    13 Aug 2006 22:20:38 -0000
@@ -73,7 +73,9 @@
        my ($file, $parent, $keyword, $content) = @_;

        return "see node \`$content\\(aq in the CVS manual"
-               if $keyword =~ /^(p?x)?ref$/;
+               if $keyword =~ /^(p?x)+ref$/;
+       return "\`$content\\(aq in the CVS manual"
+               if $keyword =~ /^ref$/;
        return "\\fP\\fP$content"
                if $keyword =~ /^splitrcskeyword$/;

This doesn't work for @inforef{}, but the old code didn't either.

--
Kevin R. Bulgrien
http://kbulgrien.home.att.net/




reply via email to

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