ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Confusion with font instructions
@ 2005-07-03  7:13 David Rogers
  2005-07-04  7:54 ` Patrick Gundlach
  0 siblings, 1 reply; 11+ messages in thread
From: David Rogers @ 2005-07-03  7:13 UTC (permalink / raw)


Hi all

I am new to ConTeXt, as my question is about to reveal.

There are now several sets of instructions on the net, some of them very
long essays, about how to enable different fonts for ConTeXt. Before I
dive in:

Which set of instructions should I follow, in order to allow use of
Palatino or Times, on Mac OS X, Gerben Wierda's TeX distribution, latest
ConTeXt installed? I know the information is already out there, just
don't know which pages to trust my afternoon/weekend/summer to.  :-)

Thanks
David

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

* Re: Confusion with font instructions
  2005-07-03  7:13 Confusion with font instructions David Rogers
@ 2005-07-04  7:54 ` Patrick Gundlach
  2005-07-04 10:33   ` Adam Lindsay
  0 siblings, 1 reply; 11+ messages in thread
From: Patrick Gundlach @ 2005-07-04  7:54 UTC (permalink / raw)


Hello David,

> I am new to ConTeXt, as my question is about to reveal.

This questions can also come from more experienced users :)

> Which set of instructions should I follow, in order to allow use of
> Palatino or Times, on Mac OS X, Gerben Wierda's TeX distribution, latest
> ConTeXt installed? 

OK, do you have LaTeX working? Then you can use the standard
postscript fonts for ConTeXt as well. Have a look at the (yet
unfinished page)

http://contextgarden.net/Psnfss

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net

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

* Re: Re: Confusion with font instructions
  2005-07-04  7:54 ` Patrick Gundlach
@ 2005-07-04 10:33   ` Adam Lindsay
  2005-07-04 11:20     ` Otared KAVIAN
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Adam Lindsay @ 2005-07-04 10:33 UTC (permalink / raw)


Patrick Gundlach said this at Mon, 4 Jul 2005 09:54:06 +0200:

>Hello David,
>
>> I am new to ConTeXt, as my question is about to reveal.
>
>This questions can also come from more experienced users :)
>
>> Which set of instructions should I follow, in order to allow use of
>> Palatino or Times, on Mac OS X, Gerben Wierda's TeX distribution, latest
>> ConTeXt installed? 
>
>OK, do you have LaTeX working? Then you can use the standard
>postscript fonts for ConTeXt as well. Have a look at the (yet
>unfinished page)
>
>http://contextgarden.net/Psnfss

Sadly, that page relies on type-pre, which is deprecated!
(Yes, the situation changes again.)

So, the situation should now be:

% Times, Helvetica, Courier:
\usetypescript [adobekb]   [\defaultencoding] % default=ec
\usetypescript [postscript][\defaultencoding]
\setupbodyfont [postscript]

% or, for Times, Helvetica, and Latin Modern TT:
\usetypescript [adobekb][\defaultencoding]
\usetypescript [times]  [\defaultencoding]
\setupbodyfont [times]

% or, for Palatino & Latin Modern TT:
\usetypescript [adobekb]  [\defaultencoding] 
\usetypescript [palatino] [\defaultencoding]
\setupbodyfont [palatino]

The situation is "dynamic" because, to Hans's increasing frustration,
the font files that get distributed change with just about every release
of tetex (which gwTeX is mostly based on) or TeXLive.

Anyway, I hope this helps in the short term!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: Re: Confusion with font instructions
  2005-07-04 10:33   ` Adam Lindsay
@ 2005-07-04 11:20     ` Otared KAVIAN
  2005-07-04 15:07     ` David Rogers
  2005-07-04 15:28     ` Hans Hagen
  2 siblings, 0 replies; 11+ messages in thread
From: Otared KAVIAN @ 2005-07-04 11:20 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2546 bytes --]

