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; 29+ 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] 29+ 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; 29+ 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] 29+ 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; 29+ 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] 29+ 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; 29+ 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] 29+ 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; 29+ 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] 29+ 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; 29+ 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] 29+ 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; 29+ 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] 29+ 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; 29+ 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] 29+ 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; 29+ 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] 29+ 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; 29+ 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] 29+ 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; 29+ 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] 29+ messages in thread

* Re: Re: Confusion with font instructions
  2005-07-06  9:19               ` Otared Kavian
@ 2005-07-06 10:09                 ` Radhelorn
  0 siblings, 0 replies; 29+ messages in thread
From: Radhelorn @ 2005-07-06 10:09 UTC (permalink / raw)


Otared Kavian wrote:
> 
> On 5 juil. 2005, at 18:25, Adam Lindsay wrote:
> 
>> David Rogers said this at Tue, 5 Jul 2005 09:18:45 -0700:
>>
>>
>>> But if I change every times to lucida, typesetting reverts to cm  (or lm
>>> or whatever it is) and no lucida appears. What am I missing?
>>>
>>
>> Have you bought the lucida fonts for TeX?
> 
> 
> Yes I have bought Lucida fonts for TeX as well as MathTime, but don't  
> know and don't understand how to use them...
> 

All needed mappings are in type-buy.tex. Look there and install your 
fonts to comply with that layout. Or you can create typescripts with 
proper synonyms, look in type-dis.tex for example.

Hope this helps.

-- 
Radhelorn <radhelorn@mail.ru>

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

* Re: Re: Confusion with font instructions
  2005-07-05 16:25             ` Adam Lindsay
  2005-07-05 16:45               ` David Rogers
@ 2005-07-06  9:19               ` Otared Kavian
  2005-07-06 10:09                 ` Radhelorn
  1 sibling, 1 reply; 29+ messages in thread
From: Otared Kavian @ 2005-07-06  9:19 UTC (permalink / raw)



On 5 juil. 2005, at 18:25, Adam Lindsay wrote:

> David Rogers said this at Tue, 5 Jul 2005 09:18:45 -0700:
>
>
>> But if I change every times to lucida, typesetting reverts to cm  
>> (or lm
>> or whatever it is) and no lucida appears. What am I missing?
>>
>
> Have you bought the lucida fonts for TeX?

Yes I have bought Lucida fonts for TeX as well as MathTime, but don't  
know and don't understand how to use them...

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

* Re: Re: Confusion with font instructions
  2005-07-04 21:33     ` Hans Hagen
  2005-07-04 22:43       ` Otared Kavian
@ 2005-07-05 17:09       ` Radhelorn
  1 sibling, 0 replies; 29+ messages in thread
From: Radhelorn @ 2005-07-05 17:09 UTC (permalink / raw)


Hans Hagen wrote:
> Does:
> 
> \usetypescript [adobekb]   [ec]
> \usetypescript [postscript][ec]
> 
> \loadmapfile[ec-base.map]
> 
> \usetypescript[times][\defaultencoding]
> \setupbodyfont[times,12pt]
> 
> \starttext
> \input knuth
> \stoptext
> 
> work? If so, i'll add the map file loading to the adobekb typescripts

No, it's not. But replacing ec-base with context-base solves the
problem. I don't know why. Relevant lines in these files identical. 
Using 8r encoding also helps, but texnansi gives same result as ec.

-- 
Radhelorn <radhelorn@mail.ru>

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

* Re: Re: Confusion with font instructions
  2005-07-05 16:25             ` Adam Lindsay
@ 2005-07-05 16:45               ` David Rogers
  2005-07-06  9:19               ` Otared Kavian
  1 sibling, 0 replies; 29+ messages in thread
From: David Rogers @ 2005-07-05 16:45 UTC (permalink / raw)


Adam Lindsay wrote:

>David Rogers said this at Tue, 5 Jul 2005 09:18:45 -0700:
>
>>But if I change every times to lucida, typesetting reverts to cm (or
lm
>>or whatever it is) and no lucida appears. What am I missing?
>
>Have you bought the lucida fonts for TeX?


Ah. That would explain it. I made too many assumptions from what I've
seen in other documents. Thanks.

David

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

