Why does ConTeXt try to load Latin Modern?
I just upgraded my MiKTeX and ConTeXt, and I found out that ConTeXt tries to load Latin Modern regardless of my choice. Example document: """ \setupbodyfont[ppl,rm,12pt]% \starttext Hello, world! \stoptext """ Discarding my \setupbodyfont, ConTeXt tries to load ec-lmr12. Suggestions? -- Giuseppe "Oblomov" Bilotta
Giuseppe Bilotta said this at Wed, 6 Jul 2005 14:02:10 +0200:
\setupbodyfont[ppl,rm,12pt]%
ppl is defined in type-pre, which is apparently deprecated in the latest ConTeXt. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adam Lindsay wrote:
Giuseppe Bilotta said this at Wed, 6 Jul 2005 14:02:10 +0200:
\setupbodyfont[ppl,rm,12pt]%
ppl is defined in type-pre, which is apparently deprecated in the latest ConTeXt.
\usetypescript[palatino][ec] \setupbodyfont[palatino,rm,12pt] instead Hans ps. the ppl was a drop in for font-ppl which was abandoned a few years ago; i can keep pos, ppl and lbr if needed 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 -----------------------------------------------------------------
Wednesday, July 6, 2005 Hans Hagen wrote:
Adam Lindsay wrote:
Giuseppe Bilotta said this at Wed, 6 Jul 2005 14:02:10 +0200:
\setupbodyfont[ppl,rm,12pt]%
ppl is defined in type-pre, which is apparently deprecated in the latest ConTeXt.
\usetypescript[palatino][ec] \setupbodyfont[palatino,rm,12pt]
instead
ConTeXt still tries to load lmr12, though:
This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=cont-en 2005.7.6) 6 JUL 2005 15:47
entering extended mode
**tesi.tex
(tesi.tex
ConTeXt ver: 2005.06.27 fmt: 2005.7.6 int: english mes: english
language : language en is active
Wednesday, July 6, 2005 luigi.scarso wrote:
Giuseppe Bilotta wrote:
ConTeXt still tries to load lmr12, though:
This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=cont-en 2005.7.6) 6 JUL 2005 15:47 entering extended mode **tesi.tex (tesi.tex
I N B O C C A A L L U P O !!!
Crepi il lupo! :) -- Giuseppe "Oblomov" Bilotta
Giuseppe Bilotta wrote:
Wednesday, July 6, 2005 luigi.scarso wrote:
Giuseppe Bilotta wrote:
ConTeXt still tries to load lmr12, though:
This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=cont-en 2005.7.6) 6 JUL 2005 15:47 entering extended mode **tesi.tex (tesi.tex
I N B O C C A A L L U P O !!!
Crepi il lupo! :)
Thanks to the babel fish-y: Giuseppe Bilotta wrote:
I N M O U T H T O T H E L U P O !!!
Leaks the lupo! :)
Which, I believe, means that both of them just met a dribbling wolf. :) Taco
Taco Hoekwater wrote:
**tesi.tex
This is a hidden sign that G. Billotta is working on his mathematics *dissertation... ('quasi finita', i hope) *
I N B O C C A A L L U P O !!!
Crepi il lupo! :)
""When someone tells you "in bocca al lupo" to wish you good luck, you are supposed to reply "crepi" (maybe you can use the extended sentence as well, i. e. "crepi il lupo"). If you simply reply "grazie", you are supposed not to have luck! "" Used sometimes by students to wish each other good luck before exams. Well, G. Billotta was the first (and last, for now) italian I met inside context code. I was able to find one of his article on context at http://obelix.ee.duth.gr/eft/eutupon/eutupon9.pdf which I'm reading for a (planned) presentation to guit 2005 meeting, together with modules.pdf which I'm building , with some efforts. I hope that when modules.pdf will be ok, answer sto questions like "Why does ConTeXt try to load Latin Moder" will be more rapid. luigi
luigi.scarso wrote:
Taco Hoekwater wrote:
**tesi.tex
This is a hidden sign that G. Billotta is working on his mathematics *dissertation... ('quasi finita', i hope) *
ah, that 6\high{th} dimension problem he's working on; any sign of/news on the meGapost variant that is needed to prove him being right
""When someone tells you "in bocca al lupo" to wish you good luck, you are supposed to reply "crepi" (maybe you can use the extended sentence as well, i. e. "crepi il lupo"). If you simply reply "grazie", you are supposed not to have luck! "" Used sometimes by students to wish each other good luck before exams.
ah, so 'crepi' is not related to creperen which in dutch means that he's going down (into the gutter, etc)
Well, G. Billotta was the first (and last, for now) italian I met inside context code.
hm, looking at list i count some 12 italian members (currently some 435 members, still growing, some inactive accounts, so probably some 400 active)
I was able to find one of his article on context at http://obelix.ee.duth.gr/eft/eutupon/eutupon9.pdf which I'm reading for a (planned) presentation to guit 2005 meeting, together with modules.pdf which I'm building , with some efforts.
I hope that when modules.pdf will be ok, answer sto questions like "Why does ConTeXt try to load Latin Moder" will be more rapid.
-) 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 -----------------------------------------------------------------
Wednesday, July 6, 2005 Hans Hagen wrote:
ah, that 6\high{th} dimension problem he's working on; any sign of/news on the meGapost variant that is needed to prove him being right
Sheesh! It's a plain two-dimensional problem. And it's basically solved, too :) -- Giuseppe "Oblomov" Bilotta
Hans Hagen wrote:
hm, looking at list i count some 12 italian members
Maybe useless, but for all these italian members: 1. http://www.guit.sssup.it is the official link for the Italian TeX Users Group; 2. at http://www.guit.sssup.it/forum there is a forum for ConTeXt in italian language; 3. Please, join the guit !! Note::the offial link for guit is http://www.guit.sssup.it luigi -Italian translation----- Forse e' inutile, ma per tutti gli iscritti italiani: 1. http://www.guit.sssup.it e' il link ufficiale per l' Italian TeX Users Group; 2. in http://www.guit.sssup.it/forum c'e' un forum dedicato a ConTeXt in lingua italiana; 3. Iscrivetevi al guit !!! Nota:: Il link ufficiale per il guit e' http://www.guit.sssup.it luigi
luigi.scarso wrote:
2. at http://www.guit.sssup.it/forum there is a forum for ConTeXt in italian language;
i grep no 'context' on that page, so no opportunity to polish my italian -) 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 -----------------------------------------------------------------
Hans Hagen schrieb:
luigi.scarso wrote:
2. at http://www.guit.sssup.it/forum there is a forum for ConTeXt in italian language;
i grep no 'context' on that page, so no opportunity to polish my italian -)
Hans
try the following link: http://www.guit.sssup.it/phpbb/index.php Frank
Frank Grieshaber wrote:
try the following link:
ah, i see, context is still less 'difficoltà ' than latex -) 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 -----------------------------------------------------------------
Hans Hagen wrote:
2. at http://www.guit.sssup.it/forum there is a forum for ConTeXt in italian language;
i grep no 'context' on that page, so no opportunity to polish my italian -)
Only Forum su TeX, LaTeX e GuIT (grrr) I will send an email to our admin. BTW, http://www.guit.sssup.it/phpbb/index.php luigi
Hans Hagen wrote:
ah, so 'crepi' is not related to creperen which in dutch means that he's going down (into the gutter, etc)
hmm, ""In Dutch, "creperen" means to =>DIE<= a slow, agonizing death (or something along that line :))..."" In italian, 'crepi' is 3th singular person from verb 'crepare': 'crepare': to die, to pop off, to kick the bucket | to burst| to crack (like 'the wall has cracked') From latin crepare. It seem that they share the same origin. -) luigi
Giuseppe Bilotta wrote:
Wednesday, July 6, 2005 Hans Hagen wrote:
Adam Lindsay wrote:
Giuseppe Bilotta said this at Wed, 6 Jul 2005 14:02:10 +0200:
\setupbodyfont[ppl,rm,12pt]%
ppl is defined in type-pre, which is apparently deprecated in the latest ConTeXt.
i've added a slightly different type-pre which provides backward compatibility as much as possible without messing up things too much (will upload later)
\usetypescript[palatino][ec] \setupbodyfont[palatino,rm,12pt]
instead
ConTeXt still tries to load lmr12, though:
this is weird, esp since this is pretty old untouched stuff ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Wednesday, July 6, 2005 Hans Hagen wrote:
this is weird, esp since this is pretty old untouched stuff
I'll bet it's because lm is the new default font, so regardless of what I try to load it still tries to get that, first thing. -- Giuseppe "Oblomov" Bilotta
On 6 juil. 2005, at 15:48, Giuseppe Bilotta wrote:
\usetypescript[palatino][ec] \setupbodyfont[palatino,rm,12pt]
Can you try the following: \usetypescript [adobekb] [ec] \loadmapfile [context-base] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt] \starttext \input knuth \stoptext See also my message in the thread discussed here "Confusion with font instructions". I hope this wil help... Best regards: OK
Giuseppe Bilotta wrote: ! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not found. maybe its a fall back font that is loaded here; in any case, you need to have latin modern on your machine (well, you want that any way in order to hyphenate italian -) 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 -----------------------------------------------------------------
Wednesday, July 6, 2005 Hans Hagen wrote:
! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not found.
maybe its a fall back font that is loaded here; in any case, you need to have latin modern on your machine (well, you want that any way in order to hyphenate italian -)
By no reason I should *need* Latin Modern. I want to use Palatino, not Latin Modern. If ConTeXt can't find a font, it should complain about *that* font missing. I also tried Otared's suggestion. Same thing. Regardless of what's in the document, ConTeXt *still* tries loading Latin Modern. Why? -- Giuseppe "Oblomov" Bilotta
Giuseppe Bilotta wrote:
Wednesday, July 6, 2005 Hans Hagen wrote:
! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not found.
maybe its a fall back font that is loaded here; in any case, you need to have latin modern on your machine (well, you want that any way in order to hyphenate italian -)
By no reason I should *need* Latin Modern. I want to use Palatino, not Latin Modern. If ConTeXt can't find a font, it should complain about *that* font missing.
hey, as an italian you should install latin modern ...
I also tried Otared's suggestion. Same thing. Regardless of what's in the document, ConTeXt *still* tries loading Latin Modern. Why?
the palatino typescript is a combination of fonts, for instance the monospaced is taken from latin modern we need a fall back font in tex, and now that's latin modern; once it;s wide spread we can start doing some more cleanup also ... you being a mathematician ... in a few years you have to update to the new latin modern math too -) 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 -----------------------------------------------------------------
Hi,
By no reason I should *need* Latin Modern. I want to use Palatino, not Latin Modern. If ConTeXt can't find a font, it should complain about *that* font missing.
Context behaves precisely like before: it loads the fallback family at \everyjob. It absolutely has to, because otherwise plain compatibility wouldn't work (when typesetting is done without or before \starttext) This one-liner: $ pdfetex \&cont-en \\bye also loads ec-cmr12, as well as some latin moderns, and the whole set of cmr math fonts. The only reason why people notice now is that they do not have lmr12 while everybody had cmr12. Taco
Wednesday, July 6, 2005 Taco Hoekwater wrote:
By no reason I should *need* Latin Modern. I want to use Palatino, not Latin Modern. If ConTeXt can't find a font, it should complain about *that* font missing.
Context behaves precisely like before: it loads the fallback family at \everyjob. It absolutely has to, because otherwise plain compatibility wouldn't work (when typesetting is done without or before \starttext)
This one-liner:
$ pdfetex \&cont-en \\bye
also loads ec-cmr12, as well as some latin moderns, and the whole set of cmr math fonts.
The only reason why people notice now is that they do not have lmr12 while everybody had cmr12.
The fallback being a fallback, it should be something that everybody has for sure. So it should stay cmr12. This, at least, is MNHO. Is there a way to set the fall-back font? (In cont-usr or something) -- Giuseppe "Oblomov" Bilotta
Giuseppe Bilotta wrote:
The fallback being a fallback, it should be something that everybody has for sure. So it should stay cmr12. This, at least, is MNHO.
Is there a way to set the fall-back font? (In cont-usr or something)
actually, lmr will be in all distributions, if it isn't already; it will replace cmr (at least the non math part) [either or not by map file entries]; the reason why i push it a bit is (1) it needs testing and (2) well, i want to push usage, and (3) it is simply a better solution esp with accented characters. So, even if you use cmr12, it will be mapped onto lmr12 (either in (con)tex(t) or by means of a map file); don't worry, it is compatible; (although there may be future variants that have improvements) 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 -----------------------------------------------------------------
Wednesday, July 6, 2005 Hans Hagen wrote:
Giuseppe Bilotta wrote:
The fallback being a fallback, it should be something that everybody has for sure. So it should stay cmr12. This, at least, is MNHO.
Is there a way to set the fall-back font? (In cont-usr or something)
actually, lmr will be in all distributions, if it isn't already; it will replace cmr (at least the non math part) [either or not by map file entries]; the reason why i push it a bit is (1) it needs testing and (2) well, i want to push usage, and (3) it is simply a better solution esp with accented characters.
So, even if you use cmr12, it will be mapped onto lmr12 (either in (con)tex(t) or by means of a map file); don't worry, it is compatible; (although there may be future variants that have improvements)
Yes, but my point is that I *don't* use cmr (at least not in this document), so I see no reason why ConTeXt shoud load lmr :) So, how do I set my preferred fall-back font? BTW, does ConTeXt support the pazo family of fonts? http://www.ctan.org/tex-archive/help/Catalogue/entries/mathpazo.html -- Giuseppe "Oblomov" Bilotta
While making modules.pdf $>texmfstart texexec --pdf --modu font-chi fails with font-chi.log:! Font \unicodefont=gbsongcd at 10.0pt not loadable: Metric (TFM) file not found I have $>ls ./texmf-local/fonts/tfm/chinese b5kai/ b5kaii/ b5song/ b5songi/ gbkai/ gbkaii/ gbsong/ gbsongi/ $>ls ./texmf-local/fonts/tfm/chinese/gbsong/ gbsong01.tfm ..to.. gbsong89.tfm with some holes in between. Apparently I have loose some tfm. Any ideas ? luigi
luigi.scarso schrieb:
While making modules.pdf
$>texmfstart texexec --pdf --modu font-chi
fails with font-chi.log:! Font \unicodefont=gbsongcd at 10.0pt not loadable: Metric (TFM) file not found
I have $>ls ./texmf-local/fonts/tfm/chinese b5kai/ b5kaii/ b5song/ b5songi/ gbkai/ gbkaii/ gbsong/ gbsongi/
$>ls ./texmf-local/fonts/tfm/chinese/gbsong/ gbsong01.tfm ..to.. gbsong89.tfm with some holes in between.
I think, you have CJK fonts, but you need GBK fonts. (see attachment) Lutz
Apparently I have loose some tfm. Any ideas ?
luigi _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
luigi.scarso schrieb:
While making modules.pdf
$>texmfstart texexec --pdf --modu font-chi
fails with font-chi.log:! Font \unicodefont=gbsongcd at 10.0pt not loadable: Metric (TFM) file not found
I have $>ls ./texmf-local/fonts/tfm/chinese b5kai/ b5kaii/ b5song/ b5songi/ gbkai/ gbkaii/ gbsong/ gbsongi/
$>ls ./texmf-local/fonts/tfm/chinese/gbsong/ gbsong01.tfm ..to.. gbsong89.tfm with some holes in between.
I think, you have CJK fonts, but you need GBK fonts. I send them off list. Lutz
Apparently I have loose some tfm. Any ideas ?
luigi _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Giuseppe Bilotta wrote:
Yes, but my point is that I *don't* use cmr (at least not in this document), so I see no reason why ConTeXt shoud load lmr :)
as taco explained in a previous mail, we *do* need a fall back font, just in case somewhere later in the process of course we can start being restrictive like demanding that styles have an explicit order of definitions and such (no box building before such and so) but then we end up in a real messy situation
So, how do I set my preferred fall-back font?
i guess in cont-en.tex and such
BTW, does ConTeXt support the pazo family of fonts?
never tried them ... question for adam -) 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 -----------------------------------------------------------------
Hans Hagen said this at Thu, 7 Jul 2005 15:39:23 +0200:
BTW, does ConTeXt support the pazo family of fonts?
never tried them ... question for adam -)
Me neither, but they look to be of good quality, but of lesser glyph coverage (lacking AMS symbols) than the PX fonts. That said, the basic three fonts are 99.8% glyph compatible with the existing PX support. So here's really really _cheap_ support (no bold yet): % add these two typescripts to your environment % before calling palatino math: \starttypescript[map][palatino][all] \loadmapfile[pazo] \stoptypescript \starttypescript[math][palatino][default] \definefontsynonym[pxmi][zplmr7m] \definefontsynonym[pxr][zplmr7t] \definefontsynonym[pxex][zplmr7v] \definefontsynonym[pxsy][zplmr7y] \stoptypescript % then call your palatino family: \usetypescript[adobekb][ec] \usetypescript[palatino][ec] \setupbodyfont[palatino] % and run it thru some tests: \starttext \input knuth \startformula \theta\over\xi = {\os 2}\varphi \stopformula \startformula \sqrt{\sqrt{\sqrt{\sqrt{1\over{a+b}}}}} \stopformula \showmathcharacters \stoptext -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Thursday, July 7, 2005 Adam Lindsay wrote:
Me neither, but they look to be of good quality, but of lesser glyph coverage (lacking AMS symbols) than the PX fonts. That said, the basic three fonts are 99.8% glyph compatible with the existing PX support.
So ConTeXt uses the PX family for math support when Palatino is in use? -- Giuseppe "Oblomov" Bilotta
Giuseppe Bilotta wrote:
Thursday, July 7, 2005 Adam Lindsay wrote:
Me neither, but they look to be of good quality, but of lesser glyph coverage (lacking AMS symbols) than the PX fonts. That said, the basic three fonts are 99.8% glyph compatible with the existing PX support.
So ConTeXt uses the PX family for math support when Palatino is in use?
yes, and tx when times is chosen 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 -----------------------------------------------------------------
Giuseppe Bilotta said this at Fri, 8 Jul 2005 10:11:01 +0200:
Thursday, July 7, 2005 Adam Lindsay wrote:
Me neither, but they look to be of good quality, but of lesser glyph coverage (lacking AMS symbols) than the PX fonts. That said, the basic three fonts are 99.8% glyph compatible with the existing PX support.
So ConTeXt uses the PX family for math support when Palatino is in use?
That's my understanding of it, yes. Reading more about it yesterday, that does indeed sound non-optimal. Can you say what the requirements would be for improving Palatino math support would be? (And have you tried my little typescript hack?) For those trying to follow along: Young Ryu's pxmath: * Current ConTeXt choice + Complete AMS glyph coverage - Some spacing bugs - No longer supported, and deprecated in LaTeX world Diego Puga's mathpazo: * LaTeX's preferred choice (of free fonts) + heavily tested spacing - only 'basic' math support I think some sort of hybrid is possible. Without relying on virtual fonts, it would be necessary to make a choice between the two blackboard options. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Friday, July 8, 2005 Adam Lindsay wrote:
Giuseppe Bilotta said this at Fri, 8 Jul 2005 10:11:01 +0200:
Thursday, July 7, 2005 Adam Lindsay wrote:
Me neither, but they look to be of good quality, but of lesser glyph coverage (lacking AMS symbols) than the PX fonts. That said, the basic three fonts are 99.8% glyph compatible with the existing PX support.
So ConTeXt uses the PX family for math support when Palatino is in use?
That's my understanding of it, yes. Reading more about it yesterday, that does indeed sound non-optimal.
Can you say what the requirements would be for improving Palatino math support would be?
Well, all things considered I would say that augmenting the mathpazo collection would be the best thing.
(And have you tried my little typescript hack?)
Yes. It works perfectly, thanks :)
For those trying to follow along:
Young Ryu's pxmath: * Current ConTeXt choice + Complete AMS glyph coverage - Some spacing bugs - No longer supported, and deprecated in LaTeX world
Diego Puga's mathpazo: * LaTeX's preferred choice (of free fonts) + heavily tested spacing - only 'basic' math support
I think some sort of hybrid is possible. Without relying on virtual fonts, it would be necessary to make a choice between the two blackboard options.
Is it possible to set mathpazo as the default math font for Palatino, and setting px as the fallback? -- Giuseppe "Oblomov" Bilotta
Giuseppe Bilotta wrote:
Is it possible to set mathpazo as the default math font for Palatino, and setting px as the fallback?
that would break many of my files the best thing to do is (given that this pazzo stuff is complete) \starttypescript[pazzo][... ..... \stoptypescript For that to work i need - the proper defs (probably adam will provide them) - a list of font files needed (in order to test them) 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 -----------------------------------------------------------------
Giuseppe Bilotta said this at Fri, 8 Jul 2005 13:39:22 +0200:
Is it possible to set mathpazo as the default math font for Palatino, and setting px as the fallback?
Interesting. My first thought (and this probably can apply to your other issue within this thread) was to probe for tfm files with something like: \doiffile{zplmr7t.tfm} ...but that doesn't work. Does anyone know how you can look for non-.tex files from within ConTeXt? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adam Lindsay wrote:
My first thought (and this probably can apply to your other issue within this thread) was to probe for tfm files with something like:
\doiffile{zplmr7t.tfm}
...but that doesn't work. Does anyone know how you can look for non-.tex files from within ConTeXt?
you probably need to add the font paths you your tex input paths 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 -----------------------------------------------------------------
Hans Hagen said this at Fri, 8 Jul 2005 15:14:29 +0200:
...but that doesn't work. Does anyone know how you can look for non-.tex files from within ConTeXt?
you probably need to add the font paths you your tex input paths
Hmm. That doesn't make for a satisfying general solution, then. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Or you could do something like this: \def\doiffontelse#1#2#3{% \batchmode \font\klutch=#1 \errorstopmode \ifdim \the\fontdimen5\klutch < 1pt #3\else #2\fi \let\klutch\relax } \doiffontelse{ec-lmr10} {\message{Up-to-date}} {\message{Please install lmr}} It gives an ugly error in the log file if the font is not found, but that is a only a minor inconvenience. Greetings,Taco Hans Hagen wrote:
Adam Lindsay wrote:
My first thought (and this probably can apply to your other issue within this thread) was to probe for tfm files with something like:
\doiffile{zplmr7t.tfm}
...but that doesn't work. Does anyone know how you can look for non-.tex files from within ConTeXt?
you probably need to add the font paths you your tex input paths
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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Taco Hoekwater wrote:
Or you could do something like this:
\def\doiffontelse#1#2#3{% \batchmode \font\klutch=#1 \errorstopmode \ifdim \the\fontdimen5\klutch < 1pt #3\else #2\fi \let\klutch\relax }
\doiffontelse{ec-lmr10} {\message{Up-to-date}} {\message{Please install lmr}}
It gives an ugly error in the log file if the font is not found, but that is a only a minor inconvenience.
I remember that long ago taco and i had some discussion about testing stuff in font-ini, here is a residu, still in font-ini.tex: %D Some unused left||overs: %D %D \starttyping %D \def\doiffontpresentelse#1#2#3% %D {\bgroup %D \batchmode\font\dummy=\truefontname{#1}\errorstopmode %D \edef\lastfontname{\fontname\dummy}% %D \ifx\lastfontname\nullfontname\egroup#3\else\egroup#2\fi} %D %D \def\abortiffontnotfound#1% %D {\doiffontpresentelse{#1}{}{\showmessage\m!fonts{10}{\truefontname{#1}}\endinput}} %D \stoptyping a more modern definition is: \def\doiffontpresentelse#1% {\bgroup \batchmode\font\dummy=\truefontname{#1}\errorstopmode \edef\lastfontname{\fontname\dummy}% \ifx\lastfontname\nullfontname \egroup\expandafter\secondoftwoarguments \else \egroup\expandafter\firstoftwoarguments \fi} and more etex is: \def\doiffontpresentelse#1% {\bgroup \scratchcounter\interactionmode \batchmode \font\dummy=\truefontname{#1}\relax \interactionmode\scratchcounter \edef\lastfontname{\fontname\dummy}% \ifx\lastfontname\nullfontname \egroup\expandafter\secondoftwoarguments \else \egroup\expandafter\firstoftwoarguments \fi} thsi works ok with: \doiffontpresentelse{texnansi-lmr10}{YES}{NO} \doiffontpresentelse{adam-lindsay-modern-serif}{YES}{NO} i'll add them (again) 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 -----------------------------------------------------------------
Wednesday, July 6, 2005 Giuseppe Bilotta wrote:
I just upgraded my MiKTeX and ConTeXt, and I found out that ConTeXt tries to load Latin Modern regardless of my choice. Example document:
""" \setupbodyfont[ppl,rm,12pt]%
\starttext Hello, world! \stoptext """
Discarding my \setupbodyfont, ConTeXt tries to load ec-lmr12.
Suggestions?
Ok, in the end my solution was to \let\preloadfonts\relax in my cont-loc. -- Giuseppe "Oblomov" Bilotta
participants (8)
-
Adam Lindsay
-
Frank Grieshaber
-
Giuseppe Bilotta
-
Hans Hagen
-
luigi.scarso
-
Lutz Haseloff
-
Otared Kavian
-
Taco Hoekwater