discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Joachim Schipper <joachim@joachimschipper.nl>
To: discuss@mdocml.bsd.lv
Subject: mandoc assert()s on .Os \&
Date: Wed, 27 Oct 2010 14:57:27 +0200	[thread overview]
Message-ID: <20101027125726.GA16344@polymnia.joachimschipper.nl> (raw)

Hi,

Consider the following document:

.Dd Oct 27, 2010
.Dt SOMETHING 1 LOCAL
.Os \&
.Sh NAME
.Nm something
.Nd does something

The interesting part is the '.Os \&', intended to remove the OS from the
footer. I got that snippet from some random place on the net; I *think*
it's legal, and groff renders it fine. mandoc, however, fails:

assertion "p->rmargin > p->offset" failed: file
"/usr/src/usr.bin/mandoc/term.c", line 145, function "term_flushln"

Thanks for your hard work! And feel free to fix this whenever/not at
all...

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

             reply	other threads:[~2010-10-27 12:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-27 12:57 Joachim Schipper [this message]
2010-10-27 19:28 ` 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=20101027125726.GA16344@polymnia.joachimschipper.nl \
    --to=joachim@joachimschipper.nl \
    --cc=discuss@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).