On 7/4/05, Adam Lindsay <atl@comp.lancs.ac.uk> wrote:
> Patrick Gundlach said this at Mon, 4 Jul 2005 09:54:06 +0200:
> 
> >Hello David,
> >
> >> I am new to ConTeXt, as my question is about to reveal.
> >
> >This questions can also come from more experienced users :)
> >
> >> Which set of instructions should I follow, in order to allow use of
> >> Palatino or Times, on Mac OS X, Gerben Wierda's TeX distribution, latest
> >> ConTeXt installed?
> >
> >OK, do you have LaTeX working? Then you can use the standard
> >postscript fonts for ConTeXt as well. Have a look at the (yet
> >unfinished page)
> >
> >http://contextgarden.net/Psnfss
> 
> Sadly, that page relies on type-pre, which is deprecated!
> (Yes, the situation changes again.)
> 
> So, the situation should now be:
> 
> % Times, Helvetica, Courier:
> \usetypescript [adobekb]   [\defaultencoding] % default=ec
> \usetypescript [postscript][\defaultencoding]
> \setupbodyfont [postscript]
> 
> % or, for Times, Helvetica, and Latin Modern TT:
> \usetypescript [adobekb][\defaultencoding]
> \usetypescript [times]  [\defaultencoding]
> \setupbodyfont [times]
> 
> % or, for Palatino & Latin Modern TT:
> \usetypescript [adobekb]  [\defaultencoding]
> \usetypescript [palatino] [\defaultencoding]
> \setupbodyfont [palatino]
> 
> The situation is "dynamic" because, to Hans's increasing frustration,
> the font files that get distributed change with just about every release
> of tetex (which gwTeX is mostly based on) or TeXLive.
> 

Hi David, Patrick and Adam,


It is right that handling fonts is extremely disappointing and instable...
For instance, what used to work does not work anymore properly with
the new version of ConTeXt I installed two weeks ago... (please see
below).
For instance:

\usetypescript [adobekb][\defaultencoding]
\setupbodyfont[postscript]
\usetypescript[times][\defaultencoding] %or helvetica, or palatino
\setupbodyfont[times,12pt]

used to work fine, but now it results in ConTeXt creating, the first
time, a whole bunch of things regarding fonts, and then the resulting
PDF contains some ugly jagging bitmap-looking characters
(interestingly this happens only to the text characters, not to the
math characters...). Adding

\usetypescript [postscript][\defaultencoding]

before \setupbodyfont[postscript] does not change anymorethe situation.

I wanted to answer David's question on Saturday but when I tried my
examples, I was dispappointed and did not answer.

Best regards: OK

