From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Graham Douglas <graham.douglas@readytext.co.uk>
Subject: Re: Hans' presentation: using plain TEX (from TUG 2009) [apologies if OT]
Date: Sat, 03 Apr 2010 20:17:28 +0200 [thread overview]
Message-ID: <4BB78638.4060908@wxs.nl> (raw)
In-Reply-To: <4BB7800A.6010501@readytext.co.uk>
On 3-4-2010 7:51, Graham Douglas wrote:
> So, is it possible to find and load .afm/.pfb with your luatex-plain
> example. Is that font machinery included in luatex-plain?
the 'generic' code is only providing opentype support and type1/afm goes
via the regular tex specific tfm route and believe me: i don't even want
to know how plain users of latex users deal with type 1 as it's already
messy enough in context; keep in mind that when one uses type 1 one
often operates in the 8 bit environment and therefore in font encoding
land; of course you can convert a type 1 into an open type font using
fontforge
context mkiv can deal with afm/type1 but this is rather context specific
and i'm not going to impose context methods and strategies as i'm pretty
sure that non context users are not that willing to adapt to context
methods
sticking to type 1 is a bad idea anyway and the less it is supported in
the new engines the better as it forces users to move on
the same is true for math ... the loader does load math fonts but math
support is always rather macro package specific so one needs to define
whatever needed (families, symbols etc) the way uses in the specific
macro package (the same applies here .. in a few years all math fonts
will be available in open type)
for instance in the lua-latex code, they use the context otf loader for
open type but it gets encapsulated in latex ways of defining and using
and as type1 handling is already present in latex (and is shared with
xetex code i assume) it is not related to lua etc at all, so there is no
need for additional code
concerning plain: plain has no font system so there's nothing to hook
code in and as soon as one starts to make a system one should wonder if
using plain is a good idea; it does not gain you much using plain
instead of context
concernign context being large ... occasionally i do experiment with
metatex, a more layered approach for making smaller formats but that's a
long term effort
> If so, can you suggest why the luatex-plain example
> might be failing with the .afm/.pfb files?
because you need to load the tfm file (which is probably someplace in
your tex tree)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2010-04-03 18:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-03 17:51 Graham Douglas
2010-04-03 18:17 ` Hans Hagen [this message]
2010-04-03 18:56 ` Graham Douglas
2010-04-03 19:10 ` learning LuaTeX (was: Hans' presentation: using plain TEX (from TUG 2009) [apologies if OT]) Patrick Gundlach
2010-04-04 20:40 ` Graham Douglas
2010-04-03 19:23 ` Hans' presentation: using plain TEX (from TUG 2009) [apologies if OT] Hans Hagen
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=4BB78638.4060908@wxs.nl \
--to=pragma@wxs.nl \
--cc=graham.douglas@readytext.co.uk \
--cc=ntg-context@ntg.nl \
/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).