ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Create pseudo small caps.
@ 2003-09-02 20:06 John Culleton
  2003-09-03 21:34 ` John Culleton
  0 siblings, 1 reply; 3+ messages in thread
From: John Culleton @ 2003-09-02 20:06 UTC (permalink / raw)


I am using Bitstream Charter following the directions on Bill McClain's 
page for typescripts. Now I want to use \sc in both regular and 
expanded form. What is the best way to add a \sc typeface to my
file?
-- 
John Culleton
Able Indexers and Typesetters
http://wexfordpress.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Create pseudo small caps.
  2003-09-02 20:06 Create pseudo small caps John Culleton
@ 2003-09-03 21:34 ` John Culleton
  2003-09-04  5:29   ` Adam Lindsay
  0 siblings, 1 reply; 3+ messages in thread
From: John Culleton @ 2003-09-03 21:34 UTC (permalink / raw)


On Tuesday 02 September 2003 16:06, John Culleton wrote:
> I am using Bitstream Charter following the directions on Bill
> McClain's page for typescripts. Now I want to use \sc in both regular
> and expanded form. What is the best way to add a \sc typeface to my
> file?

Bill McC suggested that Texfont could be used to create a small caps 
version but I haven't figured it out yet. If I don't find any other 
answer I will either use a small caps font from another typeface or 
else 
do a kludge like
 \fonta H\fontb ELLO
---to get "Hello" in caps and small caps,
\fonta being Charter at 11pts and \fontb being Charter at perhaps 6pts.
Surely there is a better way??

-- 
John Culleton
Able Indexers and Typesetters
http://wexfordpress.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Create pseudo small caps.
  2003-09-03 21:34 ` John Culleton
@ 2003-09-04  5:29   ` Adam Lindsay
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Lindsay @ 2003-09-04  5:29 UTC (permalink / raw)


John,

First off, make sure you don't already have the font buried somewhere. I
found Charter SC (faked) in my TeXLive 7 installation:
\showfont[bchrc8t]

Ah, but there's a typo/omission in type-enc.tex. That particular line
should be:
\definefontsynonym [ec-bchr8a-capitalized-800] [bchrc8t]  [encoding=ec]

If you put that single line in your input file, and then call the default
charter face with:
\usetypescript[berry][ec] % or [8r] 
\definetypeface[charter][rm][serif][charter][default][encoding=ec] 
\setupbodyfont[charter] 

...you should be set. If the font isn't there, or you prefer to use
something other than ec-encoding, then read on. 

As for texfont, I have only done this particular one using texfont in a
batch mode, but it should be at least close to the mark.

Make sure the directory tree where you find your fonts is writeable. Make
sure that $texmf/fonts/afm/bit is correctly named 'bitstrea'. (ah,
another bug, this time in TeXLive...)

texfont /path/to/context/data/type-tmf.dat --en=8r --inst -make \
   --fontroot=/path/to/texmf-fonts --co=charter --ve=bitstrea

This should (I'm a little rusty) run texfont on Hans's built-in
batchfile, selecting only charter. With that done, I think this ought to work:

\definetypeface[charter][rm][serif][charter][default][encoding=8r] 
\setupbodyfont[charter] 


If you want to run texfont only to make smallcaps, I think the command
you want is:

sudo texfont --en=ec --fontroot=/path/to/texmf-local --inst --make \
     --ve=bitstrea --co=charter --source=auto --ca=0.8 bchr8a

I'll leave it to you to integrate that one into your typescript.

I was going to ask about the \kap series of commands, but none seem to
give a mix of (faked) caps and small caps.

Hope that helps a bit,
adam

John Culleton said this at Wed, 3 Sep 2003 17:34:04 -0400:

>On Tuesday 02 September 2003 16:06, John Culleton wrote:
>> I am using Bitstream Charter following the directions on Bill
>> McClain's page for typescripts. Now I want to use \sc in both regular
>> and expanded form. What is the best way to add a \sc typeface to my
>> file?
>
>Bill McC suggested that Texfont could be used to create a small caps 
>version but I haven't figured it out yet. If I don't find any other 
>answer I will either use a small caps font from another typeface or 
>else 
>do a kludge like
> \fonta H\fontb ELLO
>---to get "Hello" in caps and small caps,
>\fonta being Charter at 11pts and \fontb being Charter at perhaps 6pts.
>Surely there is a better way??

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-04  5:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-02 20:06 Create pseudo small caps John Culleton
2003-09-03 21:34 ` John Culleton
2003-09-04  5:29   ` Adam Lindsay

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