[-- Attachment #2: before.pdf --]
[-- Type: application/pdf, Size: 121346 bytes --]

[-- Attachment #3: after.pdf --]
[-- Type: application/pdf, Size: 133678 bytes --]

[-- Attachment #4: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Re: Confusion with font instructions
  2005-07-04 10:33   ` Adam Lindsay
  2005-07-04 11:20     ` Otared KAVIAN
@ 2005-07-04 15:07     ` David Rogers
  2005-07-04 15:29       ` Hans Hagen
  2005-07-04 15:28     ` Hans Hagen
  2 siblings, 1 reply; 11+ messages in thread
From: David Rogers @ 2005-07-04 15:07 UTC (permalink / raw)


Adam Lindsay wrote:

>Patrick Gundlach said this at Mon, 4 Jul 2005 09:54:06 +0200:
>
>>Hello David,
>>
>>> I am new to ConTeXt, as my question is about to reveal.
>>
>>This questions can also come from more experienced users :)
>>
>>> Which set of instructions should I follow, in order to allow use of
>>> Palatino or Times, on Mac OS X, Gerben Wierda's TeX distribution,
latest
>>> ConTeXt installed? 
>>
>>OK, do you have LaTeX working? Then you can use the standard
>>postscript fonts for ConTeXt as well. Have a look at the (yet
>>unfinished page)
>>
>>http://contextgarden.net/Psnfss
>
>Sadly, that page relies on type-pre, which is deprecated!
>(Yes, the situation changes again.)
>
>So, the situation should now be:
>
>% Times, Helvetica, Courier:
>\usetypescript [adobekb]   [\defaultencoding] % default=ec
>\usetypescript [postscript][\defaultencoding]
>\setupbodyfont [postscript]


OK, I tried this setup, and ConTeXt ran without stopping to complain,
but (as Otared described, I guess) the font actually produced is very
jaggy, both on screen and in print. My nostalgia for dot matrix printers
is not as great as one might suppose.  :-)

And I thought I was just asking for a shortcut answer to a dumb
question!

Thanks for the help
David

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

* Re: Re: Confusion with font instructions
  2005-07-04 10:33   ` Adam Lindsay
  2005-07-04 11:20     ` Otared KAVIAN
  2005-07-04 15:07     ` David Rogers
@ 2005-07-04 15:28     ` Hans Hagen
  2 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2005-07-04 15:28 UTC (permalink / raw)


Adam Lindsay wrote:

> Sadly, that page relies on type-pre, which is deprecated!
> (Yes, the situation changes again.)

hm, i can enable that one again, but will not give guarantees (some fonts have 
changed, for instance antikwa and we now have proper encoding support for latin 
modern so all those other things should go otherwise they will interfere;

which ones from type-pre are used?

> So, the situation should now be:
> 
> % Times, Helvetica, Courier:
> \usetypescript [adobekb]   [\defaultencoding] % default=ec
> \usetypescript [postscript][\defaultencoding]
> \setupbodyfont [postscript]
> 
> % or, for Times, Helvetica, and Latin Modern TT:
> \usetypescript [adobekb][\defaultencoding]
> \usetypescript [times]  [\defaultencoding]
> \setupbodyfont [times]
> 
> % or, for Palatino & Latin Modern TT:
> \usetypescript [adobekb]  [\defaultencoding] 
> \usetypescript [palatino] [\defaultencoding]
> \setupbodyfont [palatino]
> 
> The situation is "dynamic" because, to Hans's increasing frustration,
> the font files that get distributed change with just about every release
> of tetex (which gwTeX is mostly based on) or TeXLive.

indeed; the only way out is to have an additional zip with font files (something 
that we discussed last ntg meeting); for instance,

- say that you want verbatim
- and use ec encoding
- and use kb names
- and don't want --- ligatures and such

.... impossible (with the current tex, less impossible with the next release of 
pdftex) .. so, you switch to texnansi

- for which there are kb names
- but metrics are never shipped
- so you need to generate them with texfont
- and then *not* load the kn typescripts

etc etc. it's just impossible to keep up with feature requests (fonts, 
languages, backends) and at the same time be compatible with the way latex users 
are accustomed to it cq. latex changes dealing with fonts cq. distributions keep 
changing

(so guess why i only use tex font generated metrics)

> Anyway, I hope this helps in the short term!

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

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

* Re: Re: Confusion with font instructions
  2005-07-04 15:07     ` David Rogers
@ 2005-07-04 15:29       ` Hans Hagen
  2005-07-04 16:39         ` David Rogers
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2005-07-04 15:29 UTC (permalink / raw)


David Rogers wrote:

> OK, I tried this setup, and ConTeXt ran without stopping to complain,
> but (as Otared described, I guess) the font actually produced is very
> jaggy, both on screen and in print. My nostalgia for dot matrix printers
> is not as great as one might suppose.  :-)

So, do you get bitmaps fonts (i didn't kno wthat there were for the ps fonts)? 
what does the pdftex log say?

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

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

* Re: Re: Confusion with font instructions
  2005-07-04 15:29       ` Hans Hagen
@ 2005-07-04 16:39         ` David Rogers
  2005-07-04 19:09           ` Radhelorn
  2005-07-04 19:41           ` Hans Hagen
  0 siblings, 2 replies; 11+ messages in thread
From: David Rogers @ 2005-07-04 16:39 UTC (permalink / raw)


Hans Hagen wrote:

>David Rogers wrote:
>
>> OK, I tried this setup, and ConTeXt ran without stopping to complain,
>> but (as Otared described, I guess) the font actually produced is very
>> jaggy, both on screen and in print. My nostalgia for dot matrix
printers
>> is not as great as one might suppose.  :-)
>
>So, do you get bitmaps fonts (i didn't kno wthat there were for the ps
fonts)? 

Yes, or so it appears - a bitmap Times and a bitmap Palatino, which are
vaguely recognizable. (the Palatino has oval bowls and long serifs, for
instance.)


>what does the pdftex log say?


I don't have the log of the first run, where it created the fonts, but
this is what I get now:





_______________________________________


 TeXExec 5.4.2 - ConTeXt / PRAGMA ADE 1997-2005

fixing engine variable : pdfetex
            executable : pdfetex
                format : cont-en
             inputfile : PretendPaper
                output : pdftex
             interface : en
          current mode : none
               TeX run : 1

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
entering extended mode
(./PretendPaper.tex

ConTeXt  ver: 2005.06.27  fmt: 2005.7.2  int: english  mes: english

language        : language en is active
<protectionstate 0>
system          : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
color           : palette rollover is available
)
system          : cont-old loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys.rme loaded
(/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex))
bodyfont        : 12pt rm is loaded
language        : patterns en->ec:ec->1->2:2 uk->ec:ec->2->2:2
de->texnansi:tex
nansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:2
fr->ec:ec->6->2:2
 es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2 pt->ec:ec->9->2:2
it->texnansi
:texnansi->10->2:2 it->ec:ec->11->2:2 nl->texnansi:texnansi->12->2:2
nl->ec:ec-
>13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2 sk->il2:il2->16->2:2
sk->ec:ec
->17->2:2 pl->pl0:pl0->18->2:2 pl->ec:ec->19->2:2 loaded
specials        : tex,postscript,rokicki loaded
system          : PretendPaper.top loaded
(./PretendPaper.top
specials        : loading definition file tpd
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex)
specials        : fdf loaded
)
specials        : fdf,tpd loaded
) (./env_mla.tex
systems         : print width forced to paper width
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)))
(./PretendPaper.tuo) (./PretendPaper.tuo) (./PretendPaper.tuo)
(./PretendPaper.tuo) (./PretendPaper.tuo) (./PretendPaper.tuo)
(./PretendPaper.tuo) (./PretendPaper.tuo) (./PretendPaper.tuo)
(./PretendPaper.tuo) (./PretendPaper.tuo) (./PretendPaper.tuo)
(./PretendPaper.tuo)
systems         : begin file PretendPaper at line 34
fonts           : resetting map file list
fonts           : using map file: original-base
fonts           : using map file: ec-public-lm
fonts           : using map file: ec-base
fonts           : using map file: original-ams-base
fonts           : using map file: original-public-lm
fonts           : using map file: ec-urw-palatino
fonts           : using map file: original-youngryu-px
[1.1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/
original-empty
.map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/
original-base
.map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-
public-lm.
map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base
.map}{/
usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-ams-
base.ma
p}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-
public-
lm.map}
Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file
{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-
youngryu-
px.map}] [2.2] [3.3]
Underfull \hbox (badness 2181) in paragraph at lines 56--56
 []\*palatino12ptrmsc*: Works Cit-ed 
