summaryrefslogtreecommitdiff
path: root/tmac/dvi.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-12-21 08:32:52 +0000
committerwlemb <wlemb>2002-12-21 08:32:52 +0000
commite480b407edc11741542bf0471125680b35481cf7 (patch)
tree5acd186e3a90ce4b892111263038122deb42df85 /tmac/dvi.tmac
parent546b51e1039bdeec6498cb54a09414ca98c6c132 (diff)
downloadgroff-e480b407edc11741542bf0471125680b35481cf7.tar.gz
* font/devX*/S: Regenerated.
* font/devdvi/generate/ec.map: Remove `pl'. * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'. * font/devdvi/*{TC,EC}: Regenerated. * font/devhtml/R.proto: Add `-+'. Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'. * font/devlbp/*: Remove `or'. * font/devlj4/generate/special.map: Remove `or'. * font/devlj4/S: Regenerated. * font/devps/generate/textmap: Add `fiveeighths', `oneeighth', `seveneighths', `threeeighths'. Remove `plusmath'. Replace `minusplus' with `uni2213'. * font/devps/symbolmap: Regenerated. * font/devutf8/R.proto: Replace `shc' with unnamed glyph. Add `-+'. * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline function. * src/roff/troff/node.cc (troff_output_file::put_char_width): Call glyph_color and fill_color even if tcommand_flag isn't set. (make_node, node::add_char): Check not ci->is_fallback but ci->is_normal. * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'. * tmac/ec.tmac: Add remove entry for `f/'. Don't remove `12', `14', `34'. Define `pl' to be always roman. * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros. Define `18', `38', `58', `78'. * tmac/tty.tmac: Add `-+'. * tmac/dvi.tmac: Define `f/'. (dvi-frac): Use `f/'. * tmac/X.tmac (X-frac, X-frac-mono): New macros. Define `18', `38', `58', `78'.
Diffstat (limited to 'tmac/dvi.tmac')
-rw-r--r--tmac/dvi.tmac7
1 files changed, 5 insertions, 2 deletions
diff --git a/tmac/dvi.tmac b/tmac/dvi.tmac
index 112c098d..1f8f1c0e 100644
--- a/tmac/dvi.tmac
+++ b/tmac/dvi.tmac
@@ -94,11 +94,14 @@ D\v'-.33m'\s0\v'.33m'
.fchar \[lh] \[lA]
.fchar \[rh] \[rA]
.
+.fchar \[f/] /
+.
.\" Define some fractions.
.de dvi-frac
. fchar \[\\$1\\$2] \
-\v'-.25m'\s[\\En[.s]*7u/10u]\\$1\s0\v'.25m'\h'-.2m'\
-/\h'-.2m'\v'.25m'\s[\\En[.s]*7u/10u]\\$2\s0\v'-.25m'
+\v'-.25m'\s[\\En[.s]*7u/10u]\\$1\s0\v'.25m'\
+\h'-.2m'\[f/]\h'-.2m'\
+\v'.25m'\s[\\En[.s]*7u/10u]\\$2\s0\v'-.25m'
..
.
.dvi-frac 1 2