Package: groff
Version: 1.18.1.1-8
Severity: important
Tags: l10n

Greetings from Tokyo.

Bad news: Handling of \% in LANG=ja_JP.eucJP environments is borked.

In a LANG=C environment, a word preceded by a \% character does
not get hyphenated under any circumstances. That is good. It is
the expected behavior.

But n a LANG=ja_JP.eucJP environment, if a word preceded by a
hyphen ends up falling at the end of a line in rendered output, it
may unexpectedly get hyphenated. That is bad.

The groff info docs make it clear that \% prevents hyphenation:

  To tell `gtroff' how to hyphenate words on the fly, use the `\%'
  escape, also known as the "hyphenation character".  Preceding a
  word with this character prevents it from being hyphenated [...]

Here is a minimal document that can be used to see the problem:

  .TH "EXAMPLE" 7 "2007\-09\-04" "Version 1" "Controlling hyphenation"
  .\" ================================================================
  .SH "NAME"
  .\" ================================================================
  example \- show some problem with preventing hyphenation 
  .\" ================================================================
  .SH "DESCRIPTION"
  .\" ================================================================
  .PP
  Values for the \%version, \%recovery, \%debugging, \%timing,
  \%output, \%repeat, \%compression, \%insert, \%formatting,
  \%encodings, \%catalogs, \%automation, \%register, \%validate
  options may be set in the configuration file as well as via the
  command line.

Regards,

  --Michael Smith

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (70, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.7
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)

Versions of packages groff depends on:
ii  groff-base               1.18.1.1-8      GNU troff text-formatting system (
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libgcc1                  1:4.0.0-9       GCC support library
ii  libice6                  4.3.0.dfsg.1-14 Inter-Client Exchange library
ii  libsm6                   4.3.0.dfsg.1-14 X Window System Session Management
ii  libstdc++5               1:3.3.5-13      The GNU Standard C++ Library v3
ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxaw7                  4.3.0.dfsg.1-14 X Athena widget set library
ii  libxext6                 4.3.0.dfsg.1-14 X Window System miscellaneous exte
ii  libxmu6                  4.3.0.dfsg.1-14 X Window System miscellaneous util
ii  libxpm4                  4.3.0.dfsg.1-14 X pixmap library
ii  libxt6                   4.3.0.dfsg.1-14 X Toolkit Intrinsics
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu

-- debconf information:
* groff/package-split:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to