Re: Relating multiple index entries to one table item

Patrice Dumas <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <[email protected]>
On Sat, Nov 26, 2022 at 05:49:54PM +0100, Arsen Arsenović wrote:
> 
> Gavin Smith <[email protected]> writes:
> 
> > I have nuked the relate_index_entries_to_table_entries transformation
> > which made this association.  According to the changelog, I introduced
> > this code in November 2020.  This may remove some copiable anchors from
> > HTML manuals, for @item in @table.  We'll have to decide if and when
> > such should still be output.
> 
> I wanted to give implementing that an attempt, but while trying to
> configure and build the texinfo trunk, I get:

I cannot reproduce it with make or make check (in an out of tree build),
but with make html.  I will try to fix it.  As a side note make pdf does
not work if texi2pdf is not installed, I don't know if it should be
fixed to use in-source texi2pdf.

So, what exactly triggered that error?

> 
>   make[4]: Entering directory '/home/arsen/gnu/texinfo/_build/doc/tp_api'
>   restore=: && backupdir=".am$$" && \
>   rm -rf $backupdir && mkdir $backupdir && \
>   if (/usr/bin/perl -I ../../../tp/ ../../../tp/texi2any.pl --version) >/dev/null 2>&1; then \
>     for f in texi2any_internals.info texi2any_internals.info-[0-9] texi2any_internals.info-[0-9][0-9] texi2any_internals.i[0-9] texi2any_internals.i[0-9][0-9]; do \
>       if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
>     done; \
>   else :; fi && \
>   if /usr/bin/perl -I ../../../tp/ ../../../tp/texi2any.pl -c INFO_SPECIAL_CHARS_WARNING=0  -I ../../../doc/tp_api \
>    -o texi2any_internals.info `test -f 'texi2any_internals.texi' || echo '../../../doc/tp_api/'`texi2any_internals.texi; \
>   then \
>     rc=0; \
>   else \
>     rc=$?; \
>     $restore $backupdir/* `echo "./texi2any_internals.info" | sed 's|[^/]*$||'`; \
>   fi; \
>   rm -rf $backupdir; exit $rc
>   Can't locate Texinfo/ModulePath.pm in @INC (you may need to install the Texinfo::ModulePath module) (@INC contains: ../../../tp ../../../tp/ /etc/perl /usr/local/lib64/perl5/5.36/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.36 /usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.36 /usr/lib64/perl5/5.36/x86_64-linux-thread-multi /usr/lib64/perl5/5.36 /usr/lib64/perl5/vendor_perl/5.34) at ../../../tp/texi2any.pl line 78.
>   BEGIN failed--compilation aborted at ../../../tp/texi2any.pl line 107.
>   make[4]: *** [Makefile:1449: texi2any_internals.info] Error 2
>   make[4]: Leaving directory '/home/arsen/gnu/texinfo/_build/doc/tp_api'
>   make[3]: *** [Makefile:1414: all] Error 2
> 
> Though, this can be worked around with ./pre-inst-env make.  It seems
> like the $(builddir)/tp directory isn't added to the include path (this
> is an out-of-tree build, which is the configuration I normally opt for,
> since it allows multiple configurations at one time, as well as easier
> cleanup).
> 
> -- 
> Arsen Arsenović
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.