Re: [NTG-context] Getting the default pdf fonts working on texlive 2007
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
> "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
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
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
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
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 ___