]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/nr/eval.in
if .in is used inside the .TP head, it's always relative
[mandoc.git] / regress / roff / nr / eval.in
1 .TH NR-EVAL 1 "April 7, 2014" OpenBSD
2 .SH NAME
3 nr-eval \- numeric expressions in assignments to number registers
4 .SH DESCRIPTION
5 .nr mr 1
6 1: \n(mr
7 .br
8 .nr mr nonumber
9 nonumber: \n(mr
10 .br
11 .nr mr 3X
12 3X: \n(mr
13 .br
14 .nr mr 4+
15 4+: \n(mr
16 .br
17 .nr mr 2+3
18 2+3: \n(mr
19 .br
20 .nr mr 1+1:
21 1+1:: \n(mr
22 .br
23 .nr mr 10-3
24 10-3: \n(mr
25 .br
26 .nr mr 4*2
27 4*2: \n(mr
28 .br
29 .nr mr 27/3
30 27/3: \n(mr
31 .br
32 .nr mr 58%16
33 58%16: \n(mr
34 .br
35 .nr mr 11<?20
36 11<?20: \n(mr
37 .br
38 .nr mr 30<?12
39 30<?12: \n(mr
40 .br
41 .nr mr 7>?13
42 7>?13: \n(mr
43 .br
44 .nr mr 14>?6
45 14>?6: \n(mr
46 .br
47 .nr mr 2+3*3
48 2+3*3: \n(mr
49 .br
50 .nr mr 16+(
51 para at eol: \n(mr
52 .br
53 .nr mr (17
54 unclosed para: \n(mr
55 .br
56 .nr mr (18)
57 (18): \n(mr
58 .br
59 .nr mr ( 25 - 6 )
60 ( 25 - 6 ): \n(mr
61 .br
62 .nr mr 11+( 3*3 )
63 11+( 3*3 ): \n(mr
64 .br
65 .nr mr 3+(3*(5==5*2)*4)+(3*5)/2
66 3+(3*(5==5*2)*4)+(3*5)/2: \n(mr
67 .br