* Palatino @ 1999-10-13 8:15 Matthew Baker 1999-10-13 8:37 ` Palatino Taco Hoekwater 0 siblings, 1 reply; 13+ messages in thread From: Matthew Baker @ 1999-10-13 8:15 UTC (permalink / raw) I don't think this is specifically a ConTeXt question but there are some font gurus on this list. I have written a font-ppl.tex for the Palatino font it has \definefontsynonym [Serif] [Palatino-Roman] \definefontsynonym [SerifBold] [Palatino-Bold] \definefontsynonym [SerifItalic] [Palatino-Italic] \definefontsynonym [SerifSlanted] [Palatino-Slanted] \definefontsynonym [SerifBoldItalic] [Palatino-BoldItalic] \definefontsynonym [SerifBoldSlanted] [Palatino-BoldSlanted] \definefontsynonym [SerifCaps] [Palatino-Roman] In font-fit.tex I have added \definefontsynonym [Palatino-Roman] [pplr] [encoding=texnansi] \definefontsynonym [Palatino-Italic] [pplri] [encoding=texnansi] \definefontsynonym [Palatino-Slanted] [pplro] [encoding=texnansi] \definefontsynonym [Palatino-Bold] [pplb] [encoding=texnansi] \definefontsynonym [Palatino-BoldItalic] [pplbi] [encoding=texnansi] \definefontsynonym [Palatino-BoldSlanted] [pplbo] [encoding=texnansi] pdftex.conf already contained the lines pplb8r "TeXBase1Encoding ReEncodeFont" <8r.enc <uplb8a.pfb pplbi8r "TeXBase1Encoding ReEncodeFont" <8r.enc <uplbi8a.pfb pplbo8r ".167 SlantFont TeXBase1Encoding ReEncodeFont" <8r.enc <uplb8a.pfb pplr8r "TeXBase1Encoding ReEncodeFont" <8r.enc <uplr8a.pfb pplri8r "TeXBase1Encoding ReEncodeFont" <8r.enc <uplri8a.pfb pplro8r ".167 SlantFont TeXBase1Encoding ReEncodeFont" <8r.enc <uplr8a.pfb Now \setupbodyfont[ppl] gives me Palatino in with appropriate variants. Accented letters work fine but the sharp S doesn't come up, ` comes out at ' and there seem to be no ligatures. Is this an encoding problem or are these likely to be missing from the font? I have tried various encodings (with \useencoding), all of which give me the same thing. - Matt -- Dr. Matthew Baker matthew.baker@gmd.de GMD - FIT.MMK http://fit.gmd.de/hci/pages/matthew.baker.html ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Palatino 1999-10-13 8:15 Palatino Matthew Baker @ 1999-10-13 8:37 ` Taco Hoekwater 1999-10-14 6:19 ` Palatino Matthew Baker 0 siblings, 1 reply; 13+ messages in thread From: Taco Hoekwater @ 1999-10-13 8:37 UTC (permalink / raw) >>>>> "MB" == Matthew Baker <Matthew.Baker@gmd.de> writes: MB> I don't think this is specifically a ConTeXt question but there MB> are some font gurus on this list. But is *is* a context question. MB> I have written a font-ppl.tex for the Palatino font it has MB> In font-fit.tex I have added font-fit ?? What's that? MB> \definefontsynonym [Palatino-Roman] [pplr] [encoding=texnansi] MB> pdftex.conf already contained the lines MB> pplb8r "TeXBase1Encoding ReEncodeFont" <8r.enc <uplb8a.pfb TeXBase1Encoding becomes ec.enc, depending on user-level *8t files. Therefore, the previous section is wrong. You need lines like: \definefontsynonym [Palatino-Italic] [pplri8t] [encoding=ec] (add 8t suffixes and change all encodings to ec) Greetings, Taco -- Taco Hoekwater taco.hoekwater@wkap.nl Kluwer Academic Publishers -- Pre Press -- Achterom 119, 3311 KB Dordrecht, The Netherlands tel. 31-78-6392550 --------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Palatino 1999-10-13 8:37 ` Palatino Taco Hoekwater @ 1999-10-14 6:19 ` Matthew Baker 1999-10-14 9:31 ` germandbls Taco Hoekwater 1999-10-14 9:40 ` Palatino Taco Hoekwater 0 siblings, 2 replies; 13+ messages in thread From: Matthew Baker @ 1999-10-14 6:19 UTC (permalink / raw) On Wed, 13 Oct 1999, Taco Hoekwater wrote: > TeXBase1Encoding becomes ec.enc, depending on user-level *8t files. > Therefore, the previous section is wrong. You need lines like: > > \definefontsynonym [Palatino-Italic] [pplri8t] [encoding=ec] > > (add 8t suffixes and change all encodings to ec) Ah, I see. I have changed my lines in font-ppl.tex to be like above and still have lines of the form pplb8r "TeXBase1Encoding ReEncodeFont" <8r.enc <uplb8a.pfb in pdftex.conf. Everything still works as before except ß comes up as SS (I always get this with the ec encoding in ConTeXt). And I still have no ligatures. Do I need to change pdftex.conf? Oh when I wrote "font-fit.tex" I meant "font-fil.tex". - Matt -- Dr. Matthew Baker matthew.baker@gmd.de GMD - FIT.MMK http://fit.gmd.de/hci/pages/matthew.baker.html ^ permalink raw reply [flat|nested] 13+ messages in thread
* germandbls 1999-10-14 6:19 ` Palatino Matthew Baker @ 1999-10-14 9:31 ` Taco Hoekwater 1999-10-14 11:01 ` germandbls Peter Willadt 1999-10-15 13:09 ` germandbls and Palatino Matthew Baker 1999-10-14 9:40 ` Palatino Taco Hoekwater 1 sibling, 2 replies; 13+ messages in thread From: Taco Hoekwater @ 1999-10-14 9:31 UTC (permalink / raw) Cc: ntg-context >>>>> "Matthew" == Matthew Baker <Matthew.Baker@gmd.de> writes: Matthew> in pdftex.conf. Everything still works as before except Matthew> ß comes up as SS (I always get this with the ec encoding Matthew> in ConTeXt). And I still have no ligatures. Do I need There are two problems here at the same time I think, one in enco-ec.tex and one in your input file. - enco-ec misses a line. Hans, please add this one close to the SS one: \definecharacter ss 255 (have to regenerate formats after that change) - you need \useencoding[win] for ß to map to the right control sequence. Taco -- Taco Hoekwater taco.hoekwater@wkap.nl Kluwer Academic Publishers -- Pre Press -- Achterom 119, 3311 KB Dordrecht, The Netherlands tel. 31-78-6392550 --------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: germandbls 1999-10-14 9:31 ` germandbls Taco Hoekwater @ 1999-10-14 11:01 ` Peter Willadt 1999-10-15 13:09 ` germandbls and Palatino Matthew Baker 1 sibling, 0 replies; 13+ messages in thread From: Peter Willadt @ 1999-10-14 11:01 UTC (permalink / raw) Taco Hoekwater schrieb: > > There are two problems here at the same time I think, one in > enco-ec.tex and one in your input file. > > - enco-ec misses a line. Hans, please add this one close to the SS one: > > \definecharacter ss 255 > > (have to regenerate formats after that change) > > - you need \useencoding[win] for ß to map to the right control sequence. > Hello, this also resolves my problems with german double s reported a few days ago. Peter Willadt ^ permalink raw reply [flat|nested] 13+ messages in thread
* germandbls and Palatino 1999-10-14 9:31 ` germandbls Taco Hoekwater 1999-10-14 11:01 ` germandbls Peter Willadt @ 1999-10-15 13:09 ` Matthew Baker 1999-10-15 15:32 ` Taco Hoekwater 1 sibling, 1 reply; 13+ messages in thread From: Matthew Baker @ 1999-10-15 13:09 UTC (permalink / raw) Hi Taco, Hans, everyone, Still no success with either ligatures or sharp s's. I added the line Taco suggested to enco-ec.tex but, as far as I can tell, it had no effect. Switching to the win encoding causes "s and ß to switch to sans-serif font. I imagine this is because \SS switches to sans serif. In font-ini.tex there is the line \let\SS=\ss The comment above says this is to to make \SS produce the sharp s so that \ss can safely be overridden with the sans-serif command. If I comment this line out and remake the format files, ß and "s no longer switch to sans serif. So it seems to me that, when font-ini.tex is loaded, \ss already is set up to switch to sans-serif. That's the ß problem. I had a look in both my tfm and vf files and they both contain 2 times 15 ligature lines. Are there any switches in context that can cause it to produce more output that will help in finding this problem? - Matt -- Dr. Matthew Baker matthew.baker@gmd.de GMD - FIT.MMK http://fit.gmd.de/hci/pages/matthew.baker.html ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: germandbls and Palatino 1999-10-15 13:09 ` germandbls and Palatino Matthew Baker @ 1999-10-15 15:32 ` Taco Hoekwater 0 siblings, 0 replies; 13+ messages in thread From: Taco Hoekwater @ 1999-10-15 15:32 UTC (permalink / raw) Cc: ntg-context Hi Matthew, Looks like (at least) your context distrib is broken. The format generation log might help, but if not than my guess would be: delete all context-related stuff from your harddisk and re-install. This does not really explain the missing ligs though. Another thing that might help is a very small input file + log + dvi: \setupbodyfont[ber,ppl]\useencoding[win]{\tracingall"s---ß? finally?}\bye (please send all that junk directly to me, not to the list) Greetings and good luck, Taco >>>>> "Matthew" == Matthew Baker <Matthew.Baker@gmd.de> writes: Matthew> Hi Taco, Hans, everyone, Matthew> Still no success with either ligatures or sharp s's. I Matthew> added the line Taco suggested to enco-ec.tex but, as far Matthew> as I can tell, it had no effect. Switching to the win Matthew> encoding causes "s and ß to switch to sans-serif font. I Matthew> imagine this is because \SS switches to sans serif. In Matthew> font-ini.tex there is the line Matthew> \let\SS=\ss Matthew> The comment above says this is to to make \SS produce the Matthew> sharp s so that \ss can safely be overridden with the Matthew> sans-serif command. If I comment this line out and Matthew> remake the format files, ß and "s no longer switch to Matthew> sans serif. So it seems to me that, when font-ini.tex is Matthew> loaded, \ss already is set up to switch to sans-serif. Matthew> That's the ß problem. I had a look in both my tfm and vf Matthew> files and they both contain 2 times 15 ligature lines. Matthew> Are there any switches in context that can cause it to Matthew> produce more output that will help in finding this Matthew> problem? Matthew> - Matt Matthew> -- Dr. Matthew Baker matthew.baker@gmd.de GMD - FIT.MMK Matthew> http://fit.gmd.de/hci/pages/matthew.baker.html -- Taco Hoekwater taco.hoekwater@wkap.nl Kluwer Academic Publishers -- Pre Press -- Achterom 119, 3311 KB Dordrecht, The Netherlands tel. 31-78-6392550 --------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Palatino 1999-10-14 6:19 ` Palatino Matthew Baker 1999-10-14 9:31 ` germandbls Taco Hoekwater @ 1999-10-14 9:40 ` Taco Hoekwater 1 sibling, 0 replies; 13+ messages in thread From: Taco Hoekwater @ 1999-10-14 9:40 UTC (permalink / raw) Cc: ntg-context Matthew> Ah, I see. I have changed my lines in font-ppl.tex to be Matthew> like above and still have lines of the form Matthew> pplb8r "TeXBase1Encoding ReEncodeFont" <8r.enc Matthew> <uplb8a.pfb Matthew> in pdftex.conf. Everything still works as before except Matthew> ß comes up as SS (I always get this with the ec encoding Matthew> in ConTeXt). And I still have no ligatures. Do I need I cannot think of a reason for not having ligatures except broken tfm/vf files. Try this: tftopl `kpsewhich --progname=pdfetex pplb8t.tfm` | grep 'LIG ' (you should have 2 times 15 hits) If this works OK, then probably your vf is broken: vftovp `kpsewhich --progname=pdfetex pplb8t.vf` | grep 'LIG ' (you should also have 2 times 15 hits) Matthew> to change pdftex.conf? No, I don't think so. Taco ^ permalink raw reply [flat|nested] 13+ messages in thread
* Palatino @ 2005-11-22 1:27 David Arnold 2005-11-22 9:29 ` Palatino Taco Hoekwater 0 siblings, 1 reply; 13+ messages in thread From: David Arnold @ 2005-11-22 1:27 UTC (permalink / raw) All, Can someone give me a short test file to see if palatino will work on my system (GWTeX and Tiger). David ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Palatino 2005-11-22 1:27 Palatino David Arnold @ 2005-11-22 9:29 ` Taco Hoekwater 2005-11-22 15:02 ` Palatino David Arnold 0 siblings, 1 reply; 13+ messages in thread From: Taco Hoekwater @ 2005-11-22 9:29 UTC (permalink / raw) David Arnold wrote: > All, > > Can someone give me a short test file to see if palatino will work on > my system (GWTeX and Tiger). For a texfont-installed version of the metrics, this should work: \usetypescript[palatino][texnansi] \switchtobodyfont[palatino] \starttext Hello World! \stoptext For the psnfss (LaTeX) version, the minimal file is this: \usetypescript[adobekb][8r,ec] \usetypescript[palatino][ec] \switchtobodyfont[palatino] \starttext Hello World! \stoptext Greetings, Taco ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Palatino 2005-11-22 9:29 ` Palatino Taco Hoekwater @ 2005-11-22 15:02 ` David Arnold 2005-11-22 15:32 ` Palatino Hans Hagen 0 siblings, 1 reply; 13+ messages in thread From: David Arnold @ 2005-11-22 15:02 UTC (permalink / raw) [-- Attachment #1.1: Type: text/plain, Size: 701 bytes --] Taco et al, OK, this didn't work. Log file attached. \usetypescript[palatino][texnansi] \switchtobodyfont[palatino] \starttext Hello World! \stoptext This one worked. \usetypescript[adobekb][8r,ec] \usetypescript[palatino][ec] \switchtobodyfont[palatino] \starttext Hello World! \stoptext Two questions: 1. I don't know why one worked and the other didn't. What files could I look at in my tex tree that would give a hint as to which to use? 2. How can I make the first one work? On Nov 22, 2005, at 1:29 AM, Taco Hoekwater wrote: > \usetypescript[palatino][texnansi] > \switchtobodyfont[palatino] > \starttext > Hello World! > \stoptext David [-- Attachment #1.2: Type: text/html, Size: 2802 bytes --] [-- Attachment #2: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Palatino 2005-11-22 15:02 ` Palatino David Arnold @ 2005-11-22 15:32 ` Hans Hagen 2005-11-22 17:08 ` Palatino David Arnold 0 siblings, 1 reply; 13+ messages in thread From: Hans Hagen @ 2005-11-22 15:32 UTC (permalink / raw) David Arnold wrote: > Taco et al, > > OK, this didn't work. Log file attached. > > � �\usetypescript[palatino][texnansi] > � \switchtobodyfont[palatino] > � \starttext > � Hello World! > � \stoptext > no logfile -) for that one you need to run texfont --encoding=texnansi --batch type-tmf.dat (since you are familiar with texnansi .... although better than ec, this encoding was never really supported in distributions, only by mouh, which is why you need to generate metrics yourself) > This one worked. > > �\usetypescript[adobekb][8r,ec] > � \usetypescript[palatino][ec] > � \switchtobodyfont[palatino] > � \starttext > � Hello World! > � \stoptext > > Two questions: > > 1. I don't know why one worked and the other didn't. What files could > I look at in my tex tree that would give a hint as to which to use? > > 2. How can I make the first one work? use texfont (or take cont-fnt from the website) Hans ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Palatino 2005-11-22 15:32 ` Palatino Hans Hagen @ 2005-11-22 17:08 ` David Arnold 0 siblings, 0 replies; 13+ messages in thread From: David Arnold @ 2005-11-22 17:08 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 562 bytes --] Hans, When I try: 011-101:/usr/local/teTeX/share/texmf.local/context/data davidarnold$ sudo texfont --encoding=texnansi -batch type-tmf.dat I get a slew of messages similar to this last one: TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004 slant factor : 0.167 checking root : TEXMFMAIN processing aborted : unknown subpath ../fonts/afm/urw/ncntrsbk --help : show some more info Some extra information: texexec --verbose reports: applications will use : /usr/local/teTeX/texmf.cnf This last file is attached. [-- Attachment #2: texmf.cnf --] [-- Type: application/octet-stream, Size: 2962 bytes --] % Our directory setup as explained in $SELFAUTOPARENT/share/README.gwtex % TEXMFMAIN contains the TEXMF tree installed by make install of the programs TEXMFMAIN = $SELFAUTOPARENT/share/texmf % TEXMFTE contains the main TEXMF tree from teTeX TEXMFTE = $SELFAUTOPARENT/share/texmf.tetex % TEXMFGW contains GW specific defaults and additions TEXMFGW = $SELFAUTOPARENT/share/texmf.gwtex % TEXMFLOCAL contains any local system TeXadmin overrides TEXMFLOCAL = $SELFAUTOPARENT/share/texmf.local % $VARTEXMF is where texconfig writes its local settings VARTEXMF = $TEXMFLOCAL % User texmf trees can be catered for like this... HOMETEXMF = $HOME/Library/texmf % Our complete search path, the last three are searched through % ls-R exclusively, which means that you have to run texhash % after you have added, moved or deleted files in the tree TEXMF={$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFGW,!!$TEXMFTE,!!$TEXMFMAIN} % If you want to disable the HOME trees, use this: % TEXMF=!!{$TEXMFLOCAL,$TEXMFGW,$TEXMFTE,$TEXMFMAIN} % The system trees. These are the trees that are shared by all the users. SYSTEXMF = $TEXMFLOCAL;$TEXMFGW;$TEXMFTE;$TEXMFMAIN % Where generated fonts may be written. This tree is used when the sources % were found in a system tree and either that tree wasn't writable, or the % varfonts feature was enabled in MT_FEATURES in mktex.cnf. VARTEXFONTS = /var/tmp/texfonts % teTeX-3.0 and TL2005 require these TEXMFVAR = $HOMETEXMF TEXMFCONFIG = $HOMETEXMF TEXMFSYSCONFIG = $VARTEXMF TEXMFSYSVAR = $VARTEXMF % Where to look for ls-R files. There need not be an ls-R in the % directories in this path, but if there is one, Kpathsea will use it. % This is default set to TEXMF+VARTEXFONTS but without HOMETEXMF TEXMFDBS = $TEXMFLOCAL;$TEXMFGW;$TEXMFTE;$TEXMFMAIN;$VARTEXFONTS % Make font tfm files is mf files are available MKTEXTFM = 1 % Make fonts when unavailable (not all fonts are available for pdf directly) % Useful when using non-pdf-available fonts and going the tex->dvi->ps->pdf route MKTEXPK.pdftex = 1 MKTEXPK.pdflatex = 1 MKTEXPK.pdfetex = 1 MKTEXPK.pdfelatex = 1 % Enable \write18 (run shell processes from within TeX job) % Set to t if needed % (I think this might have security implications, especially if you % run tex jobs as administrator, so I keep it turned off by default shell_escape = f % Fixes for mixing old and new style locations in TL2004 (according to Hans Hagen) TEXPSHEADERS = .;$TEXMF/{fonts/{enc,map,type1,truetype},dvips,pdftex,tex}//;$TEXMF/{etex,tex,pdftex,dvips,fonts/type1}// TEXFONTMAPS = .;$TEXMF/{fonts/map//,fontname};$TEXMF/{pdftex,dvips}/config;$TEXMF/{pdftex,dvips}// TEXCONFIG = .;$TEXMF/{fonts/map,dvips,pdftex,dvipdfmx,dvipdfm}// PDFTEXCONFIG = .;$TEXMF/pdftex/{$progname,}// DVIPDFMINPUTS = .;$TEXMF/{fonts/map,dvips,pdftex,dvipdfmx,dvipdfm}// % XeTeX TEXINPUTS.xelatex = .;$TEXMF/{xetex,tex}/{xelatex,latex,generic,}// TEXINPUTS.xetex = .;$TEXMF/{xetex,tex}/{xetex,plain,generic,}// [-- Attachment #3: Type: text/plain, Size: 1402 bytes --] On Nov 22, 2005, at 7:32 AM, Hans Hagen wrote: > David Arnold wrote: > >> Taco et al, >> >> OK, this didn't work. Log file attached. >> >> � �\usetypescript[palatino][texnansi] >> � \switchtobodyfont[palatino] >> � \starttext >> � Hello World! >> � \stoptext >> > no logfile -) > > for that one you need to run > > texfont --encoding=texnansi --batch type-tmf.dat > > (since you are familiar with texnansi .... although better than ec, > this encoding was never really supported in distributions, only by > mouh, which is why you need to generate metrics yourself) > >> This one worked. >> >> �\usetypescript[adobekb][8r,ec] >> � \usetypescript[palatino][ec] >> � \switchtobodyfont[palatino] >> � \starttext >> � Hello World! >> � \stoptext >> >> Two questions: >> >> 1. I don't know why one worked and the other didn't. What files >> could I look at in my tex tree that would give a hint as to which >> to use? >> >> 2. How can I make the first one work? > > use texfont (or take cont-fnt from the website) > > Hans > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ [-- Attachment #4: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-11-22 17:08 UTC | newest] Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 1999-10-13 8:15 Palatino Matthew Baker 1999-10-13 8:37 ` Palatino Taco Hoekwater 1999-10-14 6:19 ` Palatino Matthew Baker 1999-10-14 9:31 ` germandbls Taco Hoekwater 1999-10-14 11:01 ` germandbls Peter Willadt 1999-10-15 13:09 ` germandbls and Palatino Matthew Baker 1999-10-15 15:32 ` Taco Hoekwater 1999-10-14 9:40 ` Palatino Taco Hoekwater 2005-11-22 1:27 Palatino David Arnold 2005-11-22 9:29 ` Palatino Taco Hoekwater 2005-11-22 15:02 ` Palatino David Arnold 2005-11-22 15:32 ` Palatino Hans Hagen 2005-11-22 17:08 ` Palatino David Arnold
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).