From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.orgmode,gmane.comp.internationalization.po4a.devel,gmane.emacs.devel Subject: Re: 3 manuals fail to export to PO (gnus, idlwave, org) Date: Sun, 15 Apr 2018 18:00:58 +0300 Message-ID: <83a7u44iqd.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1523804384 4551 195.159.176.226 (15 Apr 2018 14:59:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2018 14:59:44 +0000 (UTC) Cc: emacs-orgmode@gnu.org, po4a-devel@lists.alioth.debian.org, emacs-devel@gnu.org To: Jean-Christophe Helary Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sun Apr 15 16:59:40 2018 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7j7z-000160-4L for geo-emacs-orgmode@m.gmane.org; Sun, 15 Apr 2018 16:59:39 +0200 Original-Received: from localhost ([::1]:48467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7jA5-0000R8-J0 for geo-emacs-orgmode@m.gmane.org; Sun, 15 Apr 2018 11:01:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7j9J-0000Qa-QZ for emacs-orgmode@gnu.org; Sun, 15 Apr 2018 11:01:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7j9E-000389-Ul for emacs-orgmode@gnu.org; Sun, 15 Apr 2018 11:01:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7j9E-00037n-Qk; Sun, 15 Apr 2018 11:00:56 -0400 Original-Received: from [176.228.60.248] (port=3016 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f7j9E-0006M1-7H; Sun, 15 Apr 2018 11:00:56 -0400 In-reply-to: (message from Jean-Christophe Helary on Sun, 15 Apr 2018 21:33:18 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Original-Sender: "Emacs-orgmode" Xref: news.gmane.org gmane.emacs.orgmode:119654 gmane.comp.internationalization.po4a.devel:2510 gmane.emacs.devel:224619 Archived-At: > From: Jean-Christophe Helary > Date: Sun, 15 Apr 2018 21:33:18 +0900 > > 3 manuals distributed with emacs fail to export to po format when using the following command: > > po4a-gettextize -f texinfo -M utf8 -m name.texi -p name.texi.fr.po > > gnus.texi > > Use of uninitialized value $newfilepath in string eq at /opt/local/lib/perl5/5.24/Locale/Po4a/TeX.pm line 961. > po4a::tex: Can't find gnus.texi with kpsewhich I don't understand what this error message means, in terms of the Texinfo sources. Can you explain, please? Taken at face value, it looks like a bug in TeX.pm, whereby a variable is not initialized. > idlwave.texi > > idlwave.texi:370: (po4a::tex) > unmatched end of environment 'html' > idlwave.texi:1242: (po4a::tex) > unmatched end of environment 'html' > idlwave.texi:2964: (po4a::tex) > unmatched end of environment 'html' > idlwave.texi:3101: (po4a::tex) > unmatched end of environment 'html' > idlwave.texi:3497: (po4a::tex) > unmatched end of environment 'html' > idlwave.texi:3559: (po4a::tex) > unmatched end of environment 'html' > idlwave.texi:4021: (po4a::tex) > unmatched end of environment 'html' > idlwave.texi:4078: (po4a::tex) > unmatched end of environment 'html' These all seem bogus, because the source looks correct to me. Here's the first instance: @html @end html I see nothing wrong here; do you? (Maybe you are using an old version of the manual; I looked in what's currently on the emacs-26 branch of the Emacs Git repository.) > idlwave.texi:4088: (po4a::tex) > un-balanced { in 'Whenever an IDL error occurs or a breakpoint is hit, I get' Nothing wrong here, either: @enumerate @item @strong{Whenever an IDL error occurs or a breakpoint is hit, I get errors or strange behavior when I try to type anything into some of my IDLWAVE buffers.} The Texinfo manual says it's okay to have multi-line text after @item: Write the text of the enumerated list in the same way as an itemized list: write a line starting with '@item' at the beginning of each item in the enumeration. It is ok to have text following the '@item', and the text for an item can continue for several paragraphs. Looks like po4a doesn't support this feature of the Texinfo language? > org.texi > > perl just keeps churning data without outputting anything. Hard to do anything with this, without more diagnostic data. > A number of other manuals output errors but are properly exported to po: These looks bogus as well. E.g.: > cmdargs.texi:726: (po4a::tex) > unmatched end of environment 'vtable' There's a matching "@vtable @env" on line 674. So I submit these problems are bugs in po4a, and the Emacs manuals are OK. Thanks.