* Re: Re: Confusion with font instructions
  2005-07-05 16:18           ` David Rogers
@ 2005-07-05 16:25             ` Adam Lindsay
  2005-07-05 16:45               ` David Rogers
  2005-07-06  9:19               ` Otared Kavian
  0 siblings, 2 replies; 29+ messages in thread
From: Adam Lindsay @ 2005-07-05 16:25 UTC (permalink / raw)


David Rogers said this at Tue, 5 Jul 2005 09:18:45 -0700:

>But if I change every times to lucida, typesetting reverts to cm (or lm
>or whatever it is) and no lucida appears. What am I missing?

Have you bought the lucida fonts for TeX?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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] 29+ messages in thread

* Re: Re: Confusion with font instructions
  2005-07-05  9:23         ` Otared Kavian
@ 2005-07-05 16:18           ` David Rogers
  2005-07-05 16:25             ` Adam Lindsay
  0 siblings, 1 reply; 29+ messages in thread
From: David Rogers @ 2005-07-05 16:18 UTC (permalink / raw)


Otared Kavian wrote:

>Following David's experience, I tried this and now eveything works  
>fine....
>
>%% times-good.tex
>\usetypescript [adobekb]   [ec]
>\loadmapfile [context-base]
>\usetypescript[times][\defaultencoding]
>\setupbodyfont[times,12pt]


This works for me. It also works if I change every times to palatino.

But if I change every times to lucida, typesetting reverts to cm (or lm
or whatever it is) and no lucida appears. What am I missing?

Thanks
David

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

* Re: Re: Confusion with font instructions
       [not found]       ` <20050704231144.13609@mail.comp.lancs.ac.uk>
@ 2005-07-05  9:23         ` Otared Kavian
  2005-07-05 16:18           ` David Rogers
  0 siblings, 1 reply; 29+ messages in thread
From: Otared Kavian @ 2005-07-05  9:23 UTC (permalink / raw)



On 5 juil. 2005, at 1:11, Adam Lindsay wrote:


> Hans Hagen said this at Mon, 4 Jul 2005 22:39:57 +0200:
>
>
>
>> Does this one work?
>>
>>
>
> Yes. But then it worked for me before. (Have \loadtypescript[adobekb]
> [\defaultencoding] in my cont-sys)
>

Hi,

Following David's experience, I tried this and now eveything works  
fine....

%% times-good.tex
\usetypescript [adobekb]   [ec]
\loadmapfile [context-base]
\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]

\starttext
\input knuth
\blank
And this is some maths with PostScript fonts.
\startformula
{a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}\!\! 
\! \sin^2(x)dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0,\qquad \sum_ 
{k=1}^{\infty}{1 \over k^2} = {\pi^2 \over 6}.
\stopformula
Some ligatures: ffi, ffl.
\stoptext

I put this example on the Wiki, hoping that this scheme of using  
Postscript fonts isgoing to be stable for some time...

Many many thanks to all of you for all your help.

Best regards: OK

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

* Re: Re: Confusion with font instructions
  2005-07-04 21:33     ` Hans Hagen
@ 2005-07-04 22:43       ` Otared Kavian
  2005-07-05 17:09       ` Radhelorn
  1 sibling, 0 replies; 29+ messages in thread
From: Otared Kavian @ 2005-07-04 22:43 UTC (permalink / raw)



On 4 juil. 2005, at 23:33, Hans Hagen wrote:

> Does:
>
> \usetypescript [adobekb]   [ec]
> \usetypescript [postscript][ec]
>
> \loadmapfile[ec-base.map]
>
> \usetypescript[times][\defaultencoding]
> \setupbodyfont[times,12pt]
>
> \starttext
> \input knuth
> \stoptext
>
> work? If so, i'll add the map file loading to the adobekb typescripts
>

Hi Hans,

Thanks for your help and patience with my inexperience...

I tried your minimal file above on a new gwTeX + ConTeXt
(ver: 2005.06.27  fmt: 2005.7.4  int: english  mes: english)
installation and the result is the same, that is a PDF with bitmap  
fonts... I am using:
pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)

The log-file of the first run says (among other things):
mktexpk: /var/tmp/texfonts/pk/modeless/adobe/times/ptmr8r.86pk:  
successfully generated.

When I add \loadallfontmapfiles to your minimal file, or (and) when I  
input the file type-akb.tex you sent in another message, the resulted  
PDF is the same (the only thing which changes is the log-file is that  
those ugly bitmap fonts are not anymore generated since they are  
cretaed in a first typesetting).

Although it is challenging to understand the problem, I can avoid  
using postscript fonts: so please don't spend much time on the issue...

Best regards: OK

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

* Re: Re: Confusion with font instructions
  2005-07-04 17:56   ` Otared Kavian
