Re: [NTG-context] Re: How to use PostScript font
On Tue, Aug 24, 2004 at 12:09:50PM +0200, Patrick Gundlach wrote: > > texnansi does not work with german.sty which I'd say is necessary for > german texts. T1 and OT1 is hardcoded. I don't know about babel. > > Patrick Checking babel.def, I saw that it sets \latinencoding to OT1 if T1 is unavailable - which might explain some encoding-related oddities I have run into in the past. Guess some patches for babel and german are needed. -- Siep Kroonenberg ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
Hello Siep, [...] Only commenting on this one: > As to texnansi: this is supported in Latex by texnansi.sty. For > Western European languages, it seems to cover pretty much > everything, so there is no need for text companion fonts or virtual > fonts. Basic support (without artificial smallcaps) for a font > family with non-virtual texnansi fonts consists of just four tfms, a > mapfile fragment and, for Latex, an fd file. texnansi does not work with german.sty which I'd say is necessary for german texts. T1 and OT1 is hardcoded. I don't know about babel. Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
On Mon, Aug 23, 2004 at 01:26:06AM +0200, Hans Hagen Outside wrote: > > > ok; btw, also take a look at sieps afm2pl since it has some other nice > features > Hans My belated three cents on some of the things which were discussed in this thread: As to texnansi: this is supported in Latex by texnansi.sty. For Western European languages, it seems to cover pretty much everything, so there is no need for text companion fonts or virtual fonts. Basic support (without artificial smallcaps) for a font family with non-virtual texnansi fonts consists of just four tfms, a mapfile fragment and, for Latex, an fd file. As to fontinst: doing it the easy way, using just the latinfamily command, you get dozens of files, in 8R, T1, OT1 and TS1 encoding. You have to be pretty expert if you want more fine-grained control and a more economical set of support files. I don't even know whether Fontinst can generate non-virtual texnansi fonts which are suitable for regular typesetting. Besides, I believe that nowadays fontinst depends on Latex. Sorry about just mentioning Latex here: I am only an occasional Context user, and don't use typescripts or texfont at all. As to afm2pl: the latest version available from tex.aanhet.net is 0.6; later versions are written to be part of TeX Live 2004 which is currently under development. Because of changes in the TDS, these may not work correctly in an older TeX installation. Version 0.7.02 with afm2tfm compatibility is not yet in the TeX Live source tree, last time I checked. -- Siep Kroonenberg ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Salman Khilji wrote: I found out that while trying to install the latest ConTeXt over whatever came with texlive2003-inst-20030928.iso, I screwed up somewhere and ConTeXt would not even generate me a pdf file with cmr fonts. So here is what I did. 1) I deleted everything about TeX from my system 2) Installed TeXLive from the iso with default options. I did not change anything. Just accepted the defaults. 3) I did not install the latest ConTeXt. I think I will be fine with whatever comes with TeXLive as of Sept, 2003. 4) Now I can generate a hello world pdf file with cmr fonts just fine. an alternative is: mkdir /usr/local/mytex cd /usr/local/mytex wget http://www.pragma-ade.com/contextt/linuxtex.zip.bz2 bunzip2 linuxtex.zip.bz2 unzip linuxtex chmod -R 755 . setuptex /usr/local/mytex mktexlsr texexec --make --alone --all every time after that . /usr/local/setuptex /usr/local/setuptex should give you a minimal context tree (i develop on a windows machine, so that is the tree we use on the linux application servers) (take a look at cont-sys.tex to see how we set up our context) (there is also mswintex.zip.bz2 and macosxtex.zip.bz2) 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Hi Patrick, Yes, but what is the problem? We are not talking about "other fonts", just the ones preinstalled by psnfss. We know ervery bit of those fonts, so no need to reflect the spacing etc. in the filename, since e.g. phvr8t will always have the same characteristics thougout all distributions. that's fine for those who use ec fonts, but i happen not to use them (we started using texnansi a long time ago; i'm not even sure if ec was around that time, and i definitely didn't have access to metrics then) say that i want to mix polish and german (using qx and ec encoding) in one doc, i want similar spacing etc, don't i? Right, but qx isn't supplied by psnfss anyway, is it? So you'd have to make your own font; but I still can't see the drawback in using those fonts for 99% of [texts covered by ec encoding]. I can agree on well, (other thread), this is why we need an encoding with 'as many characters as possible' which means, no funny characters like copyright and registered and such (which spoils slots) -) "don't mix fontinst installed fonts with afm2... installed fonts when you need same em width (and alike)." But for most texts I bet that this is not an issue. probably, so, i have no problems with everyone except me using ec and psnfss fonts; and indeed i don't want to mix systems (most of the documents i process here use commercial fonts and for those i depend on my own font hackery; it simply does not pay off to spent much time on figuring out fontinst for that, apart from the fact that i lost track of font names long ago -) Absolutely. The choose the adobe metrics from psnfss, but as I am told the URW metrics have somewhat questionable kerning data. And using URW metrics with Adobe fonts will break on glyphs that are in URW but not Adobe. right, and that's why i use the urw metrics with urw files (i always embed those files, since i don't want operating systems/acrobat/printers to swap in their own substitutes and clones); when i use for instance palatino from adobe or linotype, I just generate new metric files. That is really good. Let me see what I can do with respect to psnfss/texnansi... ok; btw, also take a look at sieps afm2pl since it has some other nice features 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font (SOLVED)
Hello, > Okay. Problem solved. The thing is that I did not ask the texlive > distribution to install the extra fonts package. The palatino fonts were > part of the extra fonts. Right, I did aks you if you have psnfss installed? Hmm, perhaps I forgot, because I think that everybody has it installed... > The former tries to use palatino in all the variations in the following > example. The palatino fonts seems to be missing the serif variant, I guess you mean sans serif? Yes, there is no such thing as Palatino sans serif. > Even the equation uses some sort of postscript font that I am not > familiar with. px I'd guess. > the \rm, \em, and \sl lines. Everywhere else the CMR font is used. Well, not really cmr, but cmss, cmtt and math. > What causes this behavior? see type-pre.tex type-exa.tex and type-enc.tex for definitions on those typescripts. They are just different typescripts. Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
Hi, > Here is the essence of your problem: > > > kpathsea: Running mktexmf ec-uplr8a ! I can't find file > > `ec-uplr8a'. <*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a > > You don't have the proper font files in place to use the postscript > typescripts as they come in the default ConText. For what it is worth, > neither did the Slackware 9.1 distribution that I have. If this is a recent TeX, then it has all necessary files for using postscript fonts out of the box. Just install psnfss and use the magic I have written elsewhere in this thread. Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Salman Khilji <[EMAIL PROTECTED]> writes: > I found out that while trying to install the latest ConTeXt over > whatever came with texlive2003-inst-20030928.iso, I screwed up > somewhere and ConTeXt would not even generate me a pdf file with > cmr fonts. > So here is what I did. > 1) I deleted everything about TeX from my system 2) Installed > TeXLive from the iso with default options. I did not change > anything. Just accepted the defaults. 3) I did not install the > latest ConTeXt. I think I will be fine with whatever comes with > TeXLive as of Sept, 2003. 4) Now I can generate a hello world pdf > file with cmr fonts just fine. 5) Yes, I do have the type-akb.tex > on my system. 6) On the following: > \usetypescriptfile[type-akb] > \usetypescript[palatino][\defaultencoding] > \setupbodyfont[palatino,12pt] \starttext The quick brown fox jumps > over the lazy dog. \stoptext > I get the following errors: Here is the essence of your problem: > kpathsea: Running mktexmf ec-uplr8a ! I can't find file > `ec-uplr8a'. <*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a You don't have the proper font files in place to use the postscript typescripts as they come in the default ConText. For what it is worth, neither did the Slackware 9.1 distribution that I have. If you have the locate command installed (and the the locate database is uptodate), run the following commands to see just what font files are on your system: locate uplr | grep .tfm locate uplr | grep .pfb locate uplr | grep .afm If you don't have locate, use the find command to see which palatino font files you have and where they are located. Post the results back here. Also post the results of: grep uplr /path/to/pdftex.cfg grep pplr /path/to/pdftex.cfg On my system the uplr8a files are mapped to the pplr8a names in pdftex.cfg, but there are no pplr.pfb files. I ended up writing my own typescript files before I got the URW palatino fonts to work in ConTeXt. Bill McClain's website was a big help in this. -- Larry Stamm http://www.larrystamm.com ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font (SOLVED)
Okay. Problem solved. The thing is that I did not ask the texlive distribution to install the extra fonts package. The palatino fonts were part of the extra fonts. Now I have another question. It seems like \setupbodyfont[palatino] produces different results than \setupbodyfont[ppl]. The former tries to use palatino in all the variations in the following example. The palatino fonts seems to be missing the serif variant, so the \ss and the normal lines look the same---i.e ConTeXt decided to use the same roman variant for both the \rm and the \ss line. Even the equation uses some sort of postscript font that I am not familiar with. The latter---\setupbodyfont[ppl]---is not very forceful---it uses palatino in the \rm, \em, and \sl lines. Everywhere else the CMR font is used. What causes this behavior? \usetypescript[berry][ec] % or [8r] \usetypescript[palatino][ec] % \setupbodyfont[palatino] %\setupbodyfont[ppl] \starttext {\rm The quick brown fox jumps over the lazy dog. 1234567890} {\em The quick brown fox jumps over the lazy dog. 1234567890} {\sl The quick brown fox jumps over the lazy dog. 1234567890} {\ss The quick brown fox jumps over the lazy dog. 1234567890} {\bf The quick brown fox jumps over the lazy dog. 1234567890} {\tt The quick brown fox jumps over the lazy dog. 1234567890} $$1+\sqrt{x^2}+\sum dx$$ \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
I found out that while trying to install the latest ConTeXt over whatever came with texlive2003-inst-20030928.iso, I screwed up somewhere and ConTeXt would not even generate me a pdf file with cmr fonts. So here is what I did. 1) I deleted everything about TeX from my system 2) Installed TeXLive from the iso with default options. I did not change anything. Just accepted the defaults. 3) I did not install the latest ConTeXt. I think I will be fine with whatever comes with TeXLive as of Sept, 2003. 4) Now I can generate a hello world pdf file with cmr fonts just fine. 5) Yes, I do have the type-akb.tex on my system. 6) On the following: \usetypescriptfile[type-akb] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt] \starttext The quick brown fox jumps over the lazy dog. \stoptext I get the following errors: [EMAIL PROTECTED]:~/Softdev> texexec --pdf paltest TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 executable : pdfetex format : cont-en inputfile : paltest output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) %&-line parsing enabled. (/usr/TeX/texmf/web2c/cp8bit.tcx) entering extended mode (./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg} ConTeXt ver: 2003.9.25 fmt: 2004.8.21 int: english mes: english language : language en is active system : cont-new loaded (/usr/TeX/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! ) system : cont-old loaded (/usr/TeX/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/usr/TeX/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded system : paltest.top loaded (./paltest.top specials : loading definition file tpd (/usr/TeX/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/TeX/texmf/tex/context/base/spec-fdf.tex system (E-TEX) : [line 1907] \ifcsname ) specials : fdf loaded ) specials : fdf,tpd loaded ) pdftex : needs map file: original-context-symbol.map pdftex : needs map file: pl0-ams-cmr.map pdftex : needs map file: original-vogel-symbol.map fonts : [palatino] [ec] [] (/usr/TeX/texmf/tex/context/base/type-syn.tex) (/usr/TeX/texmf/tex/context/base/type-enc.tex) (/usr/TeX/texmf/tex/context/base/type-siz.tex) (/usr/TeX/texmf/tex/context/base/type-map.tex) (/usr/TeX/texmf/tex/context/base/type-spe.tex) (/usr/TeX/texmf/tex/context/base/type-exa.tex fonts : [palatino] [rm] [serif] [palatino] fonts : [map] [ec] [] (/usr/TeX/texmf/tex/context/base/type-syn.tex) (/usr/TeX/texmf/tex/context/base/type-enc.tex) (/usr/TeX/texmf/tex/context/base/type-siz.tex) (/usr/TeX/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: 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: original-youngryu-px.map pdftex : needs map file: original-youngryu-tx.map pdftex : needs map file: ec-bh-lucida.map pdftex : needs map file: fourier.map pdftex : needs map file: fourier-utopia-expert.map ) (/usr/TeX/texmf/tex/context/base/type-spe.tex) (/usr/TeX/texmf/tex/context/base/type-exa.tex) (/usr/TeX/texmf/tex/context/base/type-akb.tex) fonts : [serif] [palatino] [name,default,ec,special] (/usr/TeX/texmf/tex/context/base/type-syn.tex) (/usr/TeX/texmf/tex/context/base/type-enc.tex) (/usr/TeX/texmf/tex/context/base/type-siz.tex) (/usr/TeX/texmf/tex/context/base/type-map.tex) (/usr/TeX/texmf/tex/context/base/type-spe.tex) (/usr/TeX/texmf/tex/context/base/type-exa.tex) (/usr/TeX/texmf/tex/context/base/type-akb.tex) fonts : [serif] [default] [size] (/usr/TeX/texmf/tex/context/base/type-syn.tex) (/usr/TeX/texmf/tex/context/base/type-enc.tex) (/usr/TeX/texmf/tex/context/base/type-siz.tex) (/usr/TeX/texmf/tex/context/base/type-map.tex) (/usr/TeX/texmf/tex/context/base/type-spe.tex) (/usr/TeX/texmf/tex/context/base/type-exa.tex) (/usr/TeX/texmf/tex/context/base/type-akb.tex) fonts : [palatino] [mm] [math] [palatino]
Re: [NTG-context] Re: How to use PostScript font
On Friday 20 August 2004 09:40 am, Patrick Gundlach wrote: > > So "[EMAIL PROTECTED]" should report again. > Still no luck!!! :-( Okay, so I got really upset with teTeX so I decided to get rid of it. Earlier I said that I was using Fedora Core 2. Now I am sitting on a SuSE 8.0 Pro machine. I did the following: 1) Uninstalled whatever TeX came with SuSE 2) Downloaded and installed from texlive2003-inst-20030928.iso 3) I chose not to install latex. Just context and pdftex alongwith whatever texlive said about anything being "essential files" 4) Next I wiped off whatever ConTeXt came with texlive and followed instructions on this page: http://home.salamander.com/~wmcclain/context-help.html to install the latest ConTeXt from pragma website. 5) Then I found that adobekb.tex was still NOT installed on my system---yes the latest ConTeXt from pragma-ade still does not have adobekb.tex. But as Hans suggested, I do have the file type-akb.tex. As Patrick suggested, I downloaded and installed adobekb.tex in the TeX tree. 6) So after all this, I try both type-akb and adobekb and the palatino font still refuses to cooperate. Here are the errors that I am getting: With this: \usetypescript[berry][ec] % or [8r] \usetypescript[palatino][ec] % \setupbodyfont[palatino] \starttext The quick brown fox jumps over the lazy dog. \stoptext gives me the following: [EMAIL PROTECTED]:~/Softdev> texexec --pdf paltest TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 executable : pdfetex format : cont-en inputfile : paltest output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) \write18 enabled. %&-line parsing enabled. (/usr/TeX/texmf/web2c/natural.tcx) entering extended mode (./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg} ConTeXt ver: 2004.8.15 fmt: 2004.8.21 int: english mes: english language : language en is active system : cont-new loaded (/usr/TeX/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! color : palette rollover is available system (E-TEX) : [line 567] system (E-TEX) : [line 622] ) system : cont-old loaded (/usr/TeX/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/usr/TeX/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (/usr/TeX/texmf/tex/context/user/cont-sys.tex) bodyfont : 12pt rm is loaded kpathsea: Running mktextfm msam7 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input msam7 This is METAFONT, Version 2.71828 (Web2C 7.5.2) (/usr/TeX/texmf/web2c/cp8bit.tcx) kpathsea: Running mktexmf msam7 ! I can't find file `msam7'. <*> ...e:=ljfour; mag:=1; nonstopmode; input msam7 Please type another input file name ! Emergency stop. <*> ...e:=ljfour; mag:=1; nonstopmode; input msam7 Transcript written on mfput.log. mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input msam7' failed. kpathsea: Appending font creation commands to missfont.log. ! Font \*7ptmmma*=msam7 at 7.0pt not loadable: Metric (TFM) file not found. \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \dodosetmathfamilyA ...amily \fontsize \endcsname \else \ifcsname \fontbody ... \dosetmathfamily ...athfamily \scriptscriptfont #1 \let \fontbody #3\dodosetm... ...\scriptscriptface \c!ma \empty \dosetmathfamily \mbfam \t... \synchronizemath ...athfonts \the \mathstrategies \fam \mrfam \fi ... l.1 \usetypescript[berry][ec] % or [8r] ? And this: \usetypescript[type-akb][ec] %or whatever your encoding is \setupbodyfont[pos] \starttext The quick brown fox jumps over the lazy dog. \stoptext gives me the following: [EMAIL PROTECTED]:~/Softdev> texexec --pdf paltest TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 executable : pdfetex format : cont-en inputfile : paltest output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) \write18 enabled. %&-line parsing enabled. (/usr/TeX/texmf/web2c/natural.tcx) entering extended mode (./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg} ConTeXt ver: 2004.8.15 fmt: 2004.8.21 int: english mes: english language : language en is active system : cont-new loaded (/usr/TeX/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded fro
[NTG-context] Re: How to use PostScript font
Hi Hans, [psnfss fonts] > sure, and anyone is free to use what he/she wants; but ... my main > problem is that i want to *know* what i use; That is exactly why I use the psnfss fonts. They are stable, the spacing doesn't change. > (afm2pl now has a afm2tfm compatibility switch); there have been > many discussions on how well for instance adobe metrics (the > standard 35, present in printers, but they may differ over time and > per platform) match urw's (on tex live, used when embedded) [nelson > beebe has done quite some research on that]. Yes, but what was the conclusion? As far as I can see the metrics only changed in terms of the character bounding box. But these are not considered for the advance width. So the change in metrics is irrelevant for typesetting with TeX. > One problem with all those fonts is that they have characteristics > that are not reflected in the filename (take for instance the > slant), emwidth, spacing, etc. Yes, but what is the problem? We are not talking about "other fonts", just the ones preinstalled by psnfss. We know ervery bit of those fonts, so no need to reflect the spacing etc. in the filename, since e.g. phvr8t will always have the same characteristics thougout all distributions. > say that i want to mix polish and german (using qx and ec encoding) in > one doc, i want similar spacing etc, don't i? Right, but qx isn't supplied by psnfss anyway, is it? So you'd have to make your own font; but I still can't see the drawback in using those fonts for 99% of [texts covered by ec encoding]. I can agree on "don't mix fontinst installed fonts with afm2... installed fonts when you need same em width (and alike)." But for most texts I bet that this is not an issue. > concerning the akb file, that's more related to wanting to use adobe > related metrics Absolutely. The choose the adobe metrics from psnfss, but as I am told the URW metrics have somewhat questionable kerning data. And using URW metrics with Adobe fonts will break on glyphs that are in URW but not Adobe. > all engines, and until now could distinguish on suffix (fmt,efmt,ofmt) > but web2c/tds now uses one suffix (fmt) and $engine subpath; but not > all distributions will follow that spec, so context users who use > pdfetex alongside aleph are worse off (well, texexec can be configured > to use the web2c/$engine subpath: --engine of in texexec.ini) I should make a macro in my Mailreader for default answer for those questions and put it on a easy to remember key :-) > actually, the nice thing about afm2pl is that it creates texnansi > metric files avoiding virtual fonts. That is really good. Let me see what I can do with respect to psnfss/texnansi... Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
Hello Hans, >Hmm, shouldn't \usetypescript[adobekb][..] be enough to load the file? >>I have just deleted my tetex 2 installation, so I can't verify. type-akb.tex >>didn't get loaded with fedora linux that the person (whatever his >>name is) used so it is either not available or one has to use the >>right magic to load. >> > just to make sure: type-akb is on your system isn't it? (or did i mess > up the distribution ?) Hans Sure! We have a problem with something archaeological: ConTeXt ver: 2003.1.31 fmt: 2004.5.28 int: english mes: english So "[EMAIL PROTECTED]" should report again. P. -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Patrick Gundlach wrote: Hello Hans, [...] but type-akb.tex should be there ... \usetypescriptfile[type-akb] Hmm, shouldn't \usetypescript[adobekb][..] be enough to load the file? I have just deleted my tetex 2 installation, so I can't verify. type-akb.tex didn't get loaded with fedora linux that the person (whatever his name is) used so it is either not available or one has to use the right magic to load. just to make sure: type-akb is on your system isn't it? (or did i mess up the distribution ?) 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
Hello Hans, [...] > but type-akb.tex should be there ... > > \usetypescriptfile[type-akb] Hmm, shouldn't \usetypescript[adobekb][..] be enough to load the file? I have just deleted my tetex 2 installation, so I can't verify. type-akb.tex didn't get loaded with fedora linux that the person (whatever his name is) used so it is either not available or one has to use the right magic to load. Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Patrick Gundlach wrote: Yes, but you stated that "different metrics, different subpaths, urw instances either or not present". Different metrics? I can't see any differences in metrics between differnent distributions on those fonts! Can you? They come from one source, i.e psnfss. Different subpaths? Perhaps, but what is the problem? Kpathsea is taking care of this. URW or not to URW? Good question, lets get started on this subject :-)) If we accept that there is such thing as "psnfss", which is preinstalled on almost all TeX systems out there, we can let the user decide: use "psnfss-metrics" or the ones generated by $TOOL. And I can't see any problems with the spacing with those fonts being too LaTeX related. We should be happy about those fonts, since we get good fonts (in terms of encodings/spacing/finetuning) for free from the LaTeX side. sure, and anyone is free to use what he/she wants; but ... my main problem is that i want to *know* what i use; recently i generated a set of metrics files using afm2pl which defaults to the ps* defaults and since a different spacing and emwidth metrics are used i got strange incompatible typeset results; (afm2pl now has a afm2tfm compatibility switch); there have been many discussions on how well for instance adobe metrics (the standard 35, present in printers, but they may differ over time and per platform) match urw's (on tex live, used when embedded) [nelson beebe has done quite some research on that]. One problem with all those fonts is that they have characteristics that are not reflected in the filename (take for instance the slant), emwidth, spacing, etc. The later may differ from the ones specified in the afm file. (actually, setting those probably makes more sense in tex itself, font dimens and such; if i have time i'll look into that: psfnss files with overloaded font dimens -) Imagine what would happen if protruding and hz was defined in fonts -) say that i want to mix polish and german (using qx and ec encoding) in one doc, i want similar spacing etc, don't i? concerning the akb file, that's more related to wanting to use adobe related metrics You are right that there are many other things being to LaTeX related. The situation is getting much better. A few years ago the distributions only knew about LaTeX. I had major problems with old tetex (memory problems for example), now most things work out of the box. let's hope it stays that way; e.g. context uses one format name for all engines, and until now could distinguish on suffix (fmt,efmt,ofmt) but web2c/tds now uses one suffix (fmt) and $engine subpath; but not all distributions will follow that spec, so context users who use pdfetex alongside aleph are worse off (well, texexec can be configured to use the web2c/$engine subpath: --engine of in texexec.ini) another everlasting issue is 8 bit in - 8 bit out (which is now solved by context always loading natural.tcx) that only leaves fonts, patterns, encoding vectors (yes they sometimes change, and there can be duplicates in the tree -) encoding, there are in most cases no tfm files etc. They are mentioned here and there, but often not on the system. It took me a while to find out that -because of that- i could not use precoockes metrics at all -) Who needs texnansi anyway? (OK, perhaps there are few who really need texnansi :-), but we might aks Mr. psnfss to generate texnansi metrics as well). we've always used them, probably before ec was around -) actually, the nice thing about afm2pl is that it creates texnansi metric files avoiding virtual fonts. 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Patrick Gundlach wrote: [...] The following works at live.contextgarden.net, but not on my Fedora Core 2 installation. Oh damned. The adobekb file does not exist on your system and ConTeXt doesn't feel like giving an error message :-( install http://levana.de/context/font/adobekb.tex into your homedir/TeX system. but type-akb.tex should be there ... \usetypescriptfile[type-akb] 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
Hello Hans, >>And the argument about being too LaTeXy: the encoding of these files >>is not LaTeX specific (besides from the fact that LaTeX can only >>handle T1/OT1 encoding right), so what is not generic about them? >> > if you run afm2tfm on some files you get different results that the > handcrafted' ones that come with distributions; (afm2pl for instance > defaults to different metrics [esp spacing] than afm2tfm); many of > these things are not really documented and done by people who use > latex and know about latex internals (for instance how they deal with > spacing); concerning generic ... Yes, but you stated that "different metrics, different subpaths, urw instances either or not present". Different metrics? I can't see any differences in metrics between differnent distributions on those fonts! Can you? They come from one source, i.e psnfss. Different subpaths? Perhaps, but what is the problem? Kpathsea is taking care of this. URW or not to URW? Good question, lets get started on this subject :-)) If we accept that there is such thing as "psnfss", which is preinstalled on almost all TeX systems out there, we can let the user decide: use "psnfss-metrics" or the ones generated by $TOOL. And I can't see any problems with the spacing with those fonts being too LaTeX related. We should be happy about those fonts, since we get good fonts (in terms of encodings/spacing/finetuning) for free from the LaTeX side. You are right that there are many other things being to LaTeX related. The situation is getting much better. A few years ago the distributions only knew about LaTeX. I had major problems with old tetex (memory problems for example), now most things work out of the box. [...] > latex commands in entries) concerning fonts: if you want texnansi > encoding, there are in most cases no tfm files etc. They are > mentioned here and there, but often not on the system. It took me a > while to find out that -because of that- i could not use precoockes > metrics at all -) Who needs texnansi anyway? (OK, perhaps there are few who really need texnansi :-), but we might aks Mr. psnfss to generate texnansi metrics as well). [...] Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
[...] > The following works at live.contextgarden.net, but not on my Fedora > Core 2 installation. Oh damned. The adobekb file does not exist on your system and ConTeXt doesn't feel like giving an error message :-( install http://levana.de/context/font/adobekb.tex into your homedir/TeX system. Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
- Original Message - From: Patrick Gundlach <[EMAIL PROTECTED]> Date: Thursday, August 19, 2004 6:01 pm Subject: [NTG-context] Re: How to use PostScript font > > Please post an error message on the things that we have written. (But > I doubt you will get any.) > The following works at live.contextgarden.net, but not on my Fedora Core 2 installation. \usetypescript[adobekb][ec] \setupbodyfont[ppl,11pt] \starttext The quick brown fox jumps over the lazy dog. \stoptext Please advise on how to fix this issue. [EMAIL PROTECTED] PalatinoTest]$ texexec --pdf test TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002 executable : pdfetex format : cont-en inputfile : test output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) entering extended mode (./test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2003.1.31 fmt: 2004.5.28 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 726] \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 ) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded system : test.top loaded (./test.top 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 system (E-TEX) : [line 1815] \ifcsname ) specials : fdf loaded ) specials : fdf,tpd loaded ) pdftex : needs map file: original-context-symbol.map pdftex : needs map file: pl0-ams-cmr.map pdftex : needs map file: original-vogel-symbol.map typescript : [adobekb] [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] [palatino] [name,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) typescript : [serif] [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] [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 pdftex : needs map file: original-ams-cmr.map pdftex : needs map file: original-ams-euler.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: original-youngryu-px.map pdftex : needs map file: original-youngryu-tx.map pdftex : needs map file: ec-bh-lucida.map ) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex))kpathsea: Running mktextfm ec-uplr8a /usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation c- for ec-uplr8a. /usr/share/texmf/web2c/mktexnam: Need to update /usr/share/texmf/fontname/special.map? mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ec-uplr8a This is METAFONT, Version 2.7182 (Web2C 7.4.5) kpathsea: Running mktexmf ec-uplr8a ! I can't find file `ec-uplr8a'. <*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a Please type another input file name ! Em
Re: [NTG-context] Re: How to use PostScript font
Patrick Gundlach wrote: And the argument about being too LaTeXy: the encoding of these files is not LaTeX specific (besides from the fact that LaTeX can only handle T1/OT1 encoding right), so what is not generic about them? if you run afm2tfm on some files you get different results that the 'handcrafted' ones that come with distributions; (afm2pl for instance defaults to different metrics [esp spacing] than afm2tfm); many of these things are not really documented and done by people who use latex and know about latex internals (for instance how they deal with spacing); concerning generic ... when discussing the fact that some files were not present or zipped with some people at a tex conference (in de) one of contributers remarked "why should they be there, since everyone uses latex and the stuff i make and no one is supposed to generate metrics") similar things are true for patterns: they are supposed to be generic, but for instance the czech patterns (on tl2003) simply quit when not used in latex. Other changes take place as well, like changes in names of files, and if someone changes a name and then patches some latex source file, users won't notice; when such things are not communicated, 'generic' users end up with a non working system; i think that the amount of real generic stuff out there is much smaller than people think (for instance bibtex files that have latex commands in entries) concerning fonts: if you want texnansi encoding, there are in most cases no tfm files etc. They are mentioned here and there, but often not on the system. It took me a while to find out that -because of that- i could not use precoockes metrics at all -) 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
[...] > I get errors. I am using Fedora Core 2 with teTex 2.02. the ConTeXt in tetex 2.02 should be new enough to handle what Mari and I have pointed out. Please post an error message on the things that we have written. (But I doubt you will get any.) Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
Hello Hans, [.. psnfss fonts ..] > Concerning those fonts, there are differences between distributions: > different metrics, different subpaths, urw instances either or not > present; i got the feeling that sometimes fixes/changes take place > when a font contributer finds out that his/her system does not work > thereby breaking other things); unfortunately much of those pieces of > distributions are dictated by what latex wants to see instead of being > generic Well, we are talking about the fonts required by the psnfss (latex) system. Those should be all the same for all systems. The files typset should be completely portable. Maybe the outcome doesn't look right, but I doubt it will. I'd like to hear about any problems with psnfss not being compatible among distributions. And the argument about being too LaTeXy: the encoding of these files is not LaTeX specific (besides from the fact that LaTeX can only handle T1/OT1 encoding right), so what is not generic about them? Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to use PostScript font
Patrick Gundlach wrote: Hi, [...] I also tried: \usetypescript[adobekb][\defaultencoding] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt] Patrick Concerning those fonts, there are differences between distributions: different metrics, different subpaths, urw instances either or not present; i got the feeling that sometimes fixes/changes take place when a font contributer finds out that his/her system does not work thereby breaking other things); unfortunately much of those pieces of distributions are dictated by what latex wants to see instead of being generic (one reason why i always generate metrics myself, although i found out that on the current tex live some of the files needed for that are not present of in different paths, so watch your logs -) 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: How to use PostScript font
Hi, [...] > I also tried: \usetypescript[adobekb][\defaultencoding] > \usetypescript[palatino][\defaultencoding] > \setupbodyfont[palatino,12pt] Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context