help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Relating multiple index entries to one table item


From: Arsen Arsenović
Subject: Re: Relating multiple index entries to one table item
Date: Sat, 26 Nov 2022 17:49:54 +0100

Gavin Smith <gavinsmith0123@gmail.com> 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ć

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]