@ 2005-07-04 21:33     ` Hans Hagen
  2005-07-04 22:43       ` Otared Kavian
  2005-07-05 17:09       ` Radhelorn
       [not found]     ` <42C99E9D.9090304@wxs.nl>
  1 sibling, 2 replies; 29+ messages in thread
From: Hans Hagen @ 2005-07-04 21:33 UTC (permalink / raw)


Otared Kavian wrote:

> % times-bad.tex
> \usetypescript [adobekb]   [\defaultencoding]
> \usetypescript [postscript][\defaultencoding]
> %\setupbodyfont [postscript] % with or without this line
> \usetypescript[times][\defaultencoding]
> \setupbodyfont[times,12pt]
> \starttext
> \input knuth
> \stoptext

Does:

\usetypescript [adobekb]   [ec]
\usetypescript [postscript][ec]

\loadmapfile[ec-base.map]

\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]

\starttext
\input knuth
\stoptext

work? If so, i'll add the map file loading to the adobekb typescripts

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] 29+ messages in thread

* Re: Re: Confusion with font instructions
  2005-07-04 16:02   ` David Rogers
  2005-07-04 16:28     ` Adam Lindsay
@ 2005-07-04 19:43     ` Hans Hagen
  1 sibling, 0 replies; 29+ messages in thread
From: Hans Hagen @ 2005-07-04 19:43 UTC (permalink / raw)


David Rogers wrote:

> I deleted the pdftex.map file you mentioned, ran mktexlsr, and I still
> get the same effect. (I changed the font in my document from Times to
> Palatino, in case I was only getting a Times that had been badly
> generated on my first try with the map file still installed, but it now
> creates a bad version of Palatino as well.)

how does your current tex file looks like?

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] 29+ messages in thread

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


David Rogers wrote:
> Hans Hagen wrote:
> 
> 
>>Otared Kavian wrote:
>>
>>>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...).
>>
>>behaviour also depends on your local cont-sys.tex; what happens if you
>>remove that file (or rename it)?
> 
> 
> I don't have a cont-sys.tex anywhere, only cont-sys.ori and
> cont-sys.rme (two of each). Is this relevant?

i that case things should work, so i'm puzzled; maybe some map files are not on 
your system?

what happens if you say (after loading the typescripts):

\loadallfontmapfiles

(i'll add some more map sync points)

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] 29+ messages in thread

* Re: Re: Confusion with font instructions
  2005-07-04 15:11 ` Adam Lindsay
  2005-07-04 16:02   ` David Rogers
@ 2005-07-04 17:56   ` Otared Kavian
  2005-07-04 21:33     ` Hans Hagen
       [not found]     ` <42C99E9D.9090304@wxs.nl>
  1 sibling, 2 replies; 29+ messages in thread
From: Otared Kavian @ 2005-07-04 17:56 UTC (permalink / raw)


Hi Adam, Hans...

...and all of you who are trying to help us solve (and maybe  
understand) the intricacies of font management!

