On Sun, Nov 04, 2007 at 07:04:38PM +0100, [EMAIL PROTECTED] wrote:
> Hallo Nicolas,
> On Sun, Nov 04, 2007 at 05:57:18PM +0100, Nicolas François wrote:
> > On Sat, Nov 03, 2007 at 06:21:12PM +0100, [EMAIL PROTECTED] wrote:
> > My bad.
> > 
> > I received a late request to change a string when I packaged po-debconf.
> > 
> > I don't really understand why the POs were not updated, but that was that
> > string.
> > 
> > The updated German PO is attached.
> 
> Great. I incorporated the update in my bug fixes, please find the new
> version attached (if you need the po file in a new bug report, please
> tell me, I can of course do that).

Not needed. It's now committed.

> > It cannot be automated by po4a. I will specify the quotes to pod2man with
> > its --quotes option (or use a sed script).
> 
> Fine. But - please ignore my complete groff ignorance here, I tend to
> write documents in higher level languages (docbook, latex, ..)
> usually - at some stage some i18n will be required, see also my next
> point. Do you think a wishlist bug would help? I see many languages,
> with different quote conventions, different other typographic
> conventions, different hyphenation tables/rules (see below). But this is
> of course *way beyond* this bug report, so please ignore my rambling or
> direct me to the proper place :-))

I will think about filling a bug report.

--quotes does not work for the French quotes ;(
(so I used a sed script)

A --lang could be much better and could define both the quoting style and
hyphenation (see below).

> > > Finally word separation at line ends (sorry, I don't know the proper
> > > english term) is broken, but I guess this is not something which can
> > > be corrected yet :-((
> > 
> > Can you give an example?
> > 
> > Is it a problem in the generated man page or in the PO file?
> > Is it the hyphenation of words at the end of lines (when words are
> > split with a dash)?
> 
> Yes, this was the word I was looking for "hyphenation" (sometimes
> obvious words are inacessible). The PO file is fine, as I don't
> hyphenate words there. And this (see my previous paragraph in this
> e-mail) is of course beyond the scope of this bug. Beside providing
> proper hyphenation support for languages different than English I only
> know about providing explicit hyphenation for individual words. This,
> of course, would require manual reading of the man page after every
> change and updating the required words (or provide a hyphenation table
> for all words involved, not very handy).

I don't know exactly the details about hyphenation in groff (except that
it's similar to TeX).
The default hyphenation rules are defined in:
/usr/share/groff/1.18.1/tmac/hyphen.us

The next groff releases also include an hyphen.fr and hyphen.de

Ideally, a --lang option to pod2man would also include the correct
hyphenation rules.

If the current German page is hardly readable, I can also disable the
hyphenation.
(You can see the result by adding a '.nh' line to the man page, after the
line starting by '.TH')

Kind Regards,
-- 
Nekral


Reply via email to