zsh-workers
 help / color / mirror / code / Atom feed
From: Jun T <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: install.info failure
Date: Tue, 25 May 2021 17:25:38 +0900	[thread overview]
Message-ID: <790340D6-F96D-4A63-A6AD-5B4BF24BAEC0@kba.biglobe.ne.jp> (raw)
In-Reply-To: <CAH+w=7at-8dYejB1K9qDKij8xzhLF=JwQj4_nmeAh5qfj6bbPA@mail.gmail.com>



> 2021/05/25 15:48, Bart Schaefer <schaefer@brasslantern.com> wrote:
> 
> On Mon, May 24, 2021 at 9:02 PM Jun T <takimoto-j@kba.biglobe.ne.jp> wrote:
> 
> A simple fix is to add a new yodl macro 'anchor' and put an anchor at the
> subsection 'Manipulating Hook Functions'.
> 
> I've wondered for a while why we did not add anchor creation to the subsect() macro.

This sounded a good idea, so I tried (in ztexi.yo):

def(subsect)(1)(\
  NL()\
  anchor(ARG1)NL()\
  NOTRANS(@subsection )ARG1+NL()\
  NOTRANS(@noindent)\
)

but I got many duplicated node/anchor names errors:

/zsh.texi:4346: @anchor `Overview' previously defined
./zsh.texi:4344: here is the previous definition as @node

I tried adding a prefix SS- to the subsection anchor name:

def(subsect)(1)(\
  NL()\
  anchor(SS-ARG1)NL()\
  NOTRANS(@subsection )ARG1+NL()\
  NOTRANS(@noindent)\
)

but still got may (16?) duplicated names like:

./zsh.texi:10007: @anchor `SS-Completion' previously defined
./zsh.texi:586: here is the previous definition as @anchor

subsect(Completion) is in 4 files:
options.yo
roadmap.yo
zftpsys.yo
zle.yo

I can't find a way to automatically assign unique (but easy to refer)
anchor name.

  reply	other threads:[~2021-05-25  8:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-22 13:11 Vin Shelton
2021-05-22 13:23 ` Daniel Shahaf
2021-05-24 20:22   ` Daniel Shahaf
2021-05-25  4:00     ` Jun T
2021-05-25  6:48       ` Bart Schaefer
2021-05-25  8:25         ` Jun T [this message]
2021-05-25 16:00           ` Bart Schaefer
2021-05-25 16:47           ` Daniel Shahaf
2021-05-25 20:58     ` Marlon Richert
2021-05-25 21:54       ` Bart Schaefer
2021-05-25 22:16       ` dana
2021-05-27 18:26         ` Marlon Richert
2021-05-31 22:33           ` Bart Schaefer
2021-06-01 10:44             ` Marlon Richert
2021-06-02  6:33               ` Bart Schaefer
2021-06-04 21:49                 ` dana
2021-06-05 16:09                   ` Bart Schaefer
2021-06-13 18:23                     ` [PATCH] " Bart Schaefer
2021-06-05 10:47 Thomas Paulsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=790340D6-F96D-4A63-A6AD-5B4BF24BAEC0@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).