From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from danbala.tuwien.ac.at (danbala.ifoer.tuwien.ac.at [128.130.168.64]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p9BMK2n5027841 for ; Tue, 11 Oct 2011 18:20:02 -0400 (EDT) Received: by danbala.tuwien.ac.at (Postfix, from userid 116) id 9D751391B7F; Wed, 12 Oct 2011 00:20:00 +0200 (CEST) Date: Wed, 12 Oct 2011 00:20:00 +0200 From: Thomas Klausner To: discuss@mdocml.bsd.lv Subject: mandoc and nroff differs for Em macro construct in columnated list Message-ID: <20111011222000.GK25396@danbala.tuwien.ac.at> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Another issue found by Nicolas Joly. I can reproduce it with mdocml-1.12.0. Cheers, Thomas ----- Forwarded message from Nicolas Joly ----- Hi Thomas, I just found another nroff vs. mandoc difference while looking into bwi(4) man page. In a columnated list, use of Em macro differs with a quoted string of words separated by tab characters. While nroff do emphasis all words, mandoc do only make the first one. The attached sample output differs for the second item line. While we can rewrite this by using constructs like the 3rd item line, i wonder if this behaviour is to be expected ? Thanks. NB: At least the following man pages suffer from this: man1/mt.1 man1/nl.1 man3/rpc.3 man4/ath.4 man4/bwi.4 man4/crypto.4 man4/dge.4 man4/rtw.4 man4/swcrypto.4 man4/termios.4 man8/ccdconfig.8 -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris. ----- End forwarded message ----- --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sample.1" .Dd October 10, 2011 .Dt SAMPLE 1 .Os .Sh NAME .Nm sample .Nd sample description .Sh SYNOPSIS .Nm sample .Sh DESCRIPTION The .Nm is a sample test for Em macro. .Pp .Em "Words separated by spaces" .Pp .Em "Words separated by tabs" .Bl -column "column1" "column2" "column3" .It Em "word1 word2 word3" .It Em "word1 word2 word3" .It Em word1 Ta Em word2 Ta Em word3 .El --4Ckj6UjgE2iN1+kY-- -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv