bug-texinfo
[Top][All Lists]
Advanced

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

Re: info '(latex2e)\indent & \noindent' doesn't work with Msys2


From: Arash Esbati
Subject: Re: info '(latex2e)\indent & \noindent' doesn't work with Msys2
Date: Mon, 03 Apr 2023 17:57:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Gavin Smith <gavinsmith0123@gmail.com> writes:

> The first thing to check is that it is the same file that is being
> displayed both times.  After you run 'info dir', could you press
> '='?  This will show the name of the file being displayed in the
> status line.

Msys2 info reports:

  /usr/share/info/coreutils.info.gz

My native build reports:

  C:\msys64\usr\share\info/coreutils.info.gz

So yes, they both are displaying the same file.

> The next step after this would be to look at the files themselves (e.g.
> with less or a text editor) and see what kinds of quote marks are used
> within -- this would indicate whether info was doing any kind of
> conversion.

coreutils.info looks like this:

  10.2 ‘dir’: Briefly list directory contents
  ===========================================

  ‘dir’ is equivalent to ‘ls -C -b’; that is, by default files are listed
  in columns, sorted vertically, and special characters are represented by
  backslash escape sequences.

     *Note ‘ls’: ls invocation.

So it is my build doing a conversion.

> Also check the end of the Info files for a "coding" directive.

  Local Variables:
  coding: utf-8
  End:

> This appears to be an error message printed by Perl.  What comes
> before this?  Is it from a run of texi2any?

Yes, it seems to a texi2any run:

--8<---------------cut here---------------start------------->8---
if (TEXINFO_DEV_SOURCE=1 ; export TEXINFO_DEV_SOURCE ; top_srcdir=".." ; export 
top_srcdir ; top_builddir=".." ; export top_builddir ; /mingw64/bin/perl 
../tp/texi2any --version) >/dev/null 2>&1; then \
  for f in texi2any_api.info texi2any_api.info-[0-9] 
texi2any_api.info-[0-9][0-9] texi2any_api.i[0-9] texi2any_api.i[0-9][0-9]; do \
    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
if TEXINFO_DEV_SOURCE=1 ; export TEXINFO_DEV_SOURCE ; top_srcdir=".." ; export 
top_srcdir ; top_builddir=".." ; export top_builddir ; /mingw64/bin/perl 
../tp/texi2any -c INFO_SPECIAL_CHARS_WARNING=0  -I . \
 -o texi2any_api.info `test -f 'texi2any_api.texi' || echo 
'./'`texi2any_api.texi; \
then \
  rc=0; \
else \
  rc=$?; \
  $restore $backupdir/* `echo "./texi2any_api.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
Locale 'English_United States.1252' may not work well.
The following characters (and maybe others) may not have the same meaning as 
the Perl program expects:
\t
--8<---------------cut here---------------end--------------->8---

This is with perl v5.32.1 (native build).

Best, Arash



reply via email to

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