Re: [NTG-context] Getting the default pdf fonts working on texlive 2007

2007-11-11 Thread Mojca Miklavec
On 11/12/07, Berend de Boer wrote:
> > "Mojca" == Mojca Miklavec writes:
>
> Mojca> You are missing this line (in front of setupbodyfont) for
> Mojca> example:
>
> Mojca> \usetypescript[postscript][ec]
> Mojca> \setupbodyfont[postscript,11pt]
>
> Mojca> Does this work?
>
> Unfortunately it doesn't.
>
>   {/usr/local/texlive/2007/texmf-dist/fonts/enc/dvips/base/8r.enc}   
> texlive/2007/texmf-dist/fonts/type1/urw/helvetic/uhvr8a.pfb>   /2007/texmf-dist/fonts/type1/urw/times/utmr8a.pfb>
>
> Still loads the urw files.

ConTeXt support is heading towards support for TeX Gyre.

Something like that could/should work (according to archives,
http://www.ntg.nl/pipermail/ntg-context/2003/002741.html), but it
doesn't and perhps it has been broken in the meantime - one should
take a closer look at it.

\usetypescriptfile [adobekb]
\usetypescript[adobekb][ec]
\usetypescript[palatino][ec]
\setupbodyfont[palatino]

In any case: ConTeXt will probably switch to TeX Gyre very soon, which
means that you won't (be able to) get URW fonts any more if you
dislike them :p

(That transition could be done already, but not everyone has TeX Gyre
installed. Perhaps the release of new TeX Live would be the best
transition point ... only guessing.)

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Getting the default pdf fonts working on texlive 2007

2007-11-11 Thread Berend de Boer
> "Mojca" == Mojca Miklavec <[EMAIL PROTECTED]> writes:

Mojca> You are missing this line (in front of setupbodyfont) for
Mojca> example:

Mojca> \usetypescript[postscript][ec]
Mojca> \setupbodyfont[postscript,11pt]

Mojca> Does this work?

Unfortunately it doesn't.

  {/usr/local/texlive/2007/texmf-dist/fonts/enc/dvips/base/8r.enc}

Still loads the urw files.


Mojca> 8r are "kind-of-not-supported any more", that's why files
Mojca> might be missing.

Yes, but had to try everything :-)

-- 
Cheers,

Berend de Boer


smime.p7s
Description: S/MIME cryptographic signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Getting the default pdf fonts working on texlive 2007

