Date: Wed, 1 May 2002 14:58:52 +0200 From: Marc Fonvieille <marc@blackend.org> To: Jochem Kossen <j.kossen@home.nl> Cc: freebsd-doc@freebsd.org Subject: Re: Docbook <warning></warning> weirdness Message-ID: <20020501145852.A66879@gothic.blackend.org> In-Reply-To: <20020501123926.GA35636@jochem.dyndns.org>; from j.kossen@home.nl on Wed, May 01, 2002 at 02:39:26PM %2B0200 References: <20020501123926.GA35636@jochem.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 01, 2002 at 02:39:26PM +0200, Jochem Kossen wrote:
> When I write an article in Docbook, and use for example this:
>
> <warning>
> <para>Blah die Blah</para>
> </warning>
>
> The HTML conversion produces this:
>
> <div class="WARNING">
> <blockquote class="WARNING">
> <p><b>Warning</b>Blah die Blah</p>
> </blockquote>
> </div>
>
> instead of:
>
> <div class="WARNING">
> <blockquote class="WARNING">
> <p><b>Warning:</b> Blah die Blah</p>
> </blockquote>
> </div>
>
The problem comes from a lack from docbook localization, look in
/usr/local/share/sgml/docbook/dsssl/modular/common/dbl1nl.dsl
In have the same problem for french one, i submitted that bug to docbook
project.
However a workaround can be add to you share/sgml/freebsd.dsl
I forgot to send a pr for the french workaround, here's my patch:
--- freebsd.dsl.org Mon Apr 8 13:44:37 2002
+++ freebsd.dsl Sat Apr 13 17:43:03 2002
@@ -54,6 +54,12 @@
(literal ">.")))))
]]>
+ <!-- Fix a problem with the French localisation. The bug was
+ submitted to authors of docbook project -->
+ (define (local-fr-label-title-sep)
+ (list
+ (list (normalize "warning") "\U-00A0;: ")
+ ))
</style-specification-body>
</style-specification>
I'm going to submit it now ;)
I think it could help you.
Marc
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020501145852.A66879>
