Re: Anchors do not work with makeinfo

2020-10-20 Thread Patrice Dumas
On Tue, Oct 20, 2020 at 03:02:58PM +0200, Christopher Dimech wrote:
> I have sent you a small test, it is not with anchors with with simple nodes 
> and
> sections:
> 
> I am getting the following output from makeinfo
> 

For some reason now the 'unreferenced node' messages have disappeared,
but there are unreferenced nodes in the document that cannot be reached, 
Specif-Intactv-Arg, Numrv-CodeLtr and two others.

So even though some messages could be unneeded in come context, there
should be some that remain to warn about the nodes that are unreachable.

-- 
Pat



Re: Anchors do not work with makeinfo

2020-10-20 Thread Gavin Smith
On Tue, Oct 20, 2020 at 03:02:58PM +0200, Christopher Dimech wrote:
> ./gela-test.texi:9: node `Introduction' lacks menu item for 
> `Specif-Intactv-Arg' despite being its Up target

I don't see why this should be a fatal error, when the others are
just warnings, so I've changed this to be just a warning in commit
882c684.



Re: Anchors do not work with makeinfo

2020-10-20 Thread Christopher Dimech
I have sent you a small test, it is not with anchors with with simple nodes and
sections:

I am getting the following output from makeinfo

makeinfo 00-gungadin-elisp-abbrev.texi; emacs gungadin-elisp-abbrev.info
00-gungadin-elisp-abbrev.texi:22: warning: @end ifclear should only appear at a 
line beginning
00-gungadin-elisp-abbrev.texi:55: warning: @end ifset should only appear at a 
line beginning
./gela-test.texi:49: warning: node next `Intactv-Function' in menu `Tpsw-Cmd' 
and in sectioning `Specif-Intactv-Arg' differ
./gela-test.texi:79: warning: unreferenced node `Specif-Intactv-Arg'
./gela-test.texi:79: warning: node `Numrv-CodeLtr' is next for 
`Specif-Intactv-Arg' in sectioning but not in menu
./gela-test.texi:79: warning: node `Intactv-Function' is prev for 
`Specif-Intactv-Arg' in sectioning but not in menu
./gela-test.texi:79: warning: node `Introduction' is up for 
`Specif-Intactv-Arg' in sectioning but not in menu
./gela-test.texi:9: node `Introduction' lacks menu item for 
`Specif-Intactv-Arg' despite being its Up target
./gela-test.texi:120: warning: unreferenced node `Numrv-CodeLtr'
./gela-test.texi:120: warning: node `Tpsw-Cmd' is next for `Numrv-CodeLtr' in 
sectioning but not in menu
./gela-test.texi:120: warning: node `Specif-Intactv-Arg' is prev for 
`Numrv-CodeLtr' in sectioning but not in menu
./gela-test.texi:120: warning: node `Introduction' is up for `Numrv-CodeLtr' in 
sectioning but not in menu
./gela-test.texi:9: node `Introduction' lacks menu item for `Numrv-CodeLtr' 
despite being its Up target
./gela-test.texi:153: warning: node `Fwd-Jumps' is next for `Tpsw-Cmd' in 
sectioning but not in menu
./gela-test.texi:153: warning: node prev `Tpsw-Cmd' in menu `Intactv-Function' 
and in sectioning `Numrv-CodeLtr' differ
./gela-test.texi:205: warning: unreferenced node `Fwd-Jumps'
./gela-test.texi:205: warning: node `Bck-Jumps' is next for `Fwd-Jumps' in 
sectioning but not in menu
./gela-test.texi:205: warning: node `Tpsw-Cmd' is prev for `Fwd-Jumps' in 
sectioning but not in menu
./gela-test.texi:205: warning: node `Introduction' is up for `Fwd-Jumps' in 
sectioning but not in menu
./gela-test.texi:9: node `Introduction' lacks menu item for `Fwd-Jumps' despite 
being its Up target
./gela-test.texi:255: warning: unreferenced node `Bck-Jumps'
./gela-test.texi:255: warning: node `Fwd-Jumps' is prev for `Bck-Jumps' in 
sectioning but not in menu
./gela-test.texi:255: warning: node `Introduction' is up for `Bck-Jumps' in 
sectioning but not in menu
./gela-test.texi:9: node `Introduction' lacks menu item for `Bck-Jumps' despite 
being its Up target
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "topmenu-gtk-module"




> Sent: Tuesday, October 20, 2020 at 2:41 PM
> From: "Patrice Dumas" 
> To: "Christopher Dimech" 
> Cc: "help-texinfo gnu" 
> Subject: Re: Anchors do not work with makeinfo
>
> On Tue, Oct 20, 2020 at 02:35:25PM +0200, Christopher Dimech wrote:
> > When I use an anchor, the link does not work when I use @ref
> > when I run makeinfo
>
> You'll need to be much more specific.  Which format?  What does not
> work?  makeinfo by itself setup links but does not use them.  Also
> probably the texinfo code, reasonably trimmed down to the interesting
> elements may be needed.
>
> --
> Pat
>


00-gungadin-elisp-abbrev.texi
Description: TeXInfo document


gela-test.texi
Description: TeXInfo document


Re: Anchors do not work with makeinfo

2020-10-20 Thread Patrice Dumas
On Tue, Oct 20, 2020 at 02:35:25PM +0200, Christopher Dimech wrote:
> When I use an anchor, the link does not work when I use @ref
> when I run makeinfo

You'll need to be much more specific.  Which format?  What does not
work?  makeinfo by itself setup links but does not use them.  Also
probably the texinfo code, reasonably trimmed down to the interesting
elements may be needed.

-- 
Pat 



Anchors do not work with makeinfo

2020-10-20 Thread Christopher Dimech
When I use an anchor, the link does not work when I use @ref
when I run makeinfo