Here is what I did: on Saturday I  tried to answer David Rogers'  
question and so typeset an example file I had, before sending him.
Unfortunately everything went wrong for some reasons and so I gave up.
After Adam's and Hans' suggestion right this afternoon, I uninstalled  
my gwTeX, as well as ConTeXt and reinstalled everything anew.
I did not, and I do not have pdftex.map in
*/fonts/map/*/context/
and nevertheless when I tried to typeset my minimal sample file:

% times-bad.tex
\usetypescript [adobekb]   [\defaultencoding]
\usetypescript [postscript][\defaultencoding]
%\setupbodyfont [postscript] % with or without this line
\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]
\starttext
\input knuth
\stoptext

on my "virgin" installation, something goes wrong and the log shows  
the following:

[...snip...]
Running mktexpk --mfmode / --bdpi 72 --mag 1+14/72 --dpi 86 ptmr8r
mktexpk: Running gsftopk ptmr8r 86
gsftopk(k) version 1.19.2
Process aborted
/813
[1] [2] [3] [4] [5] [6] [7] [8] [9] [11] [12] [14] [15] [16] [17]  
[30] [31]
[32] [33] [34] [35] [36] [37] [38] [39] [40] [41Terminated

("Terminated" because I aborted the process).

I am not at all familiar with mktexpk (I even ignored its exisetnce  
up to now...), but the option
--bpdi 72
makes me think it is building a "72 dots per inch" font which we all  
hate, even after magnification
--mag 1+14/72...

I should also say that this does not infer with math fonts which  
appear correctly as one may see from the PDF attachments I sent (and  
which went finally through the list's moderator).

Thanks again for your help: OK


On 4 juil. 2005, at 17:11, Adam Lindsay wrote:

> Hi Otared,
>
> What you mention sounds like a bug propagated by Hans last month.  
> Take a
> look at this thread:
> <http://archive.contextgarden.net/thread/
> 20050610.172825.65f0c37f.html#20050610.172825.65f0c37f>
>
> (Assuming you're comfortable with the CLI, I'd suggest verifying  
> the bad
> file by navigating to /usr/local/teTeX/share or wherever your tex  
> trees
> live, and looking for the file:
> ls */fonts/map/*/context/pdftex.map
>
> If a file is returned, delete it (and mktexlsr again).
>
> If nothing is returned, then never mind, it's something else on  
> your system.
>
> One brief comment on your font selection below:
>
> Otared Kavian said this at Mon, 4 Jul 2005 16:28:31 +0200:
>
>
>> \usetypescript [adobekb][\defaultencoding]
>> \setupbodyfont[postscript]
>> \usetypescript[times][\defaultencoding] %or helvetica, or palatino
>> \setupbodyfont[times,12pt]
>>
>
> The [postscript] line in the above example is unnecessary. I'd suggest
> cutting it out entirely. With a properly-configured system, the three
> remaining lines should give you the results you expect.
>
> adam
> -- 

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

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


Hans Hagen wrote:

> Otared Kavian wrote:
>> 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...).
>
>behaviour also depends on your local cont-sys.tex; what happens if you
>remove that file (or rename it)?

I don't have a cont-sys.tex anywhere, only cont-sys.ori and
cont-sys.rme (two of each). Is this relevant?

David

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

* Re: Re: Confusion with font instructions
  2005-07-04 16:02   ` David Rogers
@ 2005-07-04 16:28     ` Adam Lindsay
  2005-07-04 19:43     ` Hans Hagen
  1 sibling, 0 replies; 29+ messages in thread
From: Adam Lindsay @ 2005-07-04 16:28 UTC (permalink / raw)


David Rogers said this at Mon, 4 Jul 2005 09:02:56 -0700:

>I deleted the pdftex.map file you mentioned, ran mktexlsr, and I still
>get the same effect. (I changed the font in my document from Times to
>Palatino, in case I was only getting a Times that had been badly
>generated on my first try with the map file still installed, but it now
>creates a bad version of Palatino as well.)

Sounds frustrating all around. I might be able to do more with a log
file (send off-list, please).
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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] 29+ messages in thread

* Re: Re: Confusion with font instructions
  2005-07-04 15:11 ` Adam Lindsay
@ 2005-07-04 16:02   ` David Rogers
  2005-07-04 16:28     ` Adam Lindsay
  2005-07-04 19:43     ` Hans Hagen
  2005-07-04 17:56   ` Otared Kavian
  1 sibling, 2 replies; 29+ messages in thread
From: David Rogers @ 2005-07-04 16:02 UTC (permalink / raw)


Adam Lindsay wrote:

>Hi Otared,
>
>What you mention sounds like a bug propagated by Hans last month. Take
a
>look at this thread:
><http://archive.contextgarden.net/thread/
>20050610.172825.65f0c37f.html#20050610.172825.65f0c37f>
>
>(Assuming you're comfortable with the CLI, I'd suggest verifying the
bad
>file by navigating to /usr/local/teTeX/share or wherever your tex trees
>live, and looking for the file:
>ls */fonts/map/*/context/pdftex.map
>
>If a file is returned, delete it (and mktexlsr again).


I deleted the pdftex.map file you mentioned, ran mktexlsr, and I still
get the same effect. (I changed the font in my document from Times to
Palatino, in case I was only getting a Times that had been badly
generated on my first try with the map file still installed, but it now
creates a bad version of Palatino as well.)

David

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

* Re: Re: Confusion with font instructions
  2005-07-04 14:28 Otared Kavian
  2005-07-04 15:11 ` Adam Lindsay
@ 2005-07-04 15:18 ` Hans Hagen
  2005-07-04 16:41   ` David Rogers
  1 sibling, 1 reply; 29+ messages in thread
From: Hans Hagen @ 2005-07-04 15:18 UTC (permalink / raw)


Otared Kavian wrote:

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

much of this has nothing to do with context but with

- switching from cm to lm (context has done this switch, latex will do that later)
- changes in the tds structure (hard to cope with automatically)
- changes in map files etc (there will be some more but in the end that mess 
will be cleaned up so that we don;t have differences in backends any more)

> For instance:
> 
> \usetypescript [adobekb][\defaultencoding]

this maps kb names and should work if they are present (only when your encoding 
is ec!)

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

nothing has changed here

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

behaviour also depends on your local cont-sys.tex; what happens if you remove 
that file (or rename it)?

it seems that you have a map file problem

> Adding \usetypescript[postscript] does not help neither.

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] 29+ messages in thread

* Re: Re: Confusion with font instructions
  2005-07-04 14:28 Otared Kavian
@ 2005-07-04 15:11 ` Adam Lindsay
  2005-07-04 16:02   ` David Rogers
  2005-07-04 17:56   ` Otared Kavian
  2005-07-04 15:18 ` Hans Hagen
  1 sibling, 2 replies; 29+ messages in thread
From: Adam Lindsay @ 2005-07-04 15:11 UTC (permalink / raw)


Hi Otared,

What you mention sounds like a bug propagated by Hans last month. Take a
look at this thread:
<http://archive.contextgarden.net/thread/
20050610.172825.65f0c37f.html#20050610.172825.65f0c37f>

(Assuming you're comfortable with the CLI, I'd suggest verifying the bad
file by navigating to /usr/local/teTeX/share or wherever your tex trees
live, and looking for the file:
ls */fonts/map/*/context/pdftex.map

If a file is returned, delete it (and mktexlsr again).

If nothing is returned, then never mind, it's something else on your system.

One brief comment on your font selection below:

Otared Kavian said this at Mon, 4 Jul 2005 16:28:31 +0200:

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

The [postscript] line in the above example is unnecessary. I'd suggest
cutting it out entirely. With a properly-configured system, the three
remaining lines should give you the results you expect.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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] 29+ messages in thread

* Re: Re: Confusion with font instructions
@ 2005-07-04 14:28 Otared Kavian
  2005-07-04 15:11 ` Adam Lindsay
  2005-07-04 15:18 ` Hans Hagen
  0 siblings, 2 replies; 29+ messages in thread
From: Otared Kavian @ 2005-07-04 14:28 UTC (permalink / raw)


>On 4 juil. 2005, at 9:54, Patrick Gundlach wrote:
>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
>--


Hi Patrick, David 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...
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] does not help neither.

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
PS: When I added two samples of the PDF files to my previous post, it 
was blocked due to the fact that the message was over 40 Kb. So I am 
posting again without the attachments.

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

end of thread, other threads:[~2005-07-06 10:09 UTC | newest]

Thread overview: 29+ 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
2005-07-04 14:28 Otared Kavian
2005-07-04 15:11 ` Adam Lindsay
2005-07-04 16:02   ` David Rogers
2005-07-04 16:28     ` Adam Lindsay
2005-07-04 19:43     ` Hans Hagen
2005-07-04 17:56   ` Otared Kavian
2005-07-04 21:33     ` Hans Hagen
2005-07-04 22:43       ` Otared Kavian
2005-07-05 17:09       ` Radhelorn
     [not found]     ` <42C99E9D.9090304@wxs.nl>
     [not found]       ` <20050704231144.13609@mail.comp.lancs.ac.uk>
2005-07-05  9:23         ` Otared Kavian
2005-07-05 16:18           ` David Rogers
2005-07-05 16:25             ` Adam Lindsay
2005-07-05 16:45               ` David Rogers
2005-07-06  9:19               ` Otared Kavian
2005-07-06 10:09                 ` Radhelorn
2005-07-04 15:18 ` Hans Hagen
2005-07-04 16:41   ` David Rogers
2005-07-04 19:33     ` 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).