diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-10-02 12:18:33 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-10-02 12:18:33 +0000 |
commit | 5c2a309a34544b8ce4a9f64845f876bc1bc560f3 (patch) | |
tree | d572d2e5ce3701957f4c44116659c93f3df0cb6c /regress/eqn | |
parent | dce15460d35b432711d3ee5ce9bb6e9dfb880b18 (diff) | |
download | mandoc-5c2a309a34544b8ce4a9f64845f876bc1bc560f3.tar.gz mandoc-5c2a309a34544b8ce4a9f64845f876bc1bc560f3.tar.zst mandoc-5c2a309a34544b8ce4a9f64845f876bc1bc560f3.zip |
Render the eqn(7) "sqrt" function as U+221A in UTF-8 output.
This also agrees with what groff does.
Suggested by an attendee of EuroBSDCon 2018 in Bucuresti.
Written on the plane Bucuresti-Frankfurt returning from EuroBSDCon.
Diffstat (limited to 'regress/eqn')
-rw-r--r-- | regress/eqn/over/precedence.out_ascii | 4 | ||||
-rw-r--r-- | regress/eqn/unary/sqrt.out_ascii | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/regress/eqn/over/precedence.out_ascii b/regress/eqn/over/precedence.out_ascii index 0dc9e747..2a7f61be 100644 --- a/regress/eqn/over/precedence.out_ascii +++ b/regress/eqn/over/precedence.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE oovveerr--pprreecceeddeennccee - precedence of the fraction operator DDEESSCCRRIIPPTTIIOONN - initial text 1 + _x + (_x^2)/2 + (_x^3)/(2 * 3); _a^/_c~; aa/cc; sqrt(_a)/sqrt(_c) - final text + initial text 1 + _x + (_x^2)/2 + (_x^3)/(2 * 3); _a^/_c~; aa/cc; + <sqrt>(_a)/<sqrt>(_c) final text OpenBSD July 6, 2017 OpenBSD diff --git a/regress/eqn/unary/sqrt.out_ascii b/regress/eqn/unary/sqrt.out_ascii index 72b7047d..c6d19d20 100644 --- a/regress/eqn/unary/sqrt.out_ascii +++ b/regress/eqn/unary/sqrt.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE uunnaarryy--ssqqrrtt - square root DDEESSCCRRIIPPTTIIOONN - initial text _r = sqrt(_x^2 + _y^2) + sqrt(_a + _b) + sqrt(_x^) + sqrt() + sqrt - final text + initial text _r = <sqrt>(_x^2 + _y^2) + <sqrt>(_a + _b) + <sqrt>(_x^) + + <sqrt>() + <sqrt> final text OpenBSD July 6, 2017 OpenBSD |