From: Gregory Pavelcak <g.pavelcak@comcast.net>
To: 9fans@9fans.net
Subject: [9fans] eqn and unicode -- Again
Date: Sat, 6 Jun 2009 08:02:50 -0400 [thread overview]
Message-ID: <c3d20f3fd636bcfd21786219a0d1ddd7@comcast.net> (raw)
I should probably just drop it because I reveal my ignorance
when I post, and erik is the only one who has shown any interest,
but ...
I guess what I want is for eqn to sort of immediately convert
GAMMA to Γ and then go about its business with Γ, as if it
never saw the word GAMMA, got it?
So, I was looking at eqn -d to get some more feedback
and it seems that a user definition does that. Here's some
output.
cpu% eqn -d
... eqn version Oct 24, 1991
.lf 1 -
.EQ
.EQ
define Gamma %Γ%
. lex token = |define|
. name Gamma defined as Γ
Gamma
. lex token = |Gamma|
. found Gamma|=Γ|
. lex token = |Γ|
. 57346text: S11 <- \f2Γ\fP; b=0,h=1,lf=2,rf=2,ps=10
.ds 11 "\f2Γ\fP
cpu% eqn -d
... eqn version Oct 24, 1991
.lf 1 -
.EQ
.EQ
Γ
. lex token = |Γ|
. 57346text: S11 <- \f2Γ\fP; b=0,h=1,lf=2,rf=2,ps=10
.ds 11 "\f2Γ\fP
Of course, I don't know if the treatment is the same in other
contexts, but I'm wondering if a simple solution is to make
gktbl and treat it like deftbl in lex.c instead of like restbl in
text.c.
Greg
reply other threads:[~2009-06-06 12:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c3d20f3fd636bcfd21786219a0d1ddd7@comcast.net \
--to=g.pavelcak@comcast.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).