tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Symbols and troff conditionals
@ 2010-06-09 16:28 Ulrich Spörlein
  2010-06-09 19:32 ` Kristaps Dzonsons
  2010-06-09 20:11 ` Kristaps Dzonsons
  0 siblings, 2 replies; 6+ messages in thread
From: Ulrich Spörlein @ 2010-06-09 16:28 UTC (permalink / raw)
  To: tech

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-10 21:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-09 16:28 Symbols and troff conditionals Ulrich Spörlein
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

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).