Re: breadcrumb navigation

Patrice Dumas <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <[email protected]>
On Sun, Aug 09, 2026 at 09:23:49PM +0000, Werner LEMBERG wrote:
> 
> Folks,
> 
> 
> this Merge Request for LilyPond
> 
>   https://gitlab.com/lilypond/lilypond/-/merge_requests/3097
>   https://gitlab.com/lilypond/lilypond/-/merge_requests/3097/diffs?commit_id=3a70b019d6ba0fef73c331ca4c727d3c85d49810
> 
> adds breadcrumb navigation, i.e., 
> 
> 
>    top / level1 / level2 / ...
> 
> by adding some code to the texi2any init file `lilypond.init`
> (together with some CSS changes, see attached images for results).  I
> wonder whether the Perl code is sound, so please have a look and
> comment if you have some time!

I did not test, but read the code, and it looks good to me.  There is
something similar to lilypond_format_breadcrumbs in
tta/perl/init/book.init in the function book_print_up_toc (without
manual title nor link to other documentation).

> Irrespective of that it would be great if Texinfo could provide
> breadcrumb navigation natively...

In text browser or without CSS more generally, I suspect that the
breadcrumbs would go in the way.  Also I guess that the breadcrumbs
replace the current header navigation panel, I am not sure that it is
such a good idea when the node is long or when not split at node.

It could be a good thing to add an init file with breadcrumbs
navigation, though.

-- 
Pat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.