bug-texinfo
[Top][All Lists]
Advanced

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

Re: [bug #38795] texi2any makes CR in output when input is mixed CR-LF a


From: Vincent Belaïche
Subject: Re: [bug #38795] texi2any makes CR in output when input is mixed CR-LF and LF files
Date: Wed, 21 Aug 2013 08:27:37 +0200
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

Karl Berry a écrit :
Vincent - I understand about the problem of files in combination, but
... like I said, please send me test files (and cmdline invocation) that
demonstrate the problem with the current code.  Everything I tried
works.  It doesn't make sense for me to spend more time guessing at the
problematic case.

Thanks,
k

Hello Karl,

The problematic case is the bbdb.tgz file archive that was attached to the bug report. I unzipped this to some directory, and then I launched the command

makeinfo bbdb.texi

makeinfo on my machine calls some wrapper, the code source is there:

https://savannah.gnu.org/bugs/download.php?file_id=28892

and the wrapper has been compiled with g++ of mingw

when I open a shell console under emacs, and I launch the command line, then I get that sort of output:

----
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\Documents and Settings\Vincent\Local Settings\Temp\bug_38795>makeinfo bbdb.texi
makeinfo bbdb.texi
Locales dir for document strings not found
makeinfo-dos.cpp cmdline=c:\msys\1.0\lib\activePerl\bin\perl.exe c:\Programme\GNU\installation\texinfo-install\trunk.old\tp\texi2any.pl "bbdb.texi"

c:\Documents and Settings\Vincent\Local Settings\Temp\bug_38795>
----

and the resulting info file is that one:

https://savannah.gnu.org/bugs/download.php?file_id=28893

Now, if under EMACS I edit bbdb.texi and I lauch Makeinfo from AUCTeX, then I get that sort of output in the compilation buffer:

--------
-*- mode: compilation; default-directory: "c:/Documents and Settings/Vincent/Local Settings/Temp/bug_38795/" -*-
Compilation started at Wed Aug 21 07:58:30

makeinfo "bbdb.texi"
Locales dir for document strings not found
makeinfo-dos.cpp cmdline=c:\msys\1.0\lib\activePerl\bin\perl.exe c:\Programme\GNU\installation\texinfo-install\trunk.old\tp\texi2any.pl "bbdb.texi"

Compilation finished at Wed Aug 21 07:58:34
--------

and the resulting file is that one:

https://savannah.gnu.org/bugs/download.php?file_id=28894

Now, there is something which I had not noticed in the first place: the info files are not the same in terms of amount of CR. It seems that the problem is quite funnier than I had initially thought :-/, I can't figure out what is happening ...

I have to go to work now, I will post more information later on (like what texi2any I am using, what activeperl version, and also info files resulting from launching the wrapper from other environments, or from doing by hand the command line that the wrapper is doing).

Anyway, please note that I am not in trouble with this problem, the files on all the projects which I am working about are consistently encoded, my point was rather to contribute to texinfo project by reporting the strange behaviour.

VBR,
  Vincent.







reply via email to

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