[NTG-context] Concrete outline fonts

2003-09-03 Thread Adam T. Lindsay
Hi folks.

This is what happens when you're fighting insomnia in a foreign land. I
started investigating the TeXLive tree, and came up with at least a
partial solution to something that keeps getting asked about here.

Mark Ainsworth said this at Thu, 7 Aug 2003 11:48:55 +0100:

On another track, is there any way of getting pdftex to use the pfb concrete
fonts, rather than the bitmap versions without a major hack of my map files?
Has someone written a simple little routine to do the patching
automatically. They print out ok, but the on-screen versions are really
naff.

The computer concrete fonts *do* exist in a type1 version, albeit only in
pl0 encoding. They probably only get installed when you choose the polish
language/fonts package in TeXLive. CTAN appears to have these files at:
http://www.ctan.org/getfile/?filename=language/polish/cc-pl.zipaction=/
tools/filesearch

Anyway, by creating some simple font synonyms to fonts already referred
to by ConTeXt's built-in typescript, you can access the fonts fairly easily:

%% use the Polish cc-pl type1 files that come with TeXLive7
\definefontsynonym [ccr10]   [pcr10]   [encoding=pl0] 
\definefontsynonym [ccti10]  [pcti10]  [encoding=pl0] 
\definefontsynonym [ccsl10]  [pcsl10]  [encoding=pl0] 
\definefontsynonym [cccsc10] [pccsc10] [encoding=pl0] 
\setupbodyfont[con] 

\starttext
\input knuth
\showaccents
\stoptext

In addition, if you install the type-eul.zip files, you can use the fonts
with euler math, as well:

% http://homepage.mac.com/atl/tex/EulerContext.zip
% replace \setupbodyfont[con] with
\usetypescriptfile[type-eul] 
\setupbodyfont[con,eul] 

Hope someone finds that interesting.

adam
[I sent this to the list whilst travelling from an alternate email
account. I guess it didn't get seen b/c of all the email viruses flying
around.]
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay  [EMAIL PROTECTED]
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- End Forwarded Message -

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay  [EMAIL PROTECTED]
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Double bar means hyphen?

2003-06-17 Thread Adam T. Lindsay
[this is going to bounce, because I'm posting from my travel account.
forward only if you feel it necessary]

Hans Hagen said this at Sat, 14 Jun 2003 10:57:13 +0200:

\setuphyphenmark[sign=-]

(This relates to an issue I mentioned earlier: anyone notice how these
compound word marks *don't* interact well with font handling/hanging?)

yes, sometimes they are boxed thingies and they don't hang; for this the 

_Sometimes_? Is there any way of choosing a compound word mark that isn't
a box (along the lines of the above)?

concept of hanging should be extended (something \hangme {left} {right} 
{material}); i discussed this long ago with thanh but it didn't (yet) end 
up in pdftex -)

Okay, thanks for the explanation!
adam


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context