* latest context problems @ 2001-11-16 12:36 Berend de Boer 2001-11-16 13:17 ` Hans Hagen 0 siblings, 1 reply; 17+ messages in thread From: Berend de Boer @ 2001-11-16 12:36 UTC (permalink / raw) Hallo Hans, With the latest context things like: \setupbodyfont [ber,pos] produce lots of error messages about missing fonts. I went back to my previous release. What has changed? -- Groetjes, Berend. (-: ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-16 12:36 latest context problems Berend de Boer @ 2001-11-16 13:17 ` Hans Hagen 2001-11-16 14:15 ` Berend de Boer ` (3 more replies) 0 siblings, 4 replies; 17+ messages in thread From: Hans Hagen @ 2001-11-16 13:17 UTC (permalink / raw) Cc: ConTeXt mailinglist At 01:36 PM 11/16/2001 +0100, Berend de Boer wrote: >Hallo Hans, > >With the latest context things like: > > \setupbodyfont > [ber,pos] > >produce lots of error messages about missing fonts. I went back to my >previous release. Did you read the cont-sys.rme file? Because multiple conflicting encoding need to be supported, and because one can create instances like slanted or capitalized locally, from now on we use the more verbose names texnansi-blabla and alike [see mtexfont.pdf and mfonts.pdf] This also means that ber does not make much sense now. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-16 13:17 ` Hans Hagen @ 2001-11-16 14:15 ` Berend de Boer 2001-11-16 14:45 ` Hans Hagen 2001-11-16 14:46 ` Berend de Boer ` (2 subsequent siblings) 3 siblings, 1 reply; 17+ messages in thread From: Berend de Boer @ 2001-11-16 14:15 UTC (permalink / raw) Cc: ConTeXt mailinglist Hans Hagen <pragma@wxs.nl> writes: > >With the latest context things like: > > > > \setupbodyfont > > [ber,pos] > > > >produce lots of error messages about missing fonts. I went back to my > >previous release. > Did you read the cont-sys.rme file? Yes, but that didn't help at all. > Because multiple conflicting encoding need to be supported, and > because one can create instances like slanted or capitalized locally, > from now on we use the more verbose names > > texnansi-blabla > > and alike [see mtexfont.pdf and mfonts.pdf] > > This also means that ber does not make much sense now. But what commands do the trick by using the plain postscript fonts? For example what should I say for: \usebodyfont [ber,pos,ss,10pt] -- Groetjes, Berend. (-: ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-16 14:15 ` Berend de Boer @ 2001-11-16 14:45 ` Hans Hagen 2001-11-16 16:22 ` Berend de Boer 0 siblings, 1 reply; 17+ messages in thread From: Hans Hagen @ 2001-11-16 14:45 UTC (permalink / raw) Cc: Hans Hagen, ConTeXt mailinglist At 03:15 PM 11/16/2001 +0100, Berend de Boer wrote: >But what commands do the trick by using the plain postscript fonts? >For example what should I say for: > >\usebodyfont > [ber,pos,ss,10pt] well, \setupbodyfont[ber,pos] should just work, because it loads both the typescripts ber and pos what exactly goes wrong? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-16 14:45 ` Hans Hagen @ 2001-11-16 16:22 ` Berend de Boer 2001-11-16 16:52 ` Hans Hagen 0 siblings, 1 reply; 17+ messages in thread From: Berend de Boer @ 2001-11-16 16:22 UTC (permalink / raw) Cc: ConTeXt mailinglist Hans Hagen <pragma@wxs.nl> writes: > >But what commands do the trick by using the plain postscript fonts? > >For example what should I say for: > > > >\usebodyfont > > [ber,pos,ss,10pt] > > well, \setupbodyfont[ber,pos] should just work, because it loads both > the typescripts ber and pos > > what exactly goes wrong? My log. ---------- (/usr/share/texmf/tex/context/base/type-pre.tex typescript : [berry] [ec] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex)) (/usr/share/texmf/tex/context/base/type-pre.tex typescript : [serif] [times] [name,default] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) typescript : [sans] [helvetica] [name,default] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) typescript : [mono] [courier] [name,default] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) typescript : [serif,sans,mono] [default] [size] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) typescript : [map] [default] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex pdftex : needs map file: original-ams-cmr.map pdftex : needs map file: original-ams-euler.map pdftex : needs map file: original-ams-logo.map pdftex : needs map file: original-micropress-informal.map ) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex))kpathsea: Running mktextfm Times-Roman /usr/share/texmf/web2c/mktexnam: Could not map source abbreviation T for Times-Roman. /usr/share/texmf/web2c/mktexnam: Need to update /usr/share/texmf/fontname/special.map? mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input Times-Roman This is METAFONT, Version 2.7182 (Web2C 7.3.1) kpathsea: Running mktexmf Times-Roman ! I can't find file `Times-Roman'. <*> ...our; mag:=1; nonstopmode; input Times-Roman Please type another input file name ! Emergency stop. <*> ...our; mag:=1; nonstopmode; input Times-Roman Transcript written on mfput.log. mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input Times-Roman' failed. kpathsea: Appending font creation commands to missfont.log. ! Font \*12ptrmtf*=Times-Roman at 12.0pt not loadable: Metric (TFM) file not fo und. \lastfontname ->Times-Roman at \scaledfont \donoparsefontspec ... #1\endcsname \lastfontname \relax \the \everyfont \re... \xxdododefinefont ...tspec {#2}\newfontidentifier \doresetrelativefontsize \... \fontstrategy ...e #1\csname #2#3#4#5#6\endcsname \let \fontstrategy \gobble... <inserted text> ...yle \fontalternative \fontsize \fontstrategy \autofontsiz... \synchronizefont ...strategy \the \fontstrategies \ifskipfontcharacteristics... ... l.38 [ber,pos] ? ---------- -- Groetjes, Berend. (-: ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-16 16:22 ` Berend de Boer @ 2001-11-16 16:52 ` Hans Hagen 2001-11-17 8:43 ` Berend de Boer 0 siblings, 1 reply; 17+ messages in thread From: Hans Hagen @ 2001-11-16 16:52 UTC (permalink / raw) Cc: ConTeXt mailinglist At 05:22 PM 11/16/2001 +0100, Berend de Boer wrote: >Times-Roman'. so, it searches for times roman. maybe you shoudl say: \setupencoding[ec] so that the berrry ec names are loaded [or \setupencoding[texnansi]; you need such a default in cont-sys.tex] Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-16 16:52 ` Hans Hagen @ 2001-11-17 8:43 ` Berend de Boer 2001-11-17 13:49 ` George N. White III 0 siblings, 1 reply; 17+ messages in thread From: Berend de Boer @ 2001-11-17 8:43 UTC (permalink / raw) Cc: ConTeXt mailinglist Hans Hagen <pragma@wxs.nl> writes: > At 05:22 PM 11/16/2001 +0100, Berend de Boer wrote: > >Times-Roman'. > > so, it searches for times roman. > > maybe you shoudl say: \setupencoding[ec] so that the berrry ec names are loaded > > [or \setupencoding[texnansi]; you need such a default in cont-sys.tex] Things like that don't help at all. My test file: ----------------- % interface=en \usetypescript [map] [all] \setupencoding[texnansi] \setupbodyfont [ber,pos] \starttext test. \stoptext ------------------ In the log you see that it complains about original-ams-cmr.map. That file is located in pdftex/config. kpsewhich cannot found it, i.e: # kpsewhich original-ams-cmr.map returns nothing. Should it? It seems to look in the pdftex/config directory, but does not find a match. Lots of other map files do not exist on my system like texnansi-urw-courier.map. Should they? texfont.pl doesn't run on my system, complains about unknown tex root. Is texfont.pl necessary for the plain old postscript fonts? The font metrics I have on my system are things like: dellius:/usr/share/texmf/fonts/tfm/adobe/times# ls ptmb7t.tfm ptmbi8c.tfm ptmbo.tfm ptmrc8t.tfm ptmro8c.tfm rptmbi.tfm ptmb8c.tfm ptmbi8r.tfm ptmb.tfm ptmrc.tfm ptmro8r.tfm rptmbo.tfm ptmb8r.tfm ptmbi8t.tfm ptmr7t.tfm ptmri7t.tfm ptmro8t.tfm rptmb.tfm ptmb8t.tfm ptmbi.tfm ptmr8c.tfm ptmri8c.tfm ptmro.tfm rptmri.tfm ptmbc7t.tfm ptmbo7t.tfm ptmr8rn.tfm ptmri8r.tfm ptmrr8re.tfm rptmro.tfm ptmbc8t.tfm ptmbo8c.tfm ptmr8r.tfm ptmri8t.tfm ptmrre.tfm rptmrre.tfm ptmbc.tfm ptmbo8r.tfm ptmr8t.tfm ptmri.tfm ptmrrn.tfm rptmrrn.tfm ptmbi7t.tfm ptmbo8t.tfm ptmrc7t.tfm ptmro7t.tfm ptmr.tfm rptmr.tfm My log: ------------------------------ This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1) (format=cont-en 2001.11.16) 17 NOV 2001 09:29 entering extended mode **&cont-en test.tex (./test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2001.11.13 fmt: 2001.11.16 int: english mes: english language : language en is active system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! system (E-TEX) : [line 473] \ifcsname ) system : cont-old loaded (/usr/share/texmf/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/usr/local/texmf/tex/context/cont-sys.tex specials : tex,postscript,rokicki is reset specials : loading definition file tpd (/usr/share/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/share/texmf/tex/context/base/spec-fdf.tex <unprotect 3> <protect 3>) specials : fdf loaded ) specials : fdf,tpd loaded symbols : loading symbolset nav (/usr/share/texmf/tex/context/base/symb-nav.tex pdftex : needs map file: original-context-symbol.map ) symbols : loading symbolset eur (/usr/share/texmf/tex/context/base/symb-eur.tex pdftex : needs map file: original-adobe-euro.map ) typescript : [map] [all] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex pdftex : needs map file: original-ams-cmr.map pdftex : needs map file: original-ams-euler.map pdftex : needs map file: original-ams-logo.map pdftex : needs map file: il2-ams-cmr.map pdftex : needs map file: pl0-ams-cmr.map pdftex : needs map file: 8r-adobe-utopia.map pdftex : needs map file: 8r-bit-charter.map pdftex : needs map file: 8r-public-antp.map pdftex : needs map file: 8r-public-antt.map pdftex : needs map file: 8r-urw-bookman.map pdftex : needs map file: 8r-urw-courier.map pdftex : needs map file: 8r-urw-helvetica.map pdftex : needs map file: 8r-urw-palatino.map pdftex : needs map file: 8r-urw-times.map pdftex : needs map file: 8r-urw-zapfchan.map pdftex : needs map file: ec-adobe-utopia.map pdftex : needs map file: ec-bit-charter.map pdftex : needs map file: ec-public-antp.map pdftex : needs map file: ec-public-antt.map pdftex : needs map file: ec-urw-bookman.map pdftex : needs map file: ec-urw-courier.map pdftex : needs map file: ec-urw-helvetica.map pdftex : needs map file: ec-urw-palatino.map pdftex : needs map file: ec-urw-times.map pdftex : needs map file: ec-urw-zapfchan.map pdftex : needs map file: texnansi-adobe-utopia.map pdftex : needs map file: texnansi-bit-charter.map pdftex : needs map file: texnansi-public-antp.map pdftex : needs map file: texnansi-public-antt.map pdftex : needs map file: texnansi-urw-bookman.map pdftex : needs map file: texnansi-urw-courier.map pdftex : needs map file: texnansi-urw-helvetica.map pdftex : needs map file: texnansi-urw-palatino.map pdftex : needs map file: texnansi-urw-times.map pdftex : needs map file: texnansi-urw-zapfchan.map pdftex : needs map file: original-youngryu-px.map pdftex : needs map file: original-youngryu-tx.map pdftex : needs map file: original-micropress-informal.map pdftex : needs map file: texnansi-bh-lucida.map pdftex : needs map file: ec-bh-lucida.map pdftex : needs map file: 8r-bh-lucida.map ) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex)) bodyfont : 12pt rm is loaded language : patterns 2-en-2 2-uk-2 2-de-2 2-fr-2 2-nl-2 loaded specials : fdf,tpd loaded \openout2 = `test.tui'. system : test.top loaded (./test.top) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) \openout0 = `mpgraph.mp'. \openout0 = `mprun.mp'. \openout0 = `mpgraph.mp'. \openout0 = `mprun.mp'. typescript : [map] [all] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) (/usr/share/texmf/tex/context/base/type-pre.tex typescript : [berry] [ec] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex)) (/usr/share/texmf/tex/context/base/type-pre.tex typescript : [serif] [times] [name,default] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) typescript : [sans] [helvetica] [name,default] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) typescript : [mono] [courier] [name,default] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) typescript : [serif,sans,mono] [default] [size] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) typescript : [map] [default] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex)) ! Font \*12ptrmtf*=Times-Roman at 12.0pt not loadable: Metric (TFM) file not fo und. \lastfontname ->Times-Roman at \scaledfont \donoparsefontspec ... #1\endcsname \lastfontname \relax \the \everyfont \re... \xxdododefinefont ...tspec {#2}\newfontidentifier \doresetrelativefontsize \... \fontstrategy ...e #1\csname #2#3#4#5#6\endcsname \let \fontstrategy \gobble... <inserted text> ...yle \fontalternative \fontsize \fontstrategy \autofontsiz... \synchronizefont ...strategy \the \fontstrategies \ifskipfontcharacteristics... ... l.8 [ber,pos] ? x Here is how much of TeX's memory you used: 1321 strings out of 27086 20679 string characters out of 318767 365731 words of memory out of 7000001 27080 multiletter control sequences out of 10000+45000 9049 words of font info for 28 fonts, out of 400000 for 1000 62 hyphenation exceptions out of 10000 48i,1n,63p,181b,63s stack positions out of 3000i,500n,3000p,50000b,5000s No pages of output. ------------------------------ -- Groetjes, Berend. (-: ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-17 8:43 ` Berend de Boer @ 2001-11-17 13:49 ` George N. White III 2001-11-17 18:38 ` Olaf Weber 2001-11-19 17:22 ` George N. White III 0 siblings, 2 replies; 17+ messages in thread From: George N. White III @ 2001-11-17 13:49 UTC (permalink / raw) Cc: Hans Hagen, ConTeXt mailinglist On Sat, 17 Nov 2001, Berend de Boer wrote: > Hans Hagen <pragma@wxs.nl> writes: > > > At 05:22 PM 11/16/2001 +0100, Berend de Boer wrote: > > >Times-Roman'. > > > > so, it searches for times roman. > > > > maybe you shoudl say: \setupencoding[ec] so that the berrry ec names are loaded > > > > [or \setupencoding[texnansi]; you need such a default in cont-sys.tex] > > Things like that don't help at all. > > My test file: > > ----------------- > % interface=en > > \usetypescript [map] [all] > > \setupencoding[texnansi] > > \setupbodyfont > [ber,pos] > > \starttext > > test. > > \stoptext > ------------------ > > > In the log you see that it complains about original-ams-cmr.map. That > file is located in pdftex/config. kpsewhich cannot found it, i.e: > > # kpsewhich original-ams-cmr.map > > returns nothing. Should it? It seems to look in the pdftex/config > directory, but does not find a match. It shouldn't find a match: $ kpsewhich --show-path=map will not have the pdftex/config directory, but on my system pdfetex is able to find the .map files in pdftex/config. It would be useful to know what path is used to find these files -- maybe TEXPSHEADERS? > Lots of other map files do not exist on my system like > texnansi-urw-courier.map. Should they? You need to create them using texfont.pl > texfont.pl doesn't run on my system, complains about unknown tex > root. Is texfont.pl necessary for the plain old postscript fonts? I edited texfont.pl to set the fontroot path. Look at context/data/type-tmf.dat. I wasn't able to get the batch mode working, so I ran texfont.pl manually (see my earlier posting for the ksh script), which led me to find a couple bugs in texfont.pl. This will configure your system to use the URW fonts from ghostscrpt. One note: my teTeX (from Mandrake 7.1) had older versions of the URW fonts, so I started my script by copying (or was it linking) to the current ghostscript fonts. Now that texfont.pl seems to be working via the command line, I still can't run the batch file. I get: processing aborted : unknown subpath ../fonts/afm/public/antp and so on for each font collection. I tried running texfont from different directories and got the same result. -- George N. White III <gnw3@acm.org> Bedford Institute of Oceanography ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-17 13:49 ` George N. White III @ 2001-11-17 18:38 ` Olaf Weber 2001-11-19 17:22 ` George N. White III 1 sibling, 0 replies; 17+ messages in thread From: Olaf Weber @ 2001-11-17 18:38 UTC (permalink / raw) Cc: Berend de Boer, ConTeXt mailinglist George N White, writes: > On Sat, 17 Nov 2001, Berend de Boer wrote: >> In the log you see that it complains about original-ams-cmr.map. That >> file is located in pdftex/config. kpsewhich cannot found it, i.e: >> >> # kpsewhich original-ams-cmr.map >> >> returns nothing. Should it? It seems to look in the pdftex/config >> directory, but does not find a match. > It shouldn't find a match: > $ kpsewhich --show-path=map > will not have the pdftex/config directory, but on my system pdfetex > is able to find the .map files in pdftex/config. It would be useful > to know what path is used to find these files -- maybe TEXPSHEADERS? infovore:/home/olaf$ kpsewhich --show-path=.map .:/home/olaf/texmf/fontname:!!/var/lib/texmf/fontname:!!/usr/local/share/texmf.local/fontname:!!/usr/local/share/texmf/fontname infovore:/home/olaf$ grep fontname `kpsewhich texmf.cnf` % See ftp://ftp.tug.org/tex/fontname.tar.gz. TEXFONTMAPS = .;$TEXMF/fontname -- Olaf Weber Do not meddle in the affairs of sysadmins, for they are quick to anger and have no need for subtlety. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-17 13:49 ` George N. White III 2001-11-17 18:38 ` Olaf Weber @ 2001-11-19 17:22 ` George N. White III 2001-11-19 18:48 ` Berend de Boer 1 sibling, 1 reply; 17+ messages in thread From: George N. White III @ 2001-11-19 17:22 UTC (permalink / raw) Cc: Berend de Boer, Hans Hagen, ConTeXt mailinglist I've tracked down a few more problems with texexec on SGI Irix: 1. teTeX (from SGI freeware) had "EC.enc" but not "ec.enc", so afm2tfm complained about not finding "ec.enc". This would not be a problem on systems that don't respect case in filenames. 2. TEXPSHEADERS is indeed the place to check for map files: $ kpsewhich --expand-path=\$TEXPSHEADERS includes the texmf-fonts/pdftex/config directory 3. There are two places in texfont.pl that set variables using `kpsewhich -expand-path=\$$variable`. SGI Irix needs `kpsewhich -expand-path=\\\$$variable` 4. texfont.pl doesn't use TEXMFFONTS to get the fontpath. I added a line: if ($installpath eq "") { $installpath = "TEXMFFONTS" } With these changes, the context/data/type-tmf.dat batch file works. -- George N. White III <gnw3@acm.org> Bedford Institute of Oceanography ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-19 17:22 ` George N. White III @ 2001-11-19 18:48 ` Berend de Boer 0 siblings, 0 replies; 17+ messages in thread From: Berend de Boer @ 2001-11-19 18:48 UTC (permalink / raw) Cc: Hans Hagen, ConTeXt mailinglist "George N. White III" <WhiteG@mar.dfo-mpo.gc.ca> writes: > 1. teTeX (from SGI freeware) had "EC.enc" but not "ec.enc", On linux it's also EC.enc. > With these changes, the context/data/type-tmf.dat batch file > works. Can you send me your new file? -- Groetjes, Berend. (-: ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-16 13:17 ` Hans Hagen 2001-11-16 14:15 ` Berend de Boer @ 2001-11-16 14:46 ` Berend de Boer 2001-11-16 16:44 ` latest context problems / map explanation Hans Hagen 2001-11-16 16:00 ` latest context problems George N. White III [not found] ` <Pine.GSO.4.40.0111161012440.29583-100000@emerald.bio.dfo.c a> 3 siblings, 1 reply; 17+ messages in thread From: Berend de Boer @ 2001-11-16 14:46 UTC (permalink / raw) Cc: ConTeXt mailinglist Hans Hagen <pragma@wxs.nl> writes: > Because multiple conflicting encoding need to be supported, and > because one can create instances like slanted or capitalized locally, > from now on we use the more verbose names > > texnansi-blabla > > and alike [see mtexfont.pdf and mfonts.pdf] > > This also means that ber does not make much sense now. I get lots of msgs like: pdftex : needs map file: original-ams-cmr.map pdftex : needs map file: original-ams-euler.map pdftex : needs map file: original-ams-logo.map pdftex : needs map file: 8r-adobe-utopia.map pdftex : needs map file: 8r-bit-charter.map On my system they're in $TEXMF/pdftex/config. Does this msg mean that pdftex cannot find the file or is this just some msg that the thing is found and loaded?? -- Groetjes, Berend. (-: ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems / map explanation 2001-11-16 14:46 ` Berend de Boer @ 2001-11-16 16:44 ` Hans Hagen 0 siblings, 0 replies; 17+ messages in thread From: Hans Hagen @ 2001-11-16 16:44 UTC (permalink / raw) Cc: ConTeXt mailinglist At 03:46 PM 11/16/2001 +0100, Berend de Boer wrote: >Hans Hagen <pragma@wxs.nl> writes: > > > Because multiple conflicting encoding need to be supported, and > > because one can create instances like slanted or capitalized locally, > > from now on we use the more verbose names > > > > texnansi-blabla > > > > and alike [see mtexfont.pdf and mfonts.pdf] > > > > This also means that ber does not make much sense now. > >I get lots of msgs like: > >pdftex : needs map file: original-ams-cmr.map >pdftex : needs map file: original-ams-euler.map >pdftex : needs map file: original-ams-logo.map >pdftex : needs map file: 8r-adobe-utopia.map >pdftex : needs map file: 8r-bit-charter.map > > >On my system they're in $TEXMF/pdftex/config. > >Does this msg mean that pdftex cannot find the file or is this just >some msg that the thing is found and loaded?? no, it's a message that they are not loaded at run time (\loadmapfile[...]), since you didn't enable that. The problem is that pdftex can only load map files at the first page (i already discussed this with thanh and he will look into it); so you can load all mapfiles: \usetypescript [map] [all] or selective ones. Another problem is that if you load the psfonts map file, you get a lot of dup messages when maps are loaded again; Actually, i don;t load the big map fil ehere, esp since there is potential conflicting stuff in there (pdftex consults the map file when embedding files and if you have different fonts with the same name but differen tencodings ... you can imagine the mess (this is one reason for *not* mentioning the internal fontname in the map file). Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-16 13:17 ` Hans Hagen 2001-11-16 14:15 ` Berend de Boer 2001-11-16 14:46 ` Berend de Boer @ 2001-11-16 16:00 ` George N. White III [not found] ` <Pine.GSO.4.40.0111161012440.29583-100000@emerald.bio.dfo.c a> 3 siblings, 0 replies; 17+ messages in thread From: George N. White III @ 2001-11-16 16:00 UTC (permalink / raw) Cc: Berend de Boer, ConTeXt mailinglist On Fri, 16 Nov 2001, Hans Hagen wrote: > At 01:36 PM 11/16/2001 +0100, Berend de Boer wrote: > >Hallo Hans, > > > >With the latest context things like: > > > > \setupbodyfont > > [ber,pos] > > > >produce lots of error messages about missing fonts. I went back to my > >previous release. I had the saem experience, but rather than going back, I have been working with texfont.pl and the below mentioned documents describing the new font handling. The examples in showfont.pdf were useful in checking that things were set up properly. > Did you read the cont-sys.rme file? > > Because multiple conflicting encoding need to be supported, and because one > can create instances like slanted or capitalized locally, from now on we > use the more verbose names > > texnansi-blabla > > and alike [see mtexfont.pdf and mfonts.pdf] > > This also means that ber does not make much sense now. I still don't feel that I understand the new mechanisms well enough to make sensible decisions for the following questions (knowing that the answers differ depending on what fonts you normally use, how much use you make of LaTeX, etc.): 0. what options should be enabled in cont-sys.tex? 1. what should pdftex.map contain? Clearly this depends on what options you use from cont-sys.tex. I want to be able to use pdfelatex, but I prefer to load map files in each document because it helps me to keep track of what fonts are used. My current thinking is that pdftex.map should consist of just the cm portion of bsr.map with original-ams-logo .map, etc. loaded via cont-sys.tex. 2. what fonts should I install using texfont.pl? For testing, I have installed the URW fonts using the ber names for the input files and texnansi encoding. I created a Times-Roman-Caps font, but to use it I ended up putting copies of type-syn.tex and type-enc.map in the document directory. In type-enc.tex I added the line(s): \definefontsynonym [Times-Roman-Caps] [\typefaceencoding-utmr8a-capitalized-800] [encoding=\typefaceencoding] and commented out the line: % \definefontsynonym [Times-Roman-Caps] [t1xsc] [encoding=ec] In type-syn.tex I added the line: \definefontsynonym [SerifCaps] [Times-Roman-Caps] inside the "\starttypescript [serif] [times] [name]" block. In retrospect, replacing the ber names with the actual font names (e.g., NimbusRomNo9L-Medi instead of utmb8a) might have been the best approach. Since the font files are stored under directories with the vendor name, the fact that the ber names code for vendor seems redundant. In practice, however, the ber names are used in type-enc.tex. Here is how I installed the URW fonts on a unix system with ksh (note that helvetic might better have been helvetica) with texnansi (the default) encoding: $ awk 'NF==3' /usr/freeware/share/texmf/fontname/urw.map > urw.map $ export d=/usr/people/gwhite/share/ghostscript/fonts $ for f in avantgar courier palatino zapfchan helvetic \ symbol zapfding bookman ncntrsbk times ; do mkdir $f case $f in avantgar) ber=uag ;; [...] esac grep ^$ber urw.map > $d/names.map cd $f # copy the font files (ghostscript names from the 3rd column) # to the installation directory (using ber names from 1st column) awk -v d=$d ' {printf("ln -s %s/%s.afm %s.afm\n", d, $3, $1)}' names.map |sh awk -v d=$d ' {printf("ln -s %s/%s.pfb %s.pfb\n", d, $3, $1)}' names.map |sh # install fonts into $HOME/texmf-fonts texfont --fontroot=$HOME/texmf-fonts --ve=urw \ --co=$(basename $PWD) --ma --in cd - done $ cat avantgar/names.map uagd8a URWGothicL-Demi a010015l uagdo8a URWGothicL-DemiObli a010035l uagk8a URWGothicL-Book a010013l uagko8a URWGothicL-BookObli a010033l I added a Times-Roman-Caps using: $ cd times $ texfont --fontroot=$HOME/texmf-fonts --ve=urw \ --co=$(basename $PWD) --so=. --caps=default utmr8a Next time I may use names from the 2nd column. -- George N. White III <gnw3@acm.org> Bedford Institute of Oceanography ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <Pine.GSO.4.40.0111161012440.29583-100000@emerald.bio.dfo.c a>]
* Re: latest context problems [not found] ` <Pine.GSO.4.40.0111161012440.29583-100000@emerald.bio.dfo.c a> @ 2001-11-16 17:07 ` Hans Hagen 2001-11-16 18:28 ` Tobias Burnus 2001-11-16 21:05 ` Re[2]: " Giuseppe Bilotta 0 siblings, 2 replies; 17+ messages in thread From: Hans Hagen @ 2001-11-16 17:07 UTC (permalink / raw) Cc: Berend de Boer, ConTeXt mailinglist At 12:00 PM 11/16/2001 -0400, George N. White III wrote: >I still don't feel that I understand the new mechanisms well enough >to make sensible decisions for the following questions (knowing that >the answers differ depending on what fonts you normally use, how much >use you make of LaTeX, etc.): > >0. what options should be enabled in cont-sys.tex? I hope that this will become better when pdftex can load map files at each page. \setupencoding [\s!default=texnansi] \autoloadmapfilestrue \preloadmapfile [original-ams-cmr] \preloadmapfile [original-ams-euler] \preloadmapfile [original-ams-logo] \preloadmapfile [il2-ams-cmr] \preloadmapfile [pl0-ams-cmr] \usesymbols [nav,mvs] % [eur] \setupsymbolset [navigation 1] \setupinteraction [\c!symboolset=navigation 1] Then, my map file looks like: map psclean.map and this file has no full names and looks like psfonts.map : Math1 <math1.pfb Math1-bold <math1-bold.pfb ..... [ps. I embed all fonts, also times cum suis] one needs at least one entry in the cfg file, otherwise (alas) pdftex loads psfont.map >1. what should pdftex.map contain? Clearly this depends on what options >you use from cont-sys.tex. I want to be able to use pdfelatex, but I >prefer to load map files in each document because it helps me to keep >track of what fonts are used. My current thinking is that pdftex.map >should consist of just the cm portion of bsr.map with original-ams-logo >.map, etc. loaded via cont-sys.tex. in that case you may consider dedicated pdftex.cfg files for context and latex (you need to edit the texmf.cnf file for that) >2. what fonts should I install using texfont.pl? For testing, I >have installed the URW fonts using the ber names for the input files >and texnansi encoding. I created a Times-Roman-Caps font, but to use it >I ended up putting copies of type-syn.tex and type-enc.map in the >document directory. In type-enc.tex I added the line(s): > > \definefontsynonym [Times-Roman-Caps] > [\typefaceencoding-utmr8a-capitalized-800] [encoding=\typefaceencoding] here i use texnansi, so texfont cont-tmf.dat --enc=texnansi and a dedicated font path texmf-fonts [i hope that this will be defined in texmf.cnf in the future] but i may need to bribe the tex live gurus for that. >and commented out the line: > >% \definefontsynonym [Times-Roman-Caps] [t1xsc] [encoding=ec] > >In type-syn.tex I added the line: > > \definefontsynonym [SerifCaps] [Times-Roman-Caps] > >inside the "\starttypescript [serif] [times] [name]" block. ok, now that we have this mechanism in place, we can upgrade the typescripts. Also, a better way for overloading is to have new ones, like "mytypescripts.tex" on tex/context/user and register that one by \usetypescriptfile[mytypescripts] in you cont-sys.tex file; for projects, here we put a file typeface.tex in each project path. >In retrospect, replacing the ber names with the actual font names (e.g., >NimbusRomNo9L-Medi instead of utmb8a) might have been the best approach. >Since the font files are stored under directories with the vendor name, >the fact that the ber names code for vendor seems redundant. In practice, >however, the ber names are used in type-enc.tex. I have considered that but don't know enough of those names -) when we have a good working system, we may convince fabrice and sebastian .... >Here is how I installed the URW fonts on a unix system with ksh (note >that helvetic might better have been helvetica) with texnansi (the >default) encoding: Maybe you should communicate this with Patrick, since he wants to make some font tools Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: latest context problems 2001-11-16 17:07 ` Hans Hagen @ 2001-11-16 18:28 ` Tobias Burnus 2001-11-16 21:05 ` Re[2]: " Giuseppe Bilotta 1 sibling, 0 replies; 17+ messages in thread From: Tobias Burnus @ 2001-11-16 18:28 UTC (permalink / raw) Cc: ConTeXt mailinglist Hi, > texfont cont-tmf.dat --enc=texnansi I think this has to be "type-tmf.dat" since I only found these: - texmf/context/data/type-tmf.dat - texmf/context/data/type-buy.dat > and a dedicated font path texmf-fonts [i hope that this will be defined in > texmf.cnf in the future] but i may need to bribe the tex live gurus for that. And Thomas Esser. teTeX and not TeXLive is still the standard for Linux's TeXs. (He has said that he has more time by now and has released a new version of the -src, no updated -texmf though: ftp://ftp.dante.de/pub/tex/systems/unix/teTeX-beta/) Tobias ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re[2]: latest context problems 2001-11-16 17:07 ` Hans Hagen 2001-11-16 18:28 ` Tobias Burnus @ 2001-11-16 21:05 ` Giuseppe Bilotta 1 sibling, 0 replies; 17+ messages in thread From: Giuseppe Bilotta @ 2001-11-16 21:05 UTC (permalink / raw) Cc: ntg-context Friday, November 16, 2001 Hans Hagen wrote: HH> At 12:00 PM 11/16/2001 -0400, George N. White III wrote: >>I still don't feel that I understand the new mechanisms well enough >>to make sensible decisions for the following questions (knowing that >>the answers differ depending on what fonts you normally use, how much >>use you make of LaTeX, etc.): >> >>0. what options should be enabled in cont-sys.tex? HH> I hope that this will become better when pdftex can load map files at each HH> page. You could take advantage of the two pass systems, collecting needed map files on the first and preloading them on the second. -- Giuseppe "Oblomov" Bilotta ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2001-11-19 18:48 UTC | newest] Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-11-16 12:36 latest context problems Berend de Boer 2001-11-16 13:17 ` Hans Hagen 2001-11-16 14:15 ` Berend de Boer 2001-11-16 14:45 ` Hans Hagen 2001-11-16 16:22 ` Berend de Boer 2001-11-16 16:52 ` Hans Hagen 2001-11-17 8:43 ` Berend de Boer 2001-11-17 13:49 ` George N. White III 2001-11-17 18:38 ` Olaf Weber 2001-11-19 17:22 ` George N. White III 2001-11-19 18:48 ` Berend de Boer 2001-11-16 14:46 ` Berend de Boer 2001-11-16 16:44 ` latest context problems / map explanation Hans Hagen 2001-11-16 16:00 ` latest context problems George N. White III [not found] ` <Pine.GSO.4.40.0111161012440.29583-100000@emerald.bio.dfo.c a> 2001-11-16 17:07 ` Hans Hagen 2001-11-16 18:28 ` Tobias Burnus 2001-11-16 21:05 ` Re[2]: " Giuseppe Bilotta
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).