[4.4]
systems         : end file PretendPaper at line 60
 )
(see the transcript file for additional information)
</var/tmp/texfonts/pk/mode
less/adobe/palatino/pplro8r.86pk>
</var/tmp/texfonts/pk/modeless/adobe/palatino
/pplr8r.72pk> </var/tmp/texfonts/pk/modeless/adobe/palatino/pplr8r.58pk>
</var/
tmp/texfonts/pk/modeless/adobe/palatino/pplr8r.86pk>
Output written on PretendPaper.pdf (4 pages, 36510 bytes).
Transcript written on PretendPaper.log.

           return code : 0
              run time : 7 seconds
  sorting and checking : running texutil

 TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
 
                action : processing commands, lists and registers 
                option : sorting IJ under Y 
                option : converting high ASCII values 
            input file : PretendPaper.tui 
           output file : PretendPaper.tuo 
       passed commands : 29 
         remapped keys : 0 
      register entries : 0 -> 0 entries 0 references 
       synonym entries : 0 -> 0 entries 
        embedded files : 1 

        total run time : 10 seconds

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

* Re: Re: Confusion with font instructions
  2005-07-04 16:39         ` David Rogers
@ 2005-07-04 19:09           ` Radhelorn
  2005-07-05  0:34             ` Solved! was " David Rogers
  2005-07-04 19:41           ` Hans Hagen
  1 sibling, 1 reply; 11+ messages in thread
From: Radhelorn @ 2005-07-04 19:09 UTC (permalink / raw)


David Rogers wrote:
>>>OK, I tried this setup, and ConTeXt ran without stopping to complain,
>>>but (as Otared described, I guess) the font actually produced is very
>>>jaggy, both on screen and in print. My nostalgia for dot matrix


