version 1.2, 2014/10/28 14:06:31 |
version 1.5, 2023/10/23 10:56:55 |
|
|
.\" $Id$ |
.\" $Id$ |
.\" |
.\" |
.\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org> |
.\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org> |
.\" |
.\" |
|
|
.Sh NAME |
.Sh NAME |
.Nm mandoc_escape |
.Nm mandoc_escape |
.Nd parse roff escape sequences |
.Nd parse roff escape sequences |
.Sh LIBRARY |
|
.Lb libmandoc |
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.In sys/types.h |
.In sys/types.h |
.In mandoc.h |
.In mandoc.h |
Line 102 width measurements |
|
Line 100 width measurements |
|
and numerical expression control |
and numerical expression control |
.Ic \eB . |
.Ic \eB . |
These are handled by |
These are handled by |
.Fn roff_res , |
.Fn roff_expand , |
a private preprocessor function called from |
a private preprocessor function called from |
.Fn roff_parseln , |
.Fn roff_parseln , |
see the file |
see the file |
Line 119 in turn contain other escape sequences, |
|
Line 117 in turn contain other escape sequences, |
|
for error detection internally by the |
for error detection internally by the |
.Xr roff 7 |
.Xr roff 7 |
parser part of the |
parser part of the |
.Lb libmandoc , |
.Xr mandoc 3 |
see the file |
library, see the file |
.Pa roff.c , |
.Pa roff.c , |
.It |
.It |
above all externally by the |
above all externally by the |
.Xr mandoc |
.Xr mandoc 1 |
formatting modules, in particular |
formatting modules, in particular |
.Fl Tascii |
.Fl Tascii |
and |
and |
Line 256 Such ASCII character escape sequences can be rendered |
|
Line 254 Such ASCII character escape sequences can be rendered |
|
described in the |
described in the |
.Xr mchars_alloc 3 |
.Xr mchars_alloc 3 |
manual. |
manual. |
|
.It Dv ESCAPE_OVERSTRIKE |
|
The escape sequence |
|
.Ic \eo |
|
followed by an argument delimited by an arbitrary character. |
.It Dv ESCAPE_IGNORE |
.It Dv ESCAPE_IGNORE |
.Bl -bullet -width 2n |
.Bl -bullet -width 2n |
.It |
.It |
Line 288 The escape sequences |
|
Line 290 The escape sequences |
|
.Ic \eA , |
.Ic \eA , |
.Ic \eb , |
.Ic \eb , |
.Ic \eD , |
.Ic \eD , |
.Ic \eo , |
|
.Ic \eR , |
.Ic \eR , |
.Ic \eX , |
.Ic \eX , |
and |
and |