Hi Clint,

Clint Adams schrieb am Wed 04. Oct, 05:19 (-0400):
> > you have more .RE than .RS in the zsh manpages.
> > 
> > % grep -c '\.RE' /tmp/zshcompsys.1 
> > 177
> > % grep -c '\.RS' /tmp/zshcompsys.1
> > 171
> 
> The manpages are auto-generated.  Is there a bug in the .yo files
> or in yodl itself?

I can't rebuild the manpages.

% yodl --version
yodl version 2.04a

zsh: exit 1     yodl --version
% rm Doc/*.1
% make -C obj/Doc 
make: Entering directory `/home/joerg/programmieren/pkg/zsh-4.3.2/obj/Doc'
yodl -o ../../Doc/zsh.1 -I../../Doc -w zman.yo version.yo ../../Doc/zsh.yo
Can't read `../../Doc/zsh.yo'
yodl -o ../../Doc/zshbuiltins.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshbuiltins.yo
Can't read `../../Doc/zshbuiltins.yo'
yodl -o ../../Doc/zshcompctl.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshcompctl.yo
Can't read `../../Doc/zshcompctl.yo'
yodl -o ../../Doc/zshcompwid.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshcompwid.yo
Can't read `../../Doc/zshcompwid.yo'
yodl -o ../../Doc/zshcompsys.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshcompsys.yo
Can't read `../../Doc/zshcompsys.yo'
yodl -o ../../Doc/zshcontrib.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshcontrib.yo
Can't read `../../Doc/zshcontrib.yo'
yodl -o ../../Doc/zshexpn.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshexpn.yo
Can't read `../../Doc/zshexpn.yo'
yodl -o ../../Doc/zshmisc.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshmisc.yo
Can't read `../../Doc/zshmisc.yo'
yodl -o ../../Doc/zshmodules.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshmodules.yo
Can't read `../../Doc/zshmodules.yo'
yodl -o ../../Doc/zshoptions.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshoptions.yo
Can't read `../../Doc/zshoptions.yo'
yodl -o ../../Doc/zshparam.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshparam.yo
Can't read `../../Doc/zshparam.yo'
yodl -o ../../Doc/zshroadmap.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshroadmap.yo
Can't read `../../Doc/zshroadmap.yo'
yodl -o ../../Doc/zshtcpsys.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshtcpsys.yo
Can't read `../../Doc/zshtcpsys.yo'
yodl -o ../../Doc/zshzftpsys.1 -I../../Doc -w zman.yo version.yo 
../../Doc/zshzftpsys.yo
Can't read `../../Doc/zshzftpsys.yo'
yodl -o ../../Doc/zshzle.1 -I../../Doc -w zman.yo version.yo ../../Doc/zshzle.yo
Can't read `../../Doc/zshzle.yo'
yodl -o ../../Doc/zshall.1 -I../../Doc -DZSHALL -w zman.yo version.yo zsh.yo
zman.yo:1: STARTDEF() is deprecated. INCWSLEVEL() is used instead
Zsh Yodl-to-man converter
zman.yo:6: DEFINESYMBOL: Missing parameter list. `(' expected
make: Leaving directory `/home/joerg/programmieren/pkg/zsh-4.3.2/obj/Doc'

#v+
diff -u -x '*.1' -x '*.texi' -r zsh-4.3.2/Doc/version.yo 
/home/joerg/programmieren/pkg/zsh-4.3.2/Doc/version.yo
--- zsh-4.3.2/Doc/version.yo    2006-03-02 15:29:07.000000000 +0100
+++ /home/joerg/programmieren/pkg/zsh-4.3.2/Doc/version.yo      2006-10-08 
03:25:10.000000000 +0200
@@ -1,4 +1,4 @@
-STARTDEF()
+INCWSLEVEL()
 def(version)(0)(4.3.2)
 def(date)(0)(March 2, 2006)
-ENDDEF()\
+DECWSLEVEL()\
diff -u -x '*.1' -x '*.texi' -r zsh-4.3.2/Doc/zmacros.yo 
/home/joerg/programmieren/pkg/zsh-4.3.2/Doc/zmacros.yo
--- zsh-4.3.2/Doc/zmacros.yo    2005-08-19 15:51:12.000000000 +0200
+++ /home/joerg/programmieren/pkg/zsh-4.3.2/Doc/zmacros.yo      2006-10-08 
03:36:15.000000000 +0200
@@ -1,4 +1,4 @@
-STARTDEF()
+INCWSLEVEL()
 
 DEFINEMACRO(includefile)(1)(\
   TYPEOUT(Including file ARG1)\
@@ -13,7 +13,7 @@
   UNDEFINEMACRO(ARG1)\
 )
 DEFINEMACRO(redef)(3)(\
-  UNDEFINEMACRO(ARG1)\
+  DELETEMACRO(ARG1)\
   DEFINEMACRO(ARG1)(ARG2)(ARG3)\
 )
 
@@ -32,4 +32,4 @@
 DEFINEMACRO(ifztexi)(1)()
 DEFINEMACRO(ifnztexi)(1)(ARG1)
 
-ENDDEF()
+DECWSLEVEL()
diff -u -x '*.1' -x '*.texi' -r zsh-4.3.2/Doc/zman.yo 
/home/joerg/programmieren/pkg/zsh-4.3.2/Doc/zman.yo
--- zsh-4.3.2/Doc/zman.yo       2001-06-28 19:02:57.000000000 +0200
+++ /home/joerg/programmieren/pkg/zsh-4.3.2/Doc/zman.yo 2006-10-08 
04:04:29.000000000 +0200
@@ -1,7 +1,7 @@
-STARTDEF()
+INCWSLEVEL()
 
 TYPEOUT(Zsh Yodl-to-man converter)
-DEFINESYMBOL(zman)
+DEFINESYMBOL(zman)()
 
 INCLUDEFILE(zmacros)
 redef(ifzman)(1)(ARG1)
@@ -25,10 +25,10 @@
 
 COMMENT(--- emphasised text ---)
 
-def(em)(1)(NOTRANS(\fI)ARG1NOTRANS(\fP))
-def(bf)(1)(NOTRANS(\fB)ARG1NOTRANS(\fP))
-def(tt)(1)(NOTRANS(\fB)ARG1NOTRANS(\fP))
-def(var)(1)(NOTRANS(\fI)ARG1NOTRANS(\fP))
+def(em)(1)(NOTRANS(\fI)ARG1+NOTRANS(\fP))
+def(bf)(1)(NOTRANS(\fB)ARG1+NOTRANS(\fP))
+def(tt)(1)(NOTRANS(\fB)ARG1+NOTRANS(\fP))
+def(var)(1)(NOTRANS(\fI)ARG1+NOTRANS(\fP))
 
 COMMENT(--- man page headers ---)
 
@@ -81,14 +81,14 @@
 )
 def(comment)(1)(\
   USECHARTABLE(roffcomment)\
-  NOTRANS(.\" )ARG1\
+  NOTRANS(.\" )ARG1+NL()\
   USECHARTABLE(standard)\
 )
 
 COMMENT(--- cross-references ---)
 
 def(manref)(2)(\
-  NOTRANS(\fI)ARG1NOTRANS(\fP)(ARG2)\
+  NOTRANS(\fI)ARG1+NOTRANS(\fP)(ARG2)\
 )
 def(zmanref)(1)(manref(ARG1)(1))
 def(noderef)(1)(the section `ARG1')
@@ -116,7 +116,7 @@
     redef(ENDITEM)(0)(NOTRANS(.RE)STDPAR())\
   )\
   ARG2\
-  ENDITEM()\
+  NL()ENDITEM()\
 )
 def(xitem)(1)(\
   NOTRANS(.TP)NL()\
@@ -166,7 +166,7 @@
 
 def(example)(1)(\
   NOTRANS(.RS)NL()NOTRANS(.nf)NL()\
-  NOTRANS(\fB)ARG1NOTRANS(\fP)\
+  NOTRANS(\fB)ARG1+NOTRANS(\fP)\
   NL()NOTRANS(.fi)NL()NOTRANS(.RE)\
 )
 
@@ -197,4 +197,4 @@
 def(tindex)(1)(CMT())
 def(vindex)(1)(CMT())
 
-ENDDEF()\
+DECWSLEVEL()\
#v-

And yes, I think there is a bug in the yodl files.

Regards, Jörg.
-- 
Im Leben lernt der Mensch als erstes das Gehen und Sprechen.
Später lernt er still zu sitzen und den Mund zu halten.

Attachment: pgpxyCebt0ARI.pgp
Description: PGP signature

Reply via email to