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

Re: install.info failure

> 2021/05/25 5:22、Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>のメール:
> Daniel Shahaf wrote on Sat, May 22, 2021 at 13:23:35 +0000:
>> Vin Shelton wrote on Sat, 22 May 2021 13:11 +00:00:
>>> tzsh.texi:37730: @ref reference to nonexistent node `Manipulating Hook Functions'
>> Regression from 48853, which added a noderef() to something that isn't
>> the argument of a texinode().

I was not following this thread, but 'make html' also fails after the commit.

@ref can refer only to a node or an anchor.
A simple fix is to add a new yodl macro 'anchor' and put an anchor at the
subsection 'Manipulating Hook Functions'.

diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index a972f08d6..12ad3198a 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -287,6 +287,7 @@ any prefix, even a single letter; thus tt(a) is the same as tt(aliases),
 tt(z) is the same as tt(zstyles), etc.
+anchor(Manipulating Hook Functions)
 subsect(Manipulating Hook Functions)
 cindex(hook function utility)
diff --git a/Doc/ztexi.yo b/Doc/ztexi.yo
index 50bae6d48..c22f71b2d 100644
--- a/Doc/ztexi.yo
+++ b/Doc/ztexi.yo
@@ -155,6 +155,7 @@ def(zmanref)(1)(manref(ARG1)(1))
 COMMENT(--- lists ---)

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