From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel,gmane.emacs.orgmode,gmane.comp.internationalization.po4a.devel Subject: Re: 3 manuals fail to export to PO (gnus, idlwave, org) Date: Mon, 16 Apr 2018 07:27:40 +0900 Message-ID: <9A7EF7FE-BCA2-424E-ADC9-63FD0688E452@gmail.com> References: <83a7u44iqd.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_9B243D6B-E06F-47D3-A408-089BFFE64F70" X-Trace: blaine.gmane.org 1523831162 26499 195.159.176.226 (15 Apr 2018 22:26:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2018 22:26:02 +0000 (UTC) Cc: emacs-orgmode@gnu.org, po4a-devel@lists.alioth.debian.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 16 00:25:58 2018 Return-path: Envelope-to: ged-emacs-devel@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 1f7q5s-0006j5-Hg for ged-emacs-devel@m.gmane.org; Mon, 16 Apr 2018 00:25:56 +0200 Original-Received: from localhost ([::1]:48089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7q7x-0004im-Kq for ged-emacs-devel@m.gmane.org; Sun, 15 Apr 2018 18:28:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7q7n-0004iQ-HT for emacs-devel@gnu.org; Sun, 15 Apr 2018 18:27:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7q7l-0005ID-Up for emacs-devel@gnu.org; Sun, 15 Apr 2018 18:27:55 -0400 Original-Received: from mail-pl0-x230.google.com ([2607:f8b0:400e:c01::230]:43582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f7q7h-00059P-Q4; Sun, 15 Apr 2018 18:27:50 -0400 Original-Received: by mail-pl0-x230.google.com with SMTP id a39-v6so8930077pla.10; Sun, 15 Apr 2018 15:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=K1Gem5R/gqhX+pcIPd2GhQ6Aq2PW6uoHX2n8jBoaAb0=; b=dvJne7UjMmUaroEFjrDVkCYADvUwq3ngrToF/IHdP4HVKOkXsOLnaQuvQ2+WdrLT7z 5AZd08kf+bebTOLiOj9q2PfKf0tK5Uj4usQc/ThQ0tbZb4HLb3p1s9ImIOVVTuB8ojOl 67GEhxPmssrB7trIt0gF75z20Eyahv10F6esVa3iGJFKryAEOVneAEoYmFLCgnmtiXhC PjUuqNESiAelx6U+kzmfs4wZyLQpa91durcPD+lLJuQ+HMR7Duv8fejHJUukOUuL72Fz QbbzSO7Npo6ki9HhWhpbpU9dpbwTUk1wA4wwWbBWKWP29AW0SO6Pm3b+Nm/ehS7oUgFn HJrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=K1Gem5R/gqhX+pcIPd2GhQ6Aq2PW6uoHX2n8jBoaAb0=; b=p/DPmYHCtcs2bc08pqGoXn2sUUWJMGl1qwg7cuKatCeNxT9PrDlu4egSMZ+MuzeLE7 YFEJaLpk+rjIflBbktzbf8+7HmQFu7rKLHotZDpv1BvrMY0G58wWmnHMViFpt7SksyjE yGYeL6KqqGp9ssNtUwO0ofDLOxSmkJ2w8wOiL7/DyBwp3ayUxFQEtqLufjiGl1nvwmw0 VF9c5dJTS4UZH99uMYSwoxhACrI3Vnk0lCe+EJ5MlSvJjUaBJdkRahKe6HCc6J2lLRC5 K7oZU+n1t4uRWGqXD3mAnhmMWYSSYNCEyzktf9RDoGG9KTJyaMbXHwZH43gnGCo/Hrnv PgBw== X-Gm-Message-State: ALQs6tDMVC2to0Bu/Ps5ur/YKvPgFhEV5vw6+hyt23xVIO26guQnedIE CRZ6DhXReCc9nj8bCHbiuCbG0A== X-Google-Smtp-Source: AIpwx49clHxTG+/3WHS8W2EsNGJpYyUAMVjZTVjC6iX7Bz3RQBdKzHQeocYKopffGkDcejxBQ9XUPA== X-Received: by 2002:a17:902:bd8d:: with SMTP id q13-v6mr13347806pls.330.1523831268710; Sun, 15 Apr 2018 15:27:48 -0700 (PDT) Original-Received: from [192.168.1.7] (pl31219.ag0304.nttpc.ne.jp. [111.89.224.243]) by smtp.gmail.com with ESMTPSA id z13sm16214981pfe.55.2018.04.15.15.27.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Apr 2018 15:27:47 -0700 (PDT) In-Reply-To: <83a7u44iqd.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.6.18) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224626 gmane.emacs.orgmode:119657 gmane.comp.internationalization.po4a.devel:2511 Archived-At: --Apple-Mail=_9B243D6B-E06F-47D3-A408-089BFFE64F70 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Apr 16, 2018, at 0:00, Eli Zaretskii wrote: >=20 >> 3 manuals distributed with emacs fail to export to po format when = using the following command: >>=20 >> po4a-gettextize -f texinfo -M utf8 -m name.texi -p name.texi.fr.po >>=20 >> gnus.texi >>=20 >> 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 >=20 > 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. I just sent the report, my idea is that it's po4a issues but the = po4a-devel list doesn't respond. Jean-Christophe=20 >=20 >> idlwave.texi >>=20 >> 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' >=20 > These all seem bogus, because the source looks correct to me. Here's > the first instance: >=20 > @html > > @end html >=20 > I see nothing wrong here; do you? >=20 > (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.) >=20 >> idlwave.texi:4088: (po4a::tex) >> un-balanced { in 'Whenever an IDL error occurs or a breakpoint is = hit, I get' >=20 > Nothing wrong here, either: >=20 > @enumerate >=20 > @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.} >=20 > The Texinfo manual says it's okay to have multi-line text after @item: >=20 > 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. >=20 > Looks like po4a doesn't support this feature of the Texinfo language? >=20 >> org.texi >>=20 >> perl just keeps churning data without outputting anything. >=20 > Hard to do anything with this, without more diagnostic data. >=20 >> A number of other manuals output errors but are properly exported to = po: >=20 > These looks bogus as well. E.g.: >=20 >> cmdargs.texi:726: (po4a::tex) >> unmatched end of environment 'vtable' >=20 > There's a matching "@vtable @env" on line 674. >=20 > So I submit these problems are bugs in po4a, and the Emacs manuals are > OK. >=20 > Thanks. Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune --Apple-Mail=_9B243D6B-E06F-47D3-A408-089BFFE64F70 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Apr 16, 2018, at 0:00, Eli Zaretskii <eliz@gnu.org> = wrote:

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.

I just sent the report, my idea is that it's po4a = issues but the po4a-devel list doesn't respond.

Jean-Christophe 


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
 <A NAME=3D"TUTORIAL"></A>
 @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.

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune


= --Apple-Mail=_9B243D6B-E06F-47D3-A408-089BFFE64F70--