Hi Ingo,

On 6/5/22 19:09, Ingo Schwarze wrote:
      .B foo\&
      bar

If that were a no-op, I wouldn't write it (why would I write something
that does nothing???).

In fact, it does *not* do anything in this particular situation either.


[...]
Or are you thinking about

   .TH TEST 1
   .IB italic bold\c
   roman

which prints the tree words in three different fonts, with no
intervening whitespace on the output side?

Yup. You got what I had in mind. Sorry for the nonsense. I'm happy that at least my confusion triggered an interesting discussion about \c :-}

Sooo, both "no-op escape" and "dummy character|escape|whatever" seem good things to me.


On a tangent, i just noticed that

[...]

And yes, the different behavior of

.B foo\c
bar

between groff(1) and mandoc(1) surprised me too. I, as you, thought that the intuitive behavior would be as [.BR foo bar], and reported it to the mailing list a few months ago.


Cheers,

Alex

--
Alejandro Colomar
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to