2007-11-01 Thread Mojca Miklavec
On 10/27/07, George N. White III <[EMAIL PROTECTED]> wrote:
> On 10/26/07, Berend de Boer <[EMAIL PROTECTED]> wrote:
>
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Hi Guys,
> >
> > Just had sometime to update to texlive 2007 from the DVD that was on
> > the shelf for quite some time.
> >
> > But as usual, the default postscript fonts don't work.
>
> Since I gave away my NeXT system, I no longer have Adobe fonts.
> Linux has (some version of) the URW fonts, so that is what I use.
>
> Most of the font support in TL is for LaTeX.  ConTeXt started out using
> plain tex mechanism and then took a different approach.   Look for
> mfont.pdf on the ConTeXt site (I don't see it in TeX Live).   It explains
> how to generate the missing map files as well as the typescript.
>
> You might look into XeTeX and (eventually) luatex, which are supposed to
> make it easier to use system fonts.
>
> > Setup: default texlive 2007. No cont-sys.tex. I used updmap --edit to
> > change LW35 to ADOBEkb.
> >
> > Here my test file:
> >
> > ==
> > \setupbodyfont
> >   [postscript,11pt]

You are missing this line (in front of setupbodyfont) for example:

\usetypescript[postscript][ec]
\setupbodyfont[postscript,11pt]

Does this work?

8r are "kind-of-not-supported any more", that's why files might be missing.

Note that the line above currently loads some urw fonts, while it will
load TeX Gyre in the future.

> Try just "[pos,11pt]".  I get:  (using the MKiV context with the svn version 
> of
> TL, so your results may not be quite the same, but this stuff shouldn't have
> changed much.

Tthis syntax is obsolete and only left there for backward
compatibility. See type-pre.tex:

%D This file is obsolete. We now have latin modern and proper
%D typescripts. Forget about this file.

%D This file defines some typescripts that simulate the pre-typescript way
%D of defining fonts. This file will not be extended.

\starttypescript [pos]
  \usetypescript [postscript] [\defaultencoding]
  \setupbodyfont [postscript]
\stoptypescript

Mojca

PS: true, updmap is not used
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Getting the default pdf fonts working on texlive 2007

2007-10-26 Thread Peter Rolf
Hi Berend,

Berend de Boer schrieb:
[..]
> 
> Very weirdly it uses some lm fonts. It actually makes no difference if
> I use ADOBEkw or URWkb in updmap.cfg. So I'm concluding that context
> doesn't use updmap.cfg anymore, is that right?
>
it's no longer in the minimal distribution, so you must be right :)

> 
> Next attempt is:
> 
> ==
> \usetypescript[adobekb][8r]
> \usetypescript[postscript][8r]
> 
> \setupbodyfont
>   [postscript,11pt]
> 
> \starttext
> 
> A test.
> 
> {\ss Another test}.
> 
> \stoptext
> ==
> 
> 
> Now the log file shows that I have the ugly urw fonts:
>
indeed, they are 'free_but_ugly'

[..]

> 
> The warnings are a bit weird. I indeed don't have 8r-urw-times.map.
> 
> I hope someone can give me the incantations again...
>

If I see it right, all mapping of the adobe ps fonts is bypassed to the
urw ones (see \texmf-local\map\pdftex\context\[encoding]-base.map).
If you still have the ps fonts, you just have to write and load your own
map files. If you must revive them, download an ancient acrobat reader
version at www.oldversion.com. Sigh, nothing is for free nowadays (newer
versions hide their fonts).
Maybe there is a better way, but that's just how I would try to solve this.

Best wishes, Peter


___
If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Getting the default pdf fonts working on texlive 2007

2007-10-26 Thread luigi scarso
On 10/26/07, Berend de Boer <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi Guys,
>
> Just had sometime to update to texlive 2007 from the DVD that was on
> the shelf for quite some time.
>
> But as usual, the default postscript fonts don't work.
> The warnings are a bit weird. I indeed don't have 8r-urw-times.map.
hmm, perhaps urw fonts are not correctly installed .
If you have pfb+afm, maybe you don't have tfm;
you can use texfont to re-install fonts .
For example, I suppose you have fonts helevetica under urw/helvetic;
to install I do the follow:
1) chose a temp dir , for example /opt/urw/helvetic
2) copy all pfb  and afm of helvetica in /opt/urw/helvetic
3) cd /opt/urw
4) texfont --vendor=urw --collection=helvetic --encoding=8r
--sourcepath=helvetic
--install --makepath




-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Getting the default pdf fonts working on texlive 2007

2007-10-26 Thread George N. White III
On 10/26/07, Berend de Boer <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi Guys,
>
> Just had sometime to update to texlive 2007 from the DVD that was on
> the shelf for quite some time.
>
> But as usual, the default postscript fonts don't work.

Since I gave away my NeXT system, I no longer have Adobe fonts.
Linux has (some version of) the URW fonts, so that is what I use.

