all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 3 manuals fail to export to PO (gnus, idlwave, org)
@ 2018-04-15 12:33 Jean-Christophe Helary
  2018-04-15 15:00 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Christophe Helary @ 2018-04-15 12:33 UTC (permalink / raw)
  To: Emacs developers, po4a-devel, Org-mode

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

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'
idlwave.texi:4088: (po4a::tex)
un-balanced { in 'Whenever an IDL error occurs or a breakpoint is hit, I get'

org.texi

perl just keeps churning data without outputting anything.


A number of other manuals output errors but are properly exported to po:

emacs-lisp-intro.texi:214: (po4a::tex)
unmatched end of environment 'html'

cmdargs.texi:726: (po4a::tex)
unmatched end of environment 'vtable'

emacs.texi:126: (po4a::tex)
unmatched end of environment 'html'

frames.texi:1284: (po4a::tex)
unmatched end of environment 'vtable'

flymake.texi:249: (po4a::tex)
unmatched end of environment 'vtable'
flymake.texi:730: (po4a::tex)
unmatched end of environment 'vtable'

info.texi:1253: (po4a::tex)
unmatched end of environment 'vtable'

mh-e.texi:80: (po4a::tex)
unmatched end of environment 'html'
mh-e.texi:85: (po4a::tex)
unmatched end of environment 'html'
mh-e.texi:94: (po4a::tex)
unmatched end of environment 'html'
mh-e.texi:198: (po4a::tex)
unmatched end of environment 'html'
mh-e.texi:1272: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:1322: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:1394: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:1403: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:1939: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:1952: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:1989: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:2232: (po4a::tex)
unmatched end of environment 'html'
mh-e.texi:3385: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:3419: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:3472: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:3964: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:3980: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:4711: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:4731: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:4738: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:5772: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:5780: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:6076: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:6337: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:6354: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:6456: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:6633: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:6640: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:6647: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:7107: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:7388: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:7395: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:7590: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:7602: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:7614: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:7624: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:7978: (po4a::tex)
unmatched end of environment 'ftable'
mh-e.texi:8082: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:8226: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:8394: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:8448: (po4a::tex)
unmatched end of environment 'vtable'
mh-e.texi:8658: (po4a::tex)
unmatched end of environment 'vtable'

octave-mode.texi:170: (po4a::tex)
unmatched end of environment 'vtable'
octave-mode.texi:343: (po4a::tex)
unmatched end of environment 'vtable'

ses.texi:512: (po4a::tex)
unmatched end of environment 'ftable'

widget.texi:690: (po4a::tex)
unmatched end of environment 'deffn'

woman.texi:868: (po4a::tex)
unmatched end of environment 'vtable'
woman.texi:1115: (po4a::tex)
unmatched end of environment 'vtable'
woman.texi:1158: (po4a::tex)
unmatched end of environment 'vtable'
woman.texi:1193: (po4a::tex)
unmatched end of environment 'vtable'
woman.texi:1228: (po4a::tex)
unmatched end of environment 'vtable'

elisp.texi:167: (po4a::tex)
unmatched end of environment 'html'

modes.texi:2631: (po4a::tex)
unmatched end of environment 'ftable'



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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 3 manuals fail to export to PO (gnus, idlwave, org)
  2018-04-15 12:33 3 manuals fail to export to PO (gnus, idlwave, org) Jean-Christophe Helary
@ 2018-04-15 15:00 ` Eli Zaretskii
  2018-04-15 22:27   ` Jean-Christophe Helary
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2018-04-15 15:00 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-orgmode, po4a-devel, emacs-devel

> From: Jean-Christophe Helary <jean.christophe.helary@gmail.com>
> 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
  <A NAME="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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 3 manuals fail to export to PO (gnus, idlwave, org)
  2018-04-15 15:00 ` Eli Zaretskii
@ 2018-04-15 22:27   ` Jean-Christophe Helary
  0 siblings, 0 replies; 3+ messages in thread
From: Jean-Christophe Helary @ 2018-04-15 22:27 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-orgmode, po4a-devel, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 3176 bytes --]



> 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="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



[-- Attachment #2: Type: text/html, Size: 34595 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-15 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-15 12:33 3 manuals fail to export to PO (gnus, idlwave, org) Jean-Christophe Helary
2018-04-15 15:00 ` Eli Zaretskii
2018-04-15 22:27   ` Jean-Christophe Helary

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.