9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* eqn fix
@ 1995-05-26  7:48 David
  0 siblings, 0 replies; only message in thread
From: David @ 1995-05-26  7:48 UTC (permalink / raw)


Here's a quick and dirty hack for plan 9 eqn, to stop it from
inserting font changes in the middle of unicode characters.
Edit /sys/src/cmd/eqn/text.c, find the function trans(), and
change both occurrences of "isalpha(c)" to "(isalpha(c) || (c&0x80))".
mk installall.  You can now use all those Greek letters in
equations without spelling them out!  (hey, it's almost WYSIWYG :-)






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-05-26  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-05-26  7:48 eqn fix David

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