[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/
- Re: cvs.texinfo updates? add/remove/tag, (continued)
- Re: cvs.texinfo updates? add/remove/tag, Kevin R. Bulgrien, 2006/08/12
- Re: cvs.texinfo updates? add/remove/tag, Mark D. Baushke, 2006/08/12
- Re: cvs.texinfo updates? add/remove (newer patch), Kevin R. Bulgrien, 2006/08/13
- Re: cvs.texinfo updates? add/remove (newer patch), Mark D. Baushke, 2006/08/13
- Re: cvs.texinfo updates? add/remove (newer patch), Larry Jones, 2006/08/13
- Re: cvs.texinfo updates? add/remove (newer patch), Larry Jones, 2006/08/13
- mkman.pl patch,
Kevin R. Bulgrien <=
- Re: mkman.pl patch, Kevin R. Bulgrien, 2006/08/13
- Re: mkman.pl patch, Larry Jones, 2006/08/14
- Re: mkman.pl patch, Derek R. Price, 2006/08/21
- Re: mkman.pl patch, Kevin R. Bulgrien, 2006/08/22
- Re: mkman.pl patch, Derek R. Price, 2006/08/21
- Re: mkman.pl patch, Kevin R. Bulgrien, 2006/08/22
- Re: cvs.texinfo updates? add/remove (3rd version of patch), Kevin R. Bulgrien, 2006/08/14
- Re: cvs.texinfo updates? add/remove (3rd version of patch), Derek R. Price, 2006/08/21