Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

A minor yodl incompatibility?



zshzle.1 generated on my machines (using yodl 3.0 or 2.15)
contains the following line

.SH "USER\e\-DEFINED WIDGETS"

which will be displayed by "man zshzle" as

USER\-DEFINED WIDGETS

It seems the character translation table "standard"
defined near the top of zman.yo is applied twice when
generating the section title.
(zshtcpsys.1 has the same problem)

The man pages in the release tar ball are OK, indicating
that at least some version (ver 1.x?) of yodl doesn't have
this problem.

In the patch below, I assumed (or guessed) that the problem
exists only in yodl ver 2.0 or later, and IFDEF(INCWSLEVE)
is equivalent to 'if ver >= 2.0'; but this is just my guess.


diff --git a/Doc/zman.yo b/Doc/zman.yo
index 7aa0913..8d17f78 100644
--- a/Doc/zman.yo
+++ b/Doc/zman.yo
@@ -69,7 +69,7 @@ def(chapter)(1)(CMT())
 COMMENT(--- the "" works around a yodl bug in versions before 2 ---)
 def(sect)(1)(\
   IFDEF(INCWSLEVEL)(\
-  NOTRANS(.SH )"UPPERCASE(ARG1)(0)"+NL()\
+  NOTRANS(.SH )"UPPERCASE(NOTRANS(ARG1))(0)"+NL()\
   )(\
   NOTRANS(.SH )UPPERCASE(ARG1)(0)""+NL()\
   )\





Messages sorted by: Reverse Date, Date, Thread, Author