Most of the font support in TL is for LaTeX.  ConTeXt started out using
plain tex mechanism and then took a different approach.   Look for
mfont.pdf on the ConTeXt site (I don't see it in TeX Live).   It explains
how to generate the missing map files as well as the typescript.

You might look into XeTeX and (eventually) luatex, which are supposed to
make it easier to use system fonts.

> Setup: default texlive 2007. No cont-sys.tex. I used updmap --edit to
> change LW35 to ADOBEkb.
>
> Here my test file:
>
> ==
> \setupbodyfont
>   [postscript,11pt]

Try just "[pos,11pt]".  I get:  (using the MKiV context with the svn version of
TL, so your results may not be quite the same, but this stuff shouldn't have
changed much.

[...]
fonts   : using map file: ec-urw-times
{/Data/opt/tex/texlive/svn/Master/../../../MKiV/tex/texmf-fonts/fonts/map/pdfte
x/context/ec-urw-times.map}
fonts   : using map file: ec-urw-helvetica
{/Data/opt/tex/texlive/svn/Master/../../../MKiV/tex/texmf-fonts/fonts/map/pdfte
x/context/ec-urw-helvetica.map}
fonts   : using map file: ec-urw-courier
{/Data/opt/tex/texlive/svn/Master/../../../MKiV/tex/texmf-fonts/fonts/map/pdfte
x/context/ec-urw-courier.map}
fonts   : using map file: original-youngryu-tx
{/Data/opt/tex/texlive/svn/Master/texmf-cont/fonts/map/pdftex/context/original-
youngryu-tx.map} [1.1]
systems : end file test at line 10
 ){/Data/opt/tex/texlive/svn/Master/texmf-dist/fonts/enc/dvips/base/8r.enc}
Output written on test.pdf (1 page, 13169 bytes).




-- 
George N. White III <[EMAIL PROTECTED]>
Head of St. Margarets Bay, Nova Scotia
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Getting the default pdf fonts working on texlive 2007

2007-10-26 Thread Berend de Boer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Guys,

Just had sometime to update to texlive 2007 from the DVD that was on
the shelf for quite some time.

But as usual, the default postscript fonts don't work.

Setup: default texlive 2007. No cont-sys.tex. I used updmap --edit to
change LW35 to ADOBEkb.

Here my test file:

==
\setupbodyfont
  [postscript,11pt]

\starttext

A test.

{\ss Another test}.

\stoptext
==


The log file is:

==
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=cont-en 
2007.10.25)  27 OCT 2007 09:44
entering extended mode
 %&-line parsing enabled.
 (/usr/local/texlive/2007/texmf/web2c/natural.tcx)
**test.tex emergencyend
(./test.tex

ConTeXt  ver: 2007.01.12 15:56 MKII  fmt: 2007.10.25  int: english/english

language: language en is active
system  : cont-new loaded
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
\boislevel=\count210
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.mkii))
system  : cont-old loaded
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/usr/local/texlive/2007/texmf-dist/tex/context/user/cont-sys.rme
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex
nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3
 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi
:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec
- ->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded
specials: tex,postscript,rokicki loaded
\openout3 = `test.tui'.

system  : test.top loaded
(./test.top
specials: loading definition file tpd
(/usr/local/texlive/2007/texmf-dist/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/local/texlive/2007/texmf-dist/tex/context/base/spec-fdf.tex
\everygoto=\toks326
\PDFsymbolbox=\box157
\everyPDFxform=\toks327

(/usr/local/texlive/2007/texmf-dist/tex/context/base/spec-fdf.mkii))
specials: fdf loaded
\everyPDFximage=\toks328
\PDFcurrenttransparency=\count211
)
specials: fdf,tpd loaded
)
\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


systems : system commands are disabled
[EMAIL PROTECTED]@\starttypescript=\count212
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-pre.tex) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/sort-def.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/sort-lan.tex) (./test.tuo)
(./test.tuo) (/usr/local/texlive/2007/texmf-dist/tex/context/base/pdfr-def.tex)
systems : begin file test at line 4
fonts   : resetting map file list
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/original-empty.map
}
fonts   : using map file: texnansi-public-lm
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/texnansi-public-lm
.map}
fonts   : using map file: original-base
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: ec-public-lm
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/ec-public-lm.map}
fonts   : using map file: ec-base
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/ec-base.map}
fonts   : using map file: lm-ec
{/usr/local/texlive/2007/texmf-dist/fonts/map/dvips/lm/lm-ec.map}
fonts   : using map file: 8r-base
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/8r-base.map}
fonts   : using map file: t5-base
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/t5-base.map}
fonts   : using map file: original-ams-base
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/original-ams-base.
map}
fonts   : using map file: original-ams-euler
{/usr/local/texlive/2007/texmf-dist/fonts/map