From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe Helary 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> 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" Return-path: In-Reply-To: <83a7u44iqd.fsf@gnu.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sender: "Emacs-devel" To: Eli Zaretskii Cc: emacs-orgmode@gnu.org, po4a-devel@lists.alioth.debian.org, emacs-devel@gnu.org List-Id: emacs-orgmode.gnu.org --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--