From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from host64.kissl.de (host64.kissl.de [213.239.241.64]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 54875c24; for ; Fri, 26 Dec 2014 15:56:10 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by host64.kissl.de (Postfix) with ESMTP id 4AE0FB0156F; Fri, 26 Dec 2014 21:56:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at host64.kissl.de Received: from host64.kissl.de ([127.0.0.1]) by localhost (host64.kissl.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9xwTz2OtCxrj; Fri, 26 Dec 2014 21:56:10 +0100 (CET) Received: from [192.168.0.11] (unknown [95.90.210.108]) (Authenticated sender: web104p1) by host64.kissl.de (Postfix) with ESMTPSA id 0EE00B0156D; Fri, 26 Dec 2014 21:56:09 +0100 (CET) Content-Type: text/plain; charset=us-ascii X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Strange error on a manpage From: Franco Fichtner In-Reply-To: <20141226203621.GD93067@ivaldir.etoilebsd.net> Date: Fri, 26 Dec 2014 21:56:08 +0100 Cc: Baptiste Daroussin Content-Transfer-Encoding: quoted-printable Message-Id: References: <20141226203621.GD93067@ivaldir.etoilebsd.net> To: tech@mdocml.bsd.lv X-Mailer: Apple Mail (2.1878.6) On 26 Dec 2014, at 21:36, Baptiste Daroussin wrote: > The FreeBSD's netmap(4) manpage has 2 failures that seems weird to me >=20 > mandoc: ./netmap.4:932:2: ERROR: skipping unknown macro: ... > mandoc: ./netmap.4:967:2: ERROR: skipping unknown macro: ... >=20 > = https://svnweb.freebsd.org/base/head/share/man/man4/netmap.4?revision=3D27= 6236&view=3Dmarkup >=20 > What seems weird: it finds ... in .Bd section and consider it as an = error, I > would expect mandoc not to try to resolv macros inside a .Bd section, = am I > wrong? vim syntax highlighting picks these lines up as well. It must parse them in order to find `.Ed', so I think the error correct. The line can be escaped using `\&...' or replaced by an empty line. Maybe wrapping them into a C comment would also be ok. I don't see the point of obfuscating the source code snippet with just the dots. Cheers, Franco= -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv