public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Tim Waugh <twaugh@redhat.com>
To: Philippe Batailler <pbatailler@teaser.fr>
Cc: docbook-tools-discuss@sources.redhat.com
Subject: Re: about docbook2man (docbook2man-spec.pl)
Date: Sun, 28 Jul 2002 11:14:00 -0000	[thread overview]
Message-ID: <20020728191430.O28686@redhat.com> (raw)
Message-ID: <20020728111400.3R9xsayH98ikmv_joCcRo-r_NGAoZEpxvWU7OjlmhGs@z> (raw)
In-Reply-To: <20020727155552.GA617@clalis>; from pbatailler@teaser.fr on Sat, Jul 27, 2002 at 05:55:52PM +0200

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

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.
*/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  parent reply	other threads:[~2002-07-28 18:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-20 19:23 Philippe Batailler
2002-07-27  8:52 ` Philippe Batailler
2002-12-20 19:23 ` Tim Waugh [this message]
2002-07-28 11:14   ` Tim Waugh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020728191430.O28686@redhat.com \
    --to=twaugh@redhat.com \
    --cc=docbook-tools-discuss@sources.redhat.com \
    --cc=pbatailler@teaser.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).