Re: Relating multiple index entries to one table item

Arsen Arsenović <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <[email protected]>
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.

That it does.  Rebuilding the GCC manual, those are gone.  I still stand
by the more consistent zero-or-more @index commands followed by a @item
idea as a solution to this problem, since IMO the code that was enabled
by this relate transform wasn't great in the first place.

I wanted to give implementing that an attempt, but while trying to
configure and build the texinfo trunk, I get:

  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ć
signature.asc (application/pgp-signature, 381 B)
-----BEGIN PGP SIGNATURE-----

iOYEARYKAI4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCY4JI2l8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF
MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxAcYXJzZW5AYWFy
c2VuLm1lAAoJEFLClDAeosSTGm8BAITsjxophBl/atTKD032SNFmJZ/D5XeF/8h/
/JktaC4+AP9OMeJAu35gqSc+T5Xq1lHrRH2SIm5MdkKokDsDHwH8Dw==
=MNaL
-----END PGP SIGNATURE-----
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.