[Po4a-devel] Texinfo.pm issues

Osamu OKANO okano.osamu at gmail.com
Thu Apr 21 11:14:20 UTC 2011


Hi!
I found three Texinfo.pm issues.

* po4a-gettextize
po4a-gettextize can not deal with a line feed like below.
It makes no error.
But it takes long time and the result is invalid.
===bad================
@kbd{M-x
customize-variable po4a-translate-templates},
===good============
@kbd{M-x customize-variable po4a-translate-templates},
===================

* po4a-translate
Texinfo po4a-translate outputs like below is not allowed by makeinfo.
** ifinfo foo bar baz
makeinfo recognize `ifinfo foo bar baz' as a command.
===bad=============
@ifinfo
[...]
@end ifinfo foo bar baz
===makeinfo========
foo.texi:1325: Bad argument `ifinfo foo bar baz' to `@end', using `ifinfo'.
===good============
@ifinfo
[...]
@end ifinfo
foo bar baz
===================

** The line feed between @end and command
makeinfo can not deal with multiline command.
===bad=============
@ifinfo
[...]
@end
ifinfo foo bar baz
===makeinfo========
foo.texi:1329: Multiline command @ifnotinfo used improperly.
===good============
@ifinfo
[...]
@end ifinfo
foo bar baz
===================

Regards.



More information about the Po4a-devel mailing list