bug-texinfo
[Top][All Lists]
Advanced

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

Re: Build failure for texinfo revision 6402 from SVN


From: Gavin Smith
Subject: Re: Build failure for texinfo revision 6402 from SVN
Date: Sat, 11 Jul 2015 13:46:35 +0100

On 11 July 2015 at 13:13, Gavin Smith <address@hidden> wrote:
>> Hello,
>> I only have de_DE.utf8.
>>
>> address@hidden texinfo]$ locale -a
>> C
>> POSIX
>> de_DE
>> de_DE.iso88591
>> address@hidden
>> de_DE.utf8
>> address@hidden
>> deutsch
>> german
>>
>> After your mail I uncommented the line
>> fr_FR.UTF-8 UTF-8
>> in /etc/locale.gen and reran locale-gen, but the issue remains.
>
> Using en_US-UTF-8 would work. You have a UTF-8 locale, but I don't
> know the best way of finding it, other than trying lots of different
> options like "de_DE.utf8", etc.
>
> Using "setlocale (LC_CTYPE, ".UTF-8")" doesn't work - the language
> code must be present. Any suggestions, other than trying to run
> "locale -a" when the program is run?

You could try the latest SVN version, which looks at the current locale name.

If this works, and you wanted to help test the development version,
you could try enabling the use of the XS extension module that this is
for by making the following change to the sources:

Index: tp/Texinfo/Convert/Plaintext.pm
===================================================================
--- tp/Texinfo/Convert/Plaintext.pm     (revision 6400)
+++ tp/Texinfo/Convert/Plaintext.pm     (working copy)
@@ -663,8 +663,8 @@ sub new_formatter($$;$)
   if ($type eq 'line') {
     $container = Texinfo::Convert::Line->new($container_conf);
   } elsif ($type eq 'paragraph') {
-    $container = Texinfo::Convert::Paragraph->new($container_conf);
-    #$container = XSParagraph->new($container_conf);
+    #$container = Texinfo::Convert::Paragraph->new($container_conf);
+    $container = XSParagraph->new($container_conf);
   } elsif ($type eq 'unfilled') {
     $container = Texinfo::Convert::UnFilled->new($container_conf);
   } else {



reply via email to

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