discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* ksh.1: \*(Ba blip?
@ 2010-10-22 21:29 Jason McIntyre
  2010-10-23 22:47 ` Ingo Schwarze
  0 siblings, 1 reply; 3+ messages in thread
From: Jason McIntyre @ 2010-10-22 21:29 UTC (permalink / raw)
  To: discuss

source, from openbsd's ksh.1:

	.Sm off
	.It *( Ar pattern\*(Ba No ...\*(Ba Ar pattern )
	.Sm on

groff and mandoc:
	*(pattern|...|pattern)

the only problem is that mandoc marks up the first \*(Ba in the same
font as "pattern", and groff does not.

jmc
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ksh.1: \*(Ba blip?
  2010-10-22 21:29 ksh.1: \*(Ba blip? Jason McIntyre
@ 2010-10-23 22:47 ` Ingo Schwarze
  2010-10-24 13:56   ` Jason McIntyre
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo Schwarze @ 2010-10-23 22:47 UTC (permalink / raw)
  To: discuss

Hi Jason,

Jason McIntyre wrote on Fri, Oct 22, 2010 at 10:28:37PM +0059:

> source, from openbsd's ksh.1:
> 
> 	.Sm off
> 	.It *( Ar pattern\*(Ba No ...\*(Ba Ar pattern )
> 	.Sm on
> 
> groff and mandoc:
> 	*(pattern|...|pattern)
> 
> the only problem is that mandoc marks up the first \*(Ba in the same
> font as "pattern", and groff does not.

Actually, that's a known issue, listed here in the TODO list:

- The characters "|" and "\*(Ba" should never be bold,
  not even in the middle of a word, e.g. ".Cm b\*(Bac" in
  "mknod [-m mode] name b|c major minor"
  in OpenBSD ksh(1)

Yours,
  Ingo
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ksh.1: \*(Ba blip?
  2010-10-23 22:47 ` Ingo Schwarze
@ 2010-10-24 13:56   ` Jason McIntyre
  0 siblings, 0 replies; 3+ messages in thread
From: Jason McIntyre @ 2010-10-24 13:56 UTC (permalink / raw)
  To: discuss

On Sun, Oct 24, 2010 at 12:47:38AM +0200, Ingo Schwarze wrote:
> Hi Jason,
> 
> Jason McIntyre wrote on Fri, Oct 22, 2010 at 10:28:37PM +0059:
> 
> > source, from openbsd's ksh.1:
> > 
> > 	.Sm off
> > 	.It *( Ar pattern\*(Ba No ...\*(Ba Ar pattern )
> > 	.Sm on
> > 
> > groff and mandoc:
> > 	*(pattern|...|pattern)
> > 
> > the only problem is that mandoc marks up the first \*(Ba in the same
> > font as "pattern", and groff does not.
> 
> Actually, that's a known issue, listed here in the TODO list:
> 
> - The characters "|" and "\*(Ba" should never be bold,
>   not even in the middle of a word, e.g. ".Cm b\*(Bac" in
>   "mknod [-m mode] name b|c major minor"
>   in OpenBSD ksh(1)
> 

ah, ok.
jmc
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-24 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-22 21:29 ksh.1: \*(Ba blip? Jason McIntyre
2010-10-23 22:47 ` Ingo Schwarze
2010-10-24 13:56   ` Jason McIntyre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).