zsh-workers
 help / color / mirror / code / Atom feed
* A minor yodl incompatibility?
@ 2014-03-14 14:26 Jun T.
  2014-03-14 18:49 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Jun T. @ 2014-03-14 14:26 UTC (permalink / raw)
  To: zsh-workers

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()\
   )\




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: A minor yodl incompatibility?
  2014-03-14 14:26 A minor yodl incompatibility? Jun T.
@ 2014-03-14 18:49 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2014-03-14 18:49 UTC (permalink / raw)
  To: zsh-workers

On Fri, 14 Mar 2014 23:26:50 +0900
"Jun T." <takimoto-j@kba.biglobe.ne.jp> wrote:
> 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.

Looks OK with 1.31.18, so I assume your fix is fine.

pws


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-14 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-14 14:26 A minor yodl incompatibility? Jun T.
2014-03-14 18:49 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).