tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: "Ulrich Spörlein" <uqs@spoerlein.net>
To: tech@mdocml.bsd.lv
Subject: Symbols and troff conditionals
Date: Wed, 9 Jun 2010 18:28:36 +0200	[thread overview]
Message-ID: <20100609162836.GZ39829@acme.spoerlein.net> (raw)

Hi folks,

some errors while linting manpages:

.Dd June 9, 2010
.Dt TITLE 1
.Os
.Sh NAME
.Nm test
.Nd test
.Sh SYNOPSIS
foo
.Sh DESCRIPTION
Testing symbols like \(+-\*(Pi or
\(-> fails somehow.
Also, conditionals when used like this
.if n \{\
do
.\}
.if t \{\
do not
.\}
complain.


% mandoc -Tlint test.1
test.1:10:22: bad escape sequence
test.1:11:1: bad escape sequence
test.1:15:1: request scope close w/none open
test.1:18:1: request scope close w/none open

What's up with the \(-> and \(+- symbols?

Also, the end-of-conditional detection seems to need some improvement.
This form is occurring at several places in our manpages ...

Regards,
Uli
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

             reply	other threads:[~2010-06-09 16:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-09 16:28 Ulrich Spörlein [this message]
2010-06-09 19:32 ` Kristaps Dzonsons
2010-06-09 20:11 ` Kristaps Dzonsons
2010-06-10  6:32   ` Ulrich Spörlein
2010-06-10 21:02     ` Kristaps Dzonsons
2010-06-10 21:42       ` Kristaps Dzonsons

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=20100609162836.GZ39829@acme.spoerlein.net \
    --to=uqs@spoerlein.net \
    --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).