Hello po4a developers.
The quotation-like Texinfo environments 'smallquotation',
'indentedblock', 'smallindentedblock' and 'raggedright', present
in
Texinfo 5.2, are not registered in po4a's Texinfo module, causing
po4a-gettextize to yield errors like:
master.texi:71: (po4a::tex) unmatched end of environment 'smallquotation'
when such environments are found in master documents. The simple patch
below fixes this problem. Please CC me as I'm not subscribed to this
mailing list.
Index: trunk/lib/Locale/Po4a/Texinfo.pm
===================================================================
--- trunk/lib/Locale/Po4a/Texinfo.pm (revisão 2751)
+++ trunk/lib/Locale/Po4a/Texinfo.pm (cópia de trabalho)
@@ -509,7 +509,9 @@
$commands{$_} = \&environment_line_command;
$break_line{$_} = 1;
}
-foreach (qw(quotation)) {
+foreach (qw(quotation smallquotation
+ indentedblock smallindentedblock
+ raggedright)) {
$commands{$_} = \&environment_line_command;
$translate_line_command{$_} = 1;
$break_line{$_} = 1;
--
,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
((_/)o o(\_)) There is no system but GNU;
`-'(. .)`-' Linux-libre is just one of its kernels;
\_/ All software should be free as in freedom;