> ....................
> fonts           : resetting map file list
> fonts           : using map file: original-base
> fonts           : using map file: ec-public-lm
> fonts           : using map file: ec-base
> fonts           : using map file: original-ams-base
> fonts           : using map file: original-public-lm
> fonts           : using map file: ec-urw-palatino
> fonts           : using map file: original-youngryu-px
> [1.1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/
> original-empty
> .map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/
> original-base
> .map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-
> public-lm.
> map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base
> .map}{/
> usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-ams-
> base.ma
> p}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-
> public-
> lm.map}
> Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file
> {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-
> youngryu-
> px.map}] [2.2] [3.3]
 > ............

Well, here is your problem. pdftex cannot find map file for direct font 
inclusion and you get bitmaps.

I've found needed definitions in context-base.map and ec-base.map. 
ec-base is loaded by default, but dose nothing. Maybe someone explain 
this. As a quick solution try:

\loadmapfile [context-base] % !!!
\setupencoding [default=ec]
\usetypescript [adobekb] [\defaultencoding]
\usetypescript [palatino] [\defaultencoding]
\usetypescript [postscript] [\defaultencoding]
\usetypescript [lucida] [\defaultencoding]
\setupbodyfont [palatino]

\setupoutput[pdftex]

\startbuffer
Some {\bf text} to {\it test} {\sl font} {\bs switching}.
\stopbuffer

\starttext
\getbuffer

\switchtobodyfont [postscript] \getbuffer

\switchtobodyfont [lucida] \getbuffer
\stoptext

Works for me on tetex-3.0.

-- 
Radhelorn <radhelorn@mail.ru>

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

* Re: Re: Confusion with font instructions
  2005-07-04 16:39         ` David Rogers
  2005-07-04 19:09           ` Radhelorn
@ 2005-07-04 19:41           ` Hans Hagen
  1 sibling, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2005-07-04 19:41 UTC (permalink / raw)


David Rogers wrote:

> systems         : print width forced to paper width
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
> (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
...

you can try (top of document):

\preloadtypescripts

this saves some runtime

> fonts           : using map file: original-youngryu-px

this is the one

> [1.1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/
> original-empty
> .map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/
> original-base
> .map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-
> public-lm.
> map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base
> .map}{/
> usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-ams-
> base.ma
> p}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-
> public-
> lm.map}
> Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file

this one is missing on your system, it's an indocation that your setup expects 
texfont generated metrics

(you can generate the lot with " texmfstart texfont.pl type-tmf.dat --en=ec ")


> {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-
> youngryu-
> px.map}]

thos one should do the job for your (math) palatino

  [2.2] [3.3]
> Underfull \hbox (badness 2181) in paragraph at lines 56--56
>  []\*palatino12ptrmsc*: Works Cit-ed 
> [4.4]
> systems         : end file PretendPaper at line 60
>  )
> (see the transcript file for additional information)
> </var/tmp/texfonts/pk/mode
> less/adobe/palatino/pplro8r.86pk>
> </var/tmp/texfonts/pk/modeless/adobe/palatino
> /pplr8r.72pk> </var/tmp/texfonts/pk/modeless/adobe/palatino/pplr8r.58pk>
> </var/
> tmp/texfonts/pk/modeless/adobe/palatino/pplr8r.86pk>

hm, i have no idea how these pk fonts are generated; i've disabled those 
automatisms and don't want to mess up my system

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

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

* Solved! was Re: Confusion with font instructions
  2005-07-04 19:09           ` Radhelorn
@ 2005-07-05  0:34             ` David Rogers
  0 siblings, 0 replies; 11+ messages in thread
From: David Rogers @ 2005-07-05  0:34 UTC (permalink / raw)


Radhelorn wrote:

>\loadmapfile [context-base] % !!!

On my machine, this was the missing piece. Thank you for your
persistence!

(makes a deep bow)  :-)

David

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

end of thread, other threads:[~2005-07-05  0:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-03  7:13 Confusion with font instructions David Rogers
2005-07-04  7:54 ` Patrick Gundlach
2005-07-04 10:33   ` Adam Lindsay
2005-07-04 11:20     ` Otared KAVIAN
2005-07-04 15:07     ` David Rogers
2005-07-04 15:29       ` Hans Hagen
2005-07-04 16:39         ` David Rogers
2005-07-04 19:09           ` Radhelorn
2005-07-05  0:34             ` Solved! was " David Rogers
2005-07-04 19:41           ` Hans Hagen
2005-07-04 15:28     ` Hans Hagen

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