From: "Eckhart Guthöhrlein" <eckhart_guthoehrlein@public.uni-hamburg.de>
Subject: some font issues
Date: Wed, 05 Sep 2001 22:52:43 +0200 [thread overview]
Message-ID: <5.1.0.14.0.20010905225241.00a80518@public.uni-hamburg.de> (raw)
I finally succeeded in my attempts to achieve several things at the same time:
a) direct input of umlauts in my input file
b) use of ae fonts
c) hanging punctuation
d) ams symbols
I am not sure that I have done it as it is intended, and I would like to
point out the difficulties I had on my way, perhaps this may help in the
further development of the font interface (or to reveal my lack of
understanding concerning fonts). So here is my file which finally works:
\enableregime[windows]
\usetypescript[serif,sans,mono][hanging][pure]
\setupalign [hanging]
\definetypeface [modern] [rm] [serif] [computer-modern] [default]
[handling=pure,encoding=ec]
\definetypeface [modern] [mm] [math] [computer-modern] [computer-modern]
[handling=pure,encoding=ec]
\setupbodyfont[ams,modern]
\starttext
äüöÄÜÖß$\Delta$ % to see if umlauts work
\startcolumns[n=2] % does it hang?
\dorecurse{3}{\input tufte}
\stopcolumns
\stoptext
1) If I omit 'encoding=ec': no problems at all. The second \definetypeface
is not necessary in this case. But I don't want to hyphenate each words
with umlauts manually, so...
2) With encoding=ec, I got ae. But I had to add the second \definetypeface
because math symbols got spoiled, e.g. \Delta gave me an apostroph,
\overbar resulted into striked out letters etc. It took me quite some time
to spot the crucial point: replacing [default] by [computer-modern].
3) \setupbodyfont[modern,ams] (reversed order) leads to spoiled umlauts and
math symbols. The math symbols can be restored by the second
\definetypeface. But the umlauts stay strange (a short horizontal line is
placed approximately .5ex below the top of the letter).
I hope these descriptions are comprehendable. I'm using the latest beta
(downloaded today). Two reasons for my posting:
1) Isn't there a simpler way to get there?
2) If there isn't, and since fonts (and math) are currently evolving:
shouldn't there be one? In particular, at least for the standard supported
fonts, a single command to activate hanging punctuation, regardless of font
and encoding, so it could be used together with \setupbodyfont[aer]? For a
normal user like me, relatively new to context, it was not easy to find the
solution above. (But it is a nice feeling if it finally works.)
--
Eckhart
reply other threads:[~2001-09-05 20:52 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=5.1.0.14.0.20010905225241.00a80518@public.uni-hamburg.de \
--to=eckhart_guthoehrlein@public.uni-hamburg.de \
/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).