about docbook2man (docbook2man-spec.pl)
Tim Waugh
twaugh@redhat.com
Sun Jul 28 11:14:00 GMT 2002
On Sat, Jul 27, 2002 at 05:55:52PM +0200, Philippe Batailler wrote:
> Hello,
> When using package docbook-utils, version 0.6.11, and docbook2man to
> create a manpage, the output shows "NAME" for every language.
> It should be localized.
Good point.
> What do you think of the kind of patch I attach to this mail ?
Good, except for this bit:
> + my $id = $_[0]->attribute('LANG')->value;
We need to use the current value of the 'lang' attribute for this.
For example:
<refentry lang="de">
...
</refentry>
<refentry lang="es">
...
</refentry>
So we need to look for the 'lang' attribute on the ancestor nodes.
I have applied the nbsp and thinsp handlers---thanks.
Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/docbook-tools-discuss/attachments/20020728/6ba86cd2/attachment.sig>
More information about the Docbook-tools-discuss
mailing list