tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Franco Fichtner <franco@lastsummer.de>
To: tech@mdocml.bsd.lv
Cc: Baptiste Daroussin <bapt@FreeBSD.org>
Subject: Re: Strange error on a manpage
Date: Fri, 26 Dec 2014 21:56:08 +0100	[thread overview]
Message-ID: <D07DFA7B-AC86-47A9-B5C9-37D56A6874A0@lastsummer.de> (raw)
In-Reply-To: <20141226203621.GD93067@ivaldir.etoilebsd.net>

On 26 Dec 2014, at 21:36, Baptiste Daroussin <bapt@FreeBSD.org> wrote:

> The FreeBSD's netmap(4) manpage has 2 failures that seems weird to me
> 
> mandoc: ./netmap.4:932:2: ERROR: skipping unknown macro: ...
> mandoc: ./netmap.4:967:2: ERROR: skipping unknown macro: ...
> 
> https://svnweb.freebsd.org/base/head/share/man/man4/netmap.4?revision=276236&view=markup
> 
> 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

  reply	other threads:[~2014-12-26 20:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-26 20:36 Baptiste Daroussin
2014-12-26 20:56 ` Franco Fichtner [this message]
2014-12-26 21:02   ` Baptiste Daroussin
2014-12-28 10:35   ` Ingo Schwarze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D07DFA7B-AC86-47A9-B5C9-37D56A6874A0@lastsummer.de \
    --to=franco@lastsummer.de \
    --cc=bapt@FreeBSD.org \
    --cc=tech@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).