No virtuous deed goes unpunished. I have been using old-fashioned \font commands with Context because the other was just too confusing. But I htought it was time to ger religion. So I copied the following pretty much verbatim from a manual: \definefontsynonym [Serif] [Palatino] \definefontsynonym [Palatino][uplr8r] [encoding=default] \definebodyfont [14.4pt] [rm] [tf=Serif sa 1] ... \switchtobodyfont[14.4pt] ...and I get Computer Modern according to Acrobat Reader. ---------------------------------- But when I use this: \font\rm=uplr8r at 12pt \font\bf=uplb8r at 14.4pt \font\bs=uplbo8r at 17.3pt \rm I get the font I want where I want it. --------------------------------------------------- So what am I messing up in the first example? John Culleton ____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/
Hello, John, Good luck grappling with fonts. I think the hardest thing in terms of transferring font knowledge is that it consists of numerous little tricks along the way. I *think* that you need at this point is: \usetypescript [berry] [\defaultencoding] It's in the cont-sys file as a potential line to uncomment. You'll also want to choose something for the \setupencoding line, too. I'm sorry I can't say for certain, but my TeXLive install is far from being virgin, at this point. (The hussy.) Cheers, adam John Culleton said this at Tue, 6 May 2003 13:49:05 -0400:
No virtuous deed goes unpunished. I have been using old-fashioned \font commands with Context because the other was just too confusing. But I htought it was time to ger religion. So I copied the following pretty much verbatim from a manual:
\definefontsynonym [Serif] [Palatino] \definefontsynonym [Palatino][uplr8r] [encoding=default] \definebodyfont [14.4pt] [rm] [tf=Serif sa 1] ... \switchtobodyfont[14.4pt]
...and I get Computer Modern according to Acrobat Reader. ----------------------------------
But when I use this:
\font\rm=uplr8r at 12pt \font\bf=uplb8r at 14.4pt \font\bs=uplbo8r at 17.3pt \rm
I get the font I want where I want it. --------------------------------------------------- So what am I messing up in the first example?
John Culleton
____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/ _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On Tuesday 06 May 2003 02:04 pm, Adam Lindsay wrote:
Hello, John,
Good luck grappling with fonts. I think the hardest thing in terms of transferring font knowledge is that it consists of numerous little tricks along the way.
I *think* that you need at this point is: \usetypescript [berry] [\defaultencoding]
It's in the cont-sys file as a potential line to uncomment. You'll also want to choose something for the \setupencoding line, too.
I'm sorry I can't say for certain, but my TeXLive install is far from being virgin, at this point. (The hussy.)
Cheers, adam
I found not cont-sys but cont-sys.rme. I made the changes (uncommented the line and made the default coding 8r.) Then I copied cont-sys.rme to cont-sys (seem to remember that was necessary.) Still no help. Next I will try to eliminate all the synonym stuff and call for the font more directly. If that doesn't work I am back to the old plain tex way. John C. ____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/
John Culleton said this at Tue, 6 May 2003 15:47:06 -0400:
I found not cont-sys but cont-sys.rme. I made the changes (uncommented the line and made the default coding 8r.) Then I copied cont-sys.rme to cont-sys (seem to remember that was necessary.) Still no help.
cont-sys.tex probably best to put it in tex/context/user/, also. And of course, run (sudo) texhash before continuing.
Next I will try to eliminate all the synonym stuff and call for the font more directly. If that doesn't work I am back to the old plain tex way.
I think you're close, and I'm now pretty convinced that Hans' font religion is a good, powerful way to go. adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On Tuesday 06 May 2003 03:56 pm, Adam Lindsay wrote:
John Culleton said this at Tue, 6 May 2003 15:47:06 -0400: cont-sys.tex probably best to put it in tex/context/user/, also. And of course, run (sudo) texhash before continuing.
I think you're close, and I'm now pretty convinced that Hans' font religion is a good, powerful way to go.
adam
It would be wonderful if I could only make it work. Should I try making everything ec instead of 8r? I am just stumbling around now. John C. ____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/
On Tue, 6 May 2003 17:00:30 -0400
John Culleton
It would be wonderful if I could only make it work. Should I try making everything ec instead of 8r? I am just stumbling around now.
No, don't do that. Did you run texhash again after renaming cont-sys.rme to cont-sys.tex? Did you run it as root? Every time there is a file name change (add, delete, rename) in the tex directory tree, texhash must be run again. As an aside, I've switched to TexLive recently and have wanted to add a section to my help page: "Using the standard fonts in ConTeXt without writing additional scripts." I think there are only a few that are predefined. I'll work on examples for them all, including the Palatino. -Bill -- Sattre Press Curiosities of the Sky http://sattre-press.com/ by Garrett Serviss info@sattre-press.com http://csky.sattre-press.com/
At 16:12 06/05/2003 -0500, you wrote:
On Tue, 6 May 2003 17:00:30 -0400 John Culleton
wrote: It would be wonderful if I could only make it work. Should I try making everything ec instead of 8r? I am just stumbling around now.
No, don't do that. Did you run texhash again after renaming cont-sys.rme to cont-sys.tex? Did you run it as root? Every time there is a file name change (add, delete, rename) in the tex directory tree, texhash must be run again.
As an aside, I've switched to TexLive recently and have wanted to add a section to my help page: "Using the standard fonts in ConTeXt without writing additional scripts." I think there are only a few that are predefined. I'll work on examples for them all, including the Palatino.
if there is interest, i can post a zip with the additional tfm files so that things work out the box -) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On woensdag, mei 7, 2003, at 09:41 Europe/Amsterdam, Hans Hagen wrote:
if there is interest, i can post a zip with the additional tfm files so that things work out the box -)
Now that would save a lot of traffic, frustration, hair pulling and what have you... I would appreciate that Maarten Murphy's Law, supplemental: The light at the end of the tunnel is the headlamp of an oncoming train.
On Wed, 07 May 2003 09:41:14 +0200
Hans Hagen
if there is interest, i can post a zip with the additional tfm files so that things work out the box -)
I was thinking of breaking this into three levels: (1) Fonts that can be used from TexLive "out of the box", no additional scripting or installation required. (2) Fonts that can be accessed with new typescripts, which I would provide. This should include everything on TexLive. (3) Doing new installations with texfont. This shouldn't be necessary unless new encodings are needed. Would providing new tfms be a way of moving fonts from category #2 to #1? -Bill -- Sattre Press In the Quarter http://sattre-press.com/ by Robert W. Chambers info@sattre-press.com http://itq.sattre-press.com/
Bill McClain said this at Wed, 7 May 2003 06:10:11 -0500:
(2) Fonts that can be accessed with new typescripts, which I would provide. This should include everything on TexLive.
I can help with this one--during one of my early font weekends, I sorted out a few typescripts (based on your help page) that built upon the TeXLive built-ins. Cheers, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On Wed, May 07, 2003 at 09:41:14AM +0200, Hans Hagen wrote:
As an aside, I've switched to TexLive recently and have wanted to add a section to my help page: "Using the standard fonts in ConTeXt without writing additional scripts." I think there are only a few that are predefined. I'll work on examples for them all, including the Palatino.
if there is interest, i can post a zip with the additional tfm files so that things work out the box -)
I think lots of people would benefit. Come on :) /S
Hello John,
It would be wonderful if I could only make it work. Should I try making everything ec instead of 8r? I am just stumbling around now.
It depends on the font you are using and how the ec/8r metrics were produced. In the case of the fonts shipped with psnfss you probably want to use ec. As far as I can see, those are designed to use with ec only (8r only as part of the reencoding). Patrick
At 17:00 06/05/2003 -0400, John Culleton wrote:
On Tuesday 06 May 2003 03:56 pm, Adam Lindsay wrote:
John Culleton said this at Tue, 6 May 2003 15:47:06 -0400: cont-sys.tex probably best to put it in tex/context/user/, also. And of course, run (sudo) texhash before continuing.
I think you're close, and I'm now pretty convinced that Hans' font religion is a good, powerful way to go.
adam
It would be wonderful if I could only make it work. Should I try making everything ec instead of 8r? I am just stumbling around now.
either texnansi or ec, 8r is not that useful Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On Tue, 6 May 2003 13:49:05 -0400
John Culleton
No virtuous deed goes unpunished. I have been using old-fashioned \font commands with Context because the other was just too confusing. But I htought it was time to ger religion. So I copied the following pretty much verbatim from a manual:
The following works out of the box on TeXLive. Make sure \autoloadmapfilestrue is uncommented in cont-sys.tex and that texhash has been run (as root, if necessary) if any file name changes have been made in the tex tree: * * * \usetypescript[berry][ec] % or [8r] \usetypescript[palatino][ec] % \setupbodyfont[palatino] \starttext This is URW Palladio (Palatino). {\bf Bold,} {\it italic,} {\bi bold-italic,} {\em slanted,} {\em \bf bold-slanted.} \stoptext * * * I expected \em to produce italic, but it is slanted instead. -Bill -- Sattre Press In the Quarter http://sattre-press.com/ by Robert W. Chambers info@sattre-press.com http://itq.sattre-press.com/
On woensdag, mei 7, 2003, at 15:37 Europe/Amsterdam, Bill McClain wrote:
I expected \em to produce italic, but it is slanted instead.
This is the default on ConTeXt (ask Hnas why, if you really want to know why). You can change this with: \setupbodyfontenvironment[default][em=italic] Maarten
participants (7)
-
Adam Lindsay
-
Bill McClain
-
Hans Hagen
-
John Culleton
-
Maarten Sneep
-
Patrick Gundlach
-
Slawek Zak