links in man2hlp
Andrew V. Samoilov
kai at cmail.ru
Thu Oct 24 07:56:47 UTC 2002
Andrew V. Samoilov wrote:
> Pavel Roskin wrote:
>
>> Hello!
>>
>>
>>>> I tried this to get punctuation marks out the link references
>>>> avoiding extra spaces (ala .BR or .IR). The best idea I got
>>>> was using "\&" as separator because it seems to have no side
>>>> effects for groff in the man page. I read something about
>>>> "\&" preventing kerning between characters but that doesn't
>>>> seem anything to worry about.
>>>
>>>
>>> Another possible solution is .\" at the same line in .\"LINK2
>>
>>
>>
>> Please show the examples.
>
>
> .\"LINK2"
> Layout\&).
> .\"Layout"
>
> Layout should be highlighted, but ). - no.
> \& really is best, and no need to provide .\"LINK3". BTW, we need
> something like README.man2hlp for translators. These people have not to
> be programmers and have not time to read man2hlp.c.
>
Current solution is to move ")." two lines below, but this produce extra
space between "Layout" and ")." in the manual.
I produced simple patch for man2hlp.c. ChangeLog entry should be
Englished ;-)
ChangeLog:
* man2hlp.c (handle_link): Print part after \& in the linkname behind
linkname. Reported by David Martin <dmartina at excite.com>.
--
Regards,
Andrew V. Samoilov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: man2hlp.diff
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20021024/ed9dcd1c/attachment.diff>
More information about the mc-devel
mailing list