Am Sonntag, den 10.02.2008, 09:28 +0000 schrieb Colin Watson:
> reassign 464960 groff-base
[..]
> On Sun, Feb 10, 2008 at 03:46:08AM +0100, Daniel Leidert wrote:
> > Package: man-db
[..]
> Firstly, this should be on groff-base rather than man-db, but in any
> case:
> 
> > The code to reproduce it is rather simple. I found this one in manpage:
> > 
> > <!--begin-index-->
> > \.\.\.
> > <!--end-index-->
> 
> This code (remember that groff is a language with its own very specific
> rules, which often correspond fairly closely to running text but not
> always) is incorrect.

Well, groff(7) says:

[..]
> \.     An uninterpreted dot (period), even at start of line.
[..]

This why I thought, the code is correct (I tried to fix source code,
that did not escape the leading dots at all). So I thought, man-db is
misinterpreting something.

> he reasons are rather subtle. "\." is not a real
> escape sequence; it is in fact equivalent to "." (the default control
> character) except that it is "delayed" by one macro expansion.

I wonder if the above quoted sentence in the manpage needs to be fixed
then?

[..]
> The correct rendering of the above would be:
> 
>   <!--begin-index-->
>   \&...
>   <!--end-index-->

Thanks for this. Works.

Regards, Daniel




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

Reply via email to