Re: [NTG-context] font problems
Hans, thanks you for the solution to my font problem. I appreciate it. I'm trying to understand the definefont command you used and it seems that the arguments 'sa 1' in the macro is a size indication somewhat similar to 'at 10pt' but uses a relative size parameter as opposed to the absolute pt value. That the numeric argument after 'sa' is a multiple of the current font size. Thank you - Hans Hagen via ntg-context wrote: > On 11/26/2021 12:59 PM, jdh via ntg-context wrote: > > Here's my MWE: > > Objective is to typeset a Chancery font text in the upper lefthand > > side of a page, and > > then do the main body in some normal font. Then at the very last > > print a sign off in > > Chancery. For some reason I can't get both to print out as > > Chancery. Only one or the > > other, but not both. > > > > > > \definefontfamily [mwetest] [sans] [Liberation Sans] > > \setupbodyfont [mwe,ss,12pt] > > \definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in, > > voffset=.125in] > > \setlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery > > Font Here } > > \setupbackgrounds[page][background=mwe] > > > > \starttext > > Normal font text goes here. \blank[4*big] > > { \switchtobodyfont[chancery] This should be Chancery here to. > > But isn't. } > > \blank[2*big]Note that if I comment out the \type{setlayer[mwe]} in > > the source file, then the above will print in Chancery. > > \stoptext > > > > > > I'd like to have the layers in Chancery font and then one last text string > > in the body in Chancery font. But I can't get them both to be Chancery. > > How can that be done? > chancery is not really a full bodyfont > > \definefont[MyChancery][texgyrechorus-mediumitalic*default sa 1] > \definefont[MyChanceryBold][texgyrechorus-mediumitalic*default,boldened-20 > sa 1] > > {\MyChancery test} > {\MyChanceryBold test} > > > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] font problems
On 11/26/2021 12:59 PM, jdh via ntg-context wrote: Here's my MWE: Objective is to typeset a Chancery font text in the upper lefthand side of a page, and then do the main body in some normal font. Then at the very last print a sign off in Chancery. For some reason I can't get both to print out as Chancery. Only one or the other, but not both. \definefontfamily [mwetest] [sans] [Liberation Sans] \setupbodyfont [mwe,ss,12pt] \definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in, voffset=.125in] \setlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery Font Here } \setupbackgrounds[page][background=mwe] \starttext Normal font text goes here. \blank[4*big] { \switchtobodyfont[chancery] This should be Chancery here to. But isn't. } \blank[2*big]Note that if I comment out the \type{setlayer[mwe]} in the source file, then the above will print in Chancery. \stoptext I'd like to have the layers in Chancery font and then one last text string in the body in Chancery font. But I can't get them both to be Chancery. How can that be done? chancery is not really a full bodyfont \definefont[MyChancery][texgyrechorus-mediumitalic*default sa 1] \definefont[MyChanceryBold][texgyrechorus-mediumitalic*default,boldened-20 sa 1] {\MyChancery test} {\MyChanceryBold test} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] font problems
Here's my MWE: Objective is to typeset a Chancery font text in the upper lefthand side of a page, and then do the main body in some normal font. Then at the very last print a sign off in Chancery. For some reason I can't get both to print out as Chancery. Only one or the other, but not both. \definefontfamily [mwetest] [sans] [Liberation Sans] \setupbodyfont [mwe,ss,12pt] \definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in, voffset=.125in] \setlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery Font Here } \setupbackgrounds[page][background=mwe] \starttext Normal font text goes here. \blank[4*big] { \switchtobodyfont[chancery] This should be Chancery here to. But isn't. } \blank[2*big]Note that if I comment out the \type{setlayer[mwe]} in the source file, then the above will print in Chancery. \stoptext I'd like to have the layers in Chancery font and then one last text string in the body in Chancery font. But I can't get them both to be Chancery. How can that be done? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems.
On 05/02/2015 04:19 PM, John Culleton wrote: > On the same source file Texlive 2004, context Hi John, sorry, but I wonder whether you meant TeX Live 2014. > (mkiv) can find files that a more recent stand > alone version of context can't. Font files, I guess. > I need to set something somewhere so that the stand alone version can > find files in /usr/share/fonts/OTF. > > I call the stand alone version from a script > called "Context" in /usr/local/bin: > > . /home/safe/context/tex/setuptex > context $1 > - > /home/safe is my home directory. Stand alone > context is in /home/safe/context. It is dated Jan > 27 2015. Add after the last line in /home/safe/context/tex/setuptex: export OSFONTDIR="/usr/share/fonts/OTF//"" I would personally add: export OSFONTDIR="/usr/share/fonts//"" So you will be able to use other fonts than OpenType. Then reload the font cache by running: . /home/safe/context/tex/setuptex mtxrun --script fonts --reload I hope it helps, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Font problems.
On the same source file Texlive 2004 context (mkiv) can find files that a more recent stand alone version of context can't. I need to set something somewhere so that the stand alone version can find files in /usr/share/fonts/OTF. I call the stand alone version from a script called "Context" in /usr/local/bin: . /home/safe/context/tex/setuptex context $1 - /home/safe is my home directory. Stand alone context is in /home/safe/context. It is dated Jan 27 2015. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Updated PDF e-book: "Create Book Covers with Scribus 1.4.5" coming soon at http://www.booklocker.com/! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems
Salaam Huseyin, If you have not done so already, you can also try the Quran fonts listed at the bottom of this page: http://al-quran.info/page/about Scheherazade you are already familiar with. I have not done much testing of the others but they are all OT I believe. Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems
Salaam, Huseyn, On Fri, 31 May 2013 07:24:20 -0600, H. Özoguz wrote: With the font file "maddina.ttf" I have the same problems. But this font is clearly not broken, you can download it here: http://www.searchfreefonts.com/free/quran-madina.htm (or see attachment of this mail). But is the problem here? It's not an opentype font. It's not even a unicode font; it uses an ASCII encoding. Just type in 'abcdefg' in the preview on the website and you get arabic letters. The font was made in 1994 and depends on whatever software it was made for at the time. Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems
On Fri, May 31, 2013 at 01:52:22PM +0200, "H. Özoguz" wrote: > Hi there, > > I cant run the font "ramnaclq-webfont.ttf" (see attachment) in Context. That is a broken, a so called “ASCII hack” font that (ab)uses ASCII code points for Arabic. In short it is a broken font and will not work. Regards, Khaled ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
On Aug 14, 2008, at 10:48 AM, Hans Hagen wrote: > the order is just one factor. what actually happens is that there is a > compensation for buggy font names (as happens often in afm files) so > in > practice one entry might become three entries; taco noticed that one > of > the fallbacks create this way will then obscure a following one > > in your case it might be order on disk (although the current > mechanisms > do some sorting) but on our machines more likely is that a bugged afm > font obscures later otf's (with similar names) > > anyhow, we'll cook up a patch > > Hans Very funny - I was following this thread with interest, yet had never encountered this problem. This morning, I played around with the minimals on my linux eeepc (had always used TeXLive, but saving some space seemed like a good idea) and got exactly the same problem: instead of bold, I get bold italic. If I typeset the same file with my TeXLive installation, I get proper bold. So Vasile is on to something here... Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
Vasile Gaburici wrote: > If you still haven't figured out how to reproduce it, apply the > patched I've attached. It will force the hash entries to be added in > sorted order. With the patch applied, if you have some fonts called > > Calibri Bold Italic.otf > Calibri Bold.otf > Calibri Italic.otf > Calibri.otf > > the order of hash insertions will always exactly as above, regardless > of disk order, e.g.: > > filename | 49 -> /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf > filename | 50 -> /usr/share/fonts/vista/C-series/Calibri Bold.otf > filename | 51 -> /usr/share/fonts/vista/C-series/Calibri Italic.otf > filename | 52 -> /usr/share/fonts/vista/C-series/Calibri.otf > > So, you'll get bold italic instead of bold in the PDF. the order is just one factor. what actually happens is that there is a compensation for buggy font names (as happens often in afm files) so in practice one entry might become three entries; taco noticed that one of the fallbacks create this way will then obscure a following one in your case it might be order on disk (although the current mechanisms do some sorting) but on our machines more likely is that a bugged afm font obscures later otf's (with similar names) anyhow, we'll cook up a patch 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
Vasile Gaburici wrote: > > Feel free to fiddle with the sort function if you name fonts > differently, but you need to make sure that bold italic gets loaded > before bold for the bug to occur. Ok, bug found and squashed. Patch is below >> Okay, I've updated to the latest beta. Recursive OSFONTDIR works now >> for "script --fonts --reload" and for "context", but "script --fonts >> --list" is broken: no output. Hans changed the commandline so that "nothing" is no longer the same as "*". This works: $ mtxrun script --fonts --list \* Best wishes, Taco --- font-syn.lua.old2008-08-13 14:47:44.0 +0200 +++ font-syn.lua2008-08-14 10:25:13.631806083 +0200 @@ -133,7 +133,8 @@ fontname = fontname or result.fontname add(result.fontname, fontname, filename, suffix, is_sub) end -if result.familyname and result.weight then +if result.familyname and result.weight and + result.italicangle == 0 then local madename = result.familyname .. " " .. result.weight fontname = fontname or madename add(madename, fontname, filename, suffix, is_sub) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
If you still haven't figured out how to reproduce it, apply the patched I've attached. It will force the hash entries to be added in sorted order. With the patch applied, if you have some fonts called Calibri Bold Italic.otf Calibri Bold.otf Calibri Italic.otf Calibri.otf the order of hash insertions will always exactly as above, regardless of disk order, e.g.: filename | 49 -> /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf filename | 50 -> /usr/share/fonts/vista/C-series/Calibri Bold.otf filename | 51 -> /usr/share/fonts/vista/C-series/Calibri Italic.otf filename | 52 -> /usr/share/fonts/vista/C-series/Calibri.otf So, you'll get bold italic instead of bold in the PDF. Feel free to fiddle with the sort function if you name fonts differently, but you need to make sure that bold italic gets loaded before bold for the bug to occur. On Thu, Aug 14, 2008 at 7:33 AM, Vasile Gaburici <[EMAIL PROTECTED]> wrote: > On Wed, Aug 13, 2008 at 8:00 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote: >> Vasile Gaburici wrote: >>> >>> Before I get anymore strawman arguments, here's the definitive experiment: >> >> As Hans said, should be corrected in the latest beta. Please cut us some >> slack here, debugging unreproducible problems is hard and timeconsuming. > > Okay, I've updated to the latest beta. Recursive OSFONTDIR works now > for "script --fonts --reload" and for "context", but "script --fonts > --list" is broken: no output. > > The other bug, i.e. embedding bold italic instead of bold for some > fonts, is still present. > diff -up context/tex/texmf-context/tex/context/base/font-syn.lua.nosort context/tex/texmf-context/tex/context/base/font-syn.lua --- context/tex/texmf-context/tex/context/base/font-syn.lua.nosort 2008-08-14 07:43:48.0 +0300 +++ context/tex/texmf-context/tex/context/base/font-syn.lua 2008-08-14 08:46:28.0 +0300 @@ -193,8 +193,12 @@ function fonts.names.identify(verbose) local pattern = path .. "**." .. suffix -- ** forces recurse logs.report("fontnames", "globbing path %s",pattern) local t = dir.glob(pattern) -for _, name in pairs(t) do -- ipairs +table.sort(t, function (str1, str2) + return str1 < str2 + end) +for huh, name in pairs(t) do -- ipairs -- if lfs.isfile(name) then -- always true anyway +logs.report("filename", "%d -> %s", huh, name) identify(name,file.basename(name),suffix) -- end end ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
On Wed, Aug 13, 2008 at 8:00 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > Vasile Gaburici wrote: >> >> Before I get anymore strawman arguments, here's the definitive experiment: > > As Hans said, should be corrected in the latest beta. Please cut us some > slack here, debugging unreproducible problems is hard and timeconsuming. Okay, I've updated to the latest beta. Recursive OSFONTDIR works now for "script --fonts --reload" and for "context", but "script --fonts --list" is broken: no output. The other bug, i.e. embedding bold italic instead of bold for some fonts, is still present. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
Vasile Gaburici wrote: > Before I get anymore strawman arguments, here's the definitive experiment: As Hans said, should be corrected in the latest beta. Please cut us some slack here, debugging unreproducible problems is hard and timeconsuming. > > BTW, the Lua 5.1 "reference" manual is a joke. > How do you printf a boolean? This is indeed not in the manual, but lua behaves like most other languages with boolean types: the boolean prints the string "true" or "false" in a string (=debugging) context. You can force conversion to string by calling tostring() on it. > What's the syntax for their definitely non-standard regexps. > No answers in that "reference". Section 5.4.1 Patterns Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
Vasile Gaburici wrote: > Before I get anymore strawman arguments, here's the definitive experiment: > > $ ls -U1 /usr/share/fonts/vista/ | grep erda > Verdanai.ttf > Verdana.ttf > Verdanaz.ttf > Verdanab.ttf > > $ ls -U1 /xp/wtf/ > Verdana.ttf > Verdanab.ttf > Verdanai.ttf > Verdanaz.ttf did you test the latest beta (this afternoon version?) > XeTeX solves this problem by using *only* the ID 16 and ID 17 OpenType > values to create a unique name for system fonts. I actually filed a > bug about lack of support for the common ID 1/2 names, but Johnathan > WONTFIXED it because he really wants the font names to be unambiguous, > and using ID 1 and ID 2 values in addition to ID 16/17 doesn't > guarantee that. Your situation is worse, because you want to support > all sort of legacy fonts in that single hashtable. part of the problem was that the mtx-font lookup (shown by list) differed from the one used in practice (in tex); this is now harmonized (and seems to be ok on taco's and my machine) > Anyway, I've wasted enough of my time on this matter. If you sill > don't grok it, forget about it. you don't want to know how much time we spent on fonts so far -) > BTW, the Lua 5.1 "reference" manual is a joke. How do you printf a > boolean? What's the syntax for their definitely non-standard regexps. they are not regexps but just expressions; being a lightweight language lua does not have regexp (as the manual states: it would add more code than lua itself; however, there is lpeg (also in luatex) which is not only more poweeful than regexp but also is efficient wrt the implementation 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
Before I get anymore strawman arguments, here's the definitive experiment: $ ls -U1 /usr/share/fonts/vista/ | grep erda Verdanai.ttf Verdana.ttf Verdanaz.ttf Verdanab.ttf $ ls -U1 /xp/wtf/ Verdana.ttf Verdanab.ttf Verdanai.ttf Verdanaz.ttf Notice that the directory order is different, bold comes before bold italic in wtf. I actually had to copy the files to a non-ext3 partition (NTFS actually) to get the order to change. Why? Because with ext3 htree you have *no* control over the order in which the directory is "laid out", because it's not a linear list anymore. So, guess what happens if I do: $ export OSFONTDIR=/xp/wtf/ $ mtxrun --script fonts --reload $ mtxrun --script fonts --list | grep erda verdana Verdana /xp/wtf/Verdana.ttf verdana bold Verdana Bold /xp/wtf/Verdanab.ttf verdana bold italic Verdana Bold Italic /xp/wtf/Verdanaz.ttf verdana italicVerdana Italic /xp/wtf/Verdanai.ttf $ context taco.tex | grep Verdana ) and the correct bold font is loaded in the PDF. If you still think somehow that this is a problem with Verdana, look carefully at this list of DejaVu fonts. Some get the bold, and for some it's missing. It's haphazard depending on the disk order: $ mtxrun --script fonts --list | grep eja dejavu lgc sans DejaVu LGC Sans /usr/share/fonts/dejavu/DejaVuLGCSans.ttf dejavu lgc sans bold obliqueDejaVu LGC Sans Bold Oblique /usr/share/fonts/dejavu/DejaVuLGCSans-BoldOblique.ttf dejavu lgc sans condensed DejaVu LGC Sans Condensed /usr/share/fonts/dejavu/DejaVuLGCSansCondensed.ttf dejavu lgc sans condensed bold oblique DejaVu LGC Sans Condensed Bold Oblique /usr/share/fonts/dejavu/DejaVuLGCSansCondensed-BoldOblique.ttf dejavu lgc sans condensed oblique DejaVu LGC Sans Condensed Oblique /usr/share/fonts/dejavu/DejaVuLGCSansCondensed-Oblique.ttf dejavu lgc sans extralight DejaVu LGC Sans ExtraLight /usr/share/fonts/dejavu/DejaVuLGCSans-ExtraLight.ttf dejavu lgc sans monoDejaVu LGC Sans Mono /usr/share/fonts/dejavu/DejaVuLGCSansMono.ttf dejavu lgc sans mono bold DejaVu LGC Sans Mono Bold /usr/share/fonts/dejavu/DejaVuLGCSansMono-Bold.ttf dejavu lgc sans mono bold oblique DejaVu LGC Sans Mono Bold Oblique /usr/share/fonts/dejavu/DejaVuLGCSansMono-BoldOblique.ttf dejavu lgc sans mono obliqueDejaVu LGC Sans Mono Oblique /usr/share/fonts/dejavu/DejaVuLGCSansMono-Oblique.ttf dejavu lgc sans oblique DejaVu LGC Sans Oblique /usr/share/fonts/dejavu/DejaVuLGCSans-Oblique.ttf dejavu lgc serifDejaVu LGC Serif /usr/share/fonts/dejavu/DejaVuLGCSerif.ttf dejavu lgc serif bold italicDejaVu LGC Serif Bold Italic /usr/share/fonts/dejavu/DejaVuLGCSerif-BoldItalic.ttf dejavu lgc serif condensed DejaVu LGC Serif Condensed /usr/share/fonts/dejavu/DejaVuLGCSerifCondensed.ttf dejavu lgc serif condensed bold DejaVu LGC Serif Condensed Bold /usr/share/fonts/dejavu/DejaVuLGCSerifCondensed-Bold.ttf dejavu lgc serif condensed bold italic DejaVu LGC Serif Condensed Bold Italic /usr/share/fonts/dejavu/DejaVuLGCSerifCondensed-BoldItalic.ttf dejavu lgc serif italic DejaVu LGC Serif Italic /usr/share/fonts/dejavu/DejaVuLGCSerif-Italic.ttf dejavu lgc serif italic condensed DejaVu LGC Serif Italic Condensed /usr/share/fonts/dejavu/DejaVuLGCSerifCondensed-Italic.ttf dejavu sans DejaVu Sans /usr/share/fonts/dejavu/DejaVuSans.ttf dejavu sans boldDejaVu Sans Bold /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf dejavu sans bold obliqueDejaVu Sans Bold Oblique /usr/share/fonts/dejavu/DejaVuSans-BoldOblique.ttf dejavu sans condensed DejaVu Sans Condensed /usr/share/fonts/dejavu/DejaVuSansCondensed.ttf dejavu sans condensed bold DejaVu Sans Condensed Bold /usr/share/fonts/dejavu/DejaVuSansCondensed-Bold.ttf dejavu sans condensed bold oblique DejaVu Sans Condensed Bold Oblique /usr/share/fonts/dejavu/DejaVuSansCondensed-BoldOblique.ttf dejavu sans condensed oblique DejaVu Sans Condensed Oblique /usr/share/fonts/dejavu/DejaVuSansCondensed-Oblique.ttf dejavu sans extralight DejaVu Sans ExtraLight /usr/share/fonts/dejavu/DejaVuSans-ExtraLight.ttf dejavu sans monoDejaVu Sans Mono /usr/share/fonts/dejavu/DejaVuSansMono.ttf dejavu sans mono bold DejaVu Sans Mono Bold /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf dejavu sans mono bold oblique DejaVu Sans Mono Bold Oblique /usr/share/fonts/dejavu/DejaVuSansMono-BoldOblique.ttf dejavu sans mono oblique
Re: [NTG-context] Font problems with latest minimals on Linux
On Wed, Aug 13, 2008 at 1:47 PM, Vasile Gaburici <[EMAIL PROTECTED]> wrote: > On Wed, Aug 13, 2008 at 2:20 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: >> Vasile Gaburici wrote: >>> >>> As for the missing bold, it seems there's a bug in the naming scheme: >>> Ii the bold italic file gets read from the disk before the bold, then >>> you don't get the right entries. It so happens that most of the fonts >>> in that dir had bold before bold italic, e.g. >>> >>> fontnames | identifying ttf font /usr/share/fonts/vista/Verdanai.ttf >>> fontnames | identifying ttf font /usr/share/fonts/vista/Verdana.ttf >>> fontnames | identifying ttf font /usr/share/fonts/vista/Verdanaz.ttf >>> fontnames | identifying ttf font /usr/share/fonts/vista/Verdanab.ttf >>> >>> fontnames | identifying otf font >>> /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf >>> fontnames | identifying otf font >>> /usr/share/fonts/vista/C-series/Calibri.otf >>> fontnames | identifying otf font >>> /usr/share/fonts/vista/C-series/Calibri Italic.otf >>> fontnames | identifying otf font >>> /usr/share/fonts/vista/C-series/Calibri Bold.otf >>> >>> So, I've added some extra code (patch attached) to print the names it >>> adds to the hash. As you can see there is a clash: both bold italic >>> and bold want to "own" bold... >> >> how do you define the font; don't use spaces! > > ??? If your're complaining that Calibri has spaces in the file name, > it's a non-issue here. Verdana has the same "bold not listed" problem, > even though there are no spaces in the file name... Where do you got the vista fonts, i know them only in TrueType format and more verbose names. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
Vasile Gaburici wrote: > I've switched to the rsync-ed minimals on Linux. There are still some > problems with fonts: > > 1) Bold is still missing from fonts pulled via OSFONTDIR, e.g.: > > verdana Verdana > /usr/share/fonts/vista/Verdana.ttf > verdana bold italic Verdana Bold Italic > /usr/share/fonts/vista/Verdanaz.ttf > verdana italicVerdana Italic > /usr/share/fonts/vista/Verdanai.ttf This may sound silly, but: does it work or not? To be precise, what is the font used by the pdf result (if any) of \starttext \definedfont[name:VerdanaBold] Hello \stoptext Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
On Wed, Aug 13, 2008 at 2:20 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Vasile Gaburici wrote: >> >> As for the missing bold, it seems there's a bug in the naming scheme: >> Ii the bold italic file gets read from the disk before the bold, then >> you don't get the right entries. It so happens that most of the fonts >> in that dir had bold before bold italic, e.g. >> >> fontnames | identifying ttf font /usr/share/fonts/vista/Verdanai.ttf >> fontnames | identifying ttf font /usr/share/fonts/vista/Verdana.ttf >> fontnames | identifying ttf font /usr/share/fonts/vista/Verdanaz.ttf >> fontnames | identifying ttf font /usr/share/fonts/vista/Verdanab.ttf >> >> fontnames | identifying otf font >> /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf >> fontnames | identifying otf font >> /usr/share/fonts/vista/C-series/Calibri.otf >> fontnames | identifying otf font >> /usr/share/fonts/vista/C-series/Calibri Italic.otf >> fontnames | identifying otf font >> /usr/share/fonts/vista/C-series/Calibri Bold.otf >> >> So, I've added some extra code (patch attached) to print the names it >> adds to the hash. As you can see there is a clash: both bold italic >> and bold want to "own" bold... > > how do you define the font; don't use spaces! ??? If your're complaining that Calibri has spaces in the file name, it's a non-issue here. Verdana has the same "bold not listed" problem, even though there are no spaces in the file name... > > - > 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 > - > > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
Vasile Gaburici wrote: > As for the missing bold, it seems there's a bug in the naming scheme: > Ii the bold italic file gets read from the disk before the bold, then > you don't get the right entries. It so happens that most of the fonts > in that dir had bold before bold italic, e.g. > > fontnames | identifying ttf font /usr/share/fonts/vista/Verdanai.ttf > fontnames | identifying ttf font /usr/share/fonts/vista/Verdana.ttf > fontnames | identifying ttf font /usr/share/fonts/vista/Verdanaz.ttf > fontnames | identifying ttf font /usr/share/fonts/vista/Verdanab.ttf > > fontnames | identifying otf font > /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf > fontnames | identifying otf font /usr/share/fonts/vista/C-series/Calibri.otf > fontnames | identifying otf font > /usr/share/fonts/vista/C-series/Calibri Italic.otf > fontnames | identifying otf font > /usr/share/fonts/vista/C-series/Calibri Bold.otf > > So, I've added some extra code (patch attached) to print the names it > adds to the hash. As you can see there is a clash: both bold italic > and bold want to "own" bold... how do you define the font; don't use spaces! - 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
As for the missing bold, it seems there's a bug in the naming scheme: Ii the bold italic file gets read from the disk before the bold, then you don't get the right entries. It so happens that most of the fonts in that dir had bold before bold italic, e.g. fontnames | identifying ttf font /usr/share/fonts/vista/Verdanai.ttf fontnames | identifying ttf font /usr/share/fonts/vista/Verdana.ttf fontnames | identifying ttf font /usr/share/fonts/vista/Verdanaz.ttf fontnames | identifying ttf font /usr/share/fonts/vista/Verdanab.ttf fontnames | identifying otf font /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf fontnames | identifying otf font /usr/share/fonts/vista/C-series/Calibri.otf fontnames | identifying otf font /usr/share/fonts/vista/C-series/Calibri Italic.otf fontnames | identifying otf font /usr/share/fonts/vista/C-series/Calibri Bold.otf So, I've added some extra code (patch attached) to print the names it adds to the hash. As you can see there is a clash: both bold italic and bold want to "own" bold... fontnames | identifying ttf font /usr/share/fonts/vista/Verdanaz.ttf add | verdana bold italic -> {ttf, Verdana Bold Italic, /usr/share/fonts/vista/Verdanaz.ttf, ...} add | verdanabolditalic -> {ttf, Verdana Bold Italic, /usr/share/fonts/vista/Verdanaz.ttf, ...} add | verdana-bolditalic -> {ttf, Verdana Bold Italic, /usr/share/fonts/vista/Verdanaz.ttf, ...} add | verdanabolditalic -> {ttf, Verdana Bold Italic, /usr/share/fonts/vista/Verdanaz.ttf, ...} add | verdana bold -> {ttf, Verdana Bold Italic, /usr/share/fonts/vista/Verdanaz.ttf, ...} add | verdanabold -> {ttf, Verdana Bold Italic, /usr/share/fonts/vista/Verdanaz.ttf, ...} fontnames | identifying ttf font /usr/share/fonts/vista/Verdanab.ttf add | verdana bold -> {ttf, Verdana Bold, /usr/share/fonts/vista/Verdanab.ttf, ...} add | verdanabold -> {ttf, Verdana Bold, /usr/share/fonts/vista/Verdanab.ttf, ...} add | verdana-bold -> {ttf, Verdana Bold, /usr/share/fonts/vista/Verdanab.ttf, ...} add | verdanabold -> {ttf, Verdana Bold, /usr/share/fonts/vista/Verdanab.ttf, ...} add | verdana bold -> {ttf, Verdana Bold, /usr/share/fonts/vista/Verdanab.ttf, ...} add | verdanabold -> {ttf, Verdana Bold, /usr/share/fonts/vista/Verdanab.ttf, ...} fontnames | identifying otf font /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf add | calibri bold italic -> {otf, Calibri Bold Italic, /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf, ...} add | calibribolditalic -> {otf, Calibri Bold Italic, /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf, ...} add | calibri-bolditalic -> {otf, Calibri Bold Italic, /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf, ...} add | calibribolditalic -> {otf, Calibri Bold Italic, /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf, ...} add | calibri bold -> {otf, Calibri Bold Italic, /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf, ...} add | calibribold -> {otf, Calibri Bold Italic, /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf, ...} fontnames | identifying otf font /usr/share/fonts/vista/C-series/Calibri Bold.otf add | calibri bold -> {otf, Calibri Bold, /usr/share/fonts/vista/C-series/Calibri Bold.otf, ...} add | calibribold -> {otf, Calibri Bold, /usr/share/fonts/vista/C-series/Calibri Bold.otf, ...} add | calibri-bold -> {otf, Calibri Bold, /usr/share/fonts/vista/C-series/Calibri Bold.otf, ...} add | calibribold -> {otf, Calibri Bold, /usr/share/fonts/vista/C-series/Calibri Bold.otf, ...} add | calibri bold -> {otf, Calibri Bold, /usr/share/fonts/vista/C-series/Calibri Bold.otf, ...} add | calibribold -> {otf, Calibri Bold, /usr/share/fonts/vista/C-series/Calibri Bold.otf, ...} I don't know how to fix since it's not clear to me what names you actually want... On Wed, Aug 13, 2008 at 10:43 AM, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > > > Vasile Gaburici wrote: >> >> I've switched to the rsync-ed minimals on Linux. There are still some >> problems with fonts: >> >> 1) Bold is still missing from fonts pulled via OSFONTDIR, e.g.: >> >> verdana Verdana >> /usr/share/fonts/vista/Verdana.ttf >> verdana bold italic Verdana Bold Italic >> /usr/share/fonts/vista/Verdanaz.ttf >> verdana italicVerdana Italic >> /usr/share/fonts/vista/Verdanai.ttf > > This works OK for ttf fonts on my linux machine, but I don't > have the ttf version of verdana, so perhaps it is something > special to that font. > >> 2) OSFONTDIR is not recursive. To get the above I used "export >> OSFONTDIR=/usr/share/fonts/vista/", just >> "export OSFONTDIR=/usr/share/fonts/" doesn't work. > > Yes, recursion would be nice. > > Best wishes, > Taco > > diff -up ./font-syn.lua.nobold ./font-syn.lua --- ./font-syn.lua.nobold 2008-08-13 12:24:32.0 +0300 +++ ./font-syn.lua 2008-08-13 12:52:40.0 +0300 @@ -27,7 +27,7 @@ fonts.names.be_clever = true fonts.names.enabled= true fonts.names.autoreload = toboolean(os.env['MTX.FONTS.AUTOLOAD'
Re: [NTG-context] Font problems with latest minimals on Linux
Vasile Gaburici wrote: > On Wed, Aug 13, 2008 at 11:31 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: >>> Yes, recursion would be nice. >> font-syn.lua, line 190: >> >>path = input.clean_path(path .. "/") >>path = path:gsub("/+","/") >> path = path .. "**/" >> >> insert the last line and see what happens (untested because i have a flat >> system path) > > It works. there will be a beta later today; taco and i tested a different patch on win/lin and it looks like it works; you need to regenerate the font database then - 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
On Wed, Aug 13, 2008 at 11:31 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: >> Yes, recursion would be nice. > font-syn.lua, line 190: > >path = input.clean_path(path .. "/") >path = path:gsub("/+","/") > path = path .. "**/" > > insert the last line and see what happens (untested because i have a flat > system path) It works. > > > - > 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 > - > > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
Taco Hoekwater wrote: > > Vasile Gaburici wrote: >> I've switched to the rsync-ed minimals on Linux. There are still some >> problems with fonts: >> >> 1) Bold is still missing from fonts pulled via OSFONTDIR, e.g.: >> >> verdana Verdana >> /usr/share/fonts/vista/Verdana.ttf >> verdana bold italic Verdana Bold Italic >> /usr/share/fonts/vista/Verdanaz.ttf >> verdana italicVerdana Italic >> /usr/share/fonts/vista/Verdanai.ttf > > This works OK for ttf fonts on my linux machine, but I don't > have the ttf version of verdana, so perhaps it is something > special to that font. > >> 2) OSFONTDIR is not recursive. To get the above I used "export >> OSFONTDIR=/usr/share/fonts/vista/", just >> "export OSFONTDIR=/usr/share/fonts/" doesn't work. > > Yes, recursion would be nice. font-syn.lua, line 190: path = input.clean_path(path .. "/") path = path:gsub("/+","/") path = path .. "**/" insert the last line and see what happens (untested because i have a flat system path) - 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems with latest minimals on Linux
Vasile Gaburici wrote: > I've switched to the rsync-ed minimals on Linux. There are still some > problems with fonts: > > 1) Bold is still missing from fonts pulled via OSFONTDIR, e.g.: > > verdana Verdana > /usr/share/fonts/vista/Verdana.ttf > verdana bold italic Verdana Bold Italic > /usr/share/fonts/vista/Verdanaz.ttf > verdana italicVerdana Italic > /usr/share/fonts/vista/Verdanai.ttf This works OK for ttf fonts on my linux machine, but I don't have the ttf version of verdana, so perhaps it is something special to that font. > 2) OSFONTDIR is not recursive. To get the above I used "export > OSFONTDIR=/usr/share/fonts/vista/", just > "export OSFONTDIR=/usr/share/fonts/" doesn't work. Yes, recursion would be nice. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Font problems with latest minimals on Linux
I've switched to the rsync-ed minimals on Linux. There are still some problems with fonts: 1) Bold is still missing from fonts pulled via OSFONTDIR, e.g.: verdana Verdana /usr/share/fonts/vista/Verdana.ttf verdana bold italic Verdana Bold Italic /usr/share/fonts/vista/Verdanaz.ttf verdana italicVerdana Italic /usr/share/fonts/vista/Verdanai.ttf 2) OSFONTDIR is not recursive. To get the above I used "export OSFONTDIR=/usr/share/fonts/vista/", just "export OSFONTDIR=/usr/share/fonts/" doesn't work. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Font problems (Palatino)
Johan Blixt-Dackhammar wrote: > Okay, perhaps it's a font related error. I can't say that I do > understand much of the log, but I saw something saying that there was > an error trying to load a font. Here's the full LOG: > This is quickly becoming a FAQ: > [1.1{/usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original-empt > y.map}{/usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original-ba > se.map > Warning: pdfetex (file > /usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/con > text/original-base.map): invalid entry for `fmvr8x': font file missing > please go to http://archives.contextgarden.net and search "TEXFONTMAPS". Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Font problems (Palatino)
Okay, perhaps it's a font related error. I can't say that I do understand much of the log, but I saw something saying that there was an error trying to load a font. Here's the full LOG: TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 fixing engine variable : pdfetex executable : pdfetex format : cont-en inputfile : Temadag output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) entering extended mode (./Temadag.tex ConTeXt ver: 2006.05.28 13:28 fmt: 2006.6.1 int: english mes: english language: language en is active system : cont-new loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) bodyfont: 12pt rm is loaded language: patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi :texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec- >13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec ->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded specials: tex,postscript,rokicki loaded system : Temadag.top loaded (./Temadag.top specials: loading definition file tpd (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex specials: loading definition file fdf (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex) specials: fdf loaded ) specials: fdf,tpd loaded ) systems : system commands are disabled system : module chart loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/m-chart.tex XML : loading flowchart support ) system : module units loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/m-units.tex check : unit Angstrom replaces a macro, use CAPITALS! ) (/usr/local/teTeX/share/texmf.local/tex/context/base/pdfr-ec.tex) color : system rgb is global activated (./Temadag.tuo) (./Temadag.tuo) (./Temadag.tuo) (./Temadag.tuo) (./Temadag.tuo) (./Temadag.tuo) (./Temadag.tuo) (./Temadag.tuo) (./Temadag.tuo) (./Temadag.tuo) (/usr/local/teTeX/share/texmf.local/tex/context/base/sort-new.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/sort-def.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/sort-lan.tex) (./Temadag.tuo) (./Temadag.tuo) systems : begin file Temadag at line 19 title : - \bf Planering för temadagstävlingar (./Temadag-flw-1.tmp) (./Temadag-flw-1.tmp) (./Temadag-flw-1.tmp) [MP to PDF] (./Temadag-mpgraph.4000) (./Temadag-mpgraph.mpd) (./Temadag-flw-1.tmp) (./Temadag-flw-1.tmp) fonts : resetting map file list fonts : using map file: original-base fonts : using map file: ec-public-lm fonts : using map file: ec-base fonts : using map file: 8r-base fonts : using map file: t5-base fonts : using map file: original-ams-base fonts : using map file: original-ams-euler fonts : using map file: original-public-lm [1.1{/usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original-empt y.map}{/usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original-ba se.map Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/con text/original-base.map): invalid entry for `fmvr8x': font file missing Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/con text/original-base.map): invalid entry for `xycmat11': font file missing Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/con text/original-base.map): invalid entry for `xycmbt11': font file missing Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/dvipd
Re: [NTG-context] Font problems (Palatino)
Johan Blixt-Dackhammar wrote: > I updated ConTeXt to the latest version available in i-Installer and > the error dissapeared. Although, another thing started to mess upp. I > write my documents in UTF-8 and was before upgrading using the > \enableregime[utf] commande which worked perfect. After upgrading > though, I only get blanks instead of special characters. Has the > command changed? > no, utf-8 should work (unless others can confirm your problem) what does the log say? 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
Re: [NTG-context] Font problems (Palatino)
I updated ConTeXt to the latest version available in i-Installer and the error dissapeared. Although, another thing started to mess upp. I write my documents in UTF-8 and was before upgrading using the \enableregime[utf] commande which worked perfect. After upgrading though, I only get blanks instead of special characters. Has the command changed? On 6/1/06, Hans Hagen <[EMAIL PROTECTED]> wrote: > Johan Blixt-Dackhammar wrote: > > Trying that rendered the same result, but thanks anyway... > > > > On 6/1/06, Otared Kavian <[EMAIL PROTECTED]> wrote: > > > >> On 31 mai 2006, at 23:40, Johan Blixt-Dackhammar wrote: > >> > >> > >>> When trying to typeset for example a document using the mag-01 module > >>> I get an error that from what I understand is font related. I'm using > >>> MacOS 10.4.6 (on intel), and I do have the Palatino font. Why do I get > >>> the error and how can the problem be resolved? > >>> > >>> ERROR MESSAGE## > >>> > >> Hi Johan, > >> > >> I think you need something like this: > >> > >> \enableregime[utf] > >> \loadmapfile[context-base] > >> \usetypescript[palatino][ec] > >> \setupbodyfont[palatino,12pt] > >> > >> \starttext > >> > >> Here we are using the font \fontname\font. > >> > >> These are some diacritics: �, �, �, �, �. > >> > >> And these are some ligatures: affliction, affine, first.\par > >> Can you see correctly \type{affliction, affine, first}? > >> $${\rm e}^{{\rm i}\pi} + 1 = 0 = \int_0^{2\pi}\sin(x)dx, > >> \quad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2\over 6}.$$ > >> \input knuth.tex > >> > >> \stoptext > >> > >> I experienced several problems like the ones you mention, but the > >> above works fine for me (Mac OS X 10.4.6, TeX and ConTeXt installed > >> with Gerben Wierda's i-installer). > >> > normally things should work ok when one generates the metrics with texfont > (or installs the font metrtics zip); problems can be anything, from a missing > tfm, to a missing (or differently named type1) or a messed up map file, or an > old pdftex ... > > 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 > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Font problems (Palatino)
Johan Blixt-Dackhammar wrote: > Trying that rendered the same result, but thanks anyway... > > On 6/1/06, Otared Kavian <[EMAIL PROTECTED]> wrote: > >> On 31 mai 2006, at 23:40, Johan Blixt-Dackhammar wrote: >> >> >>> When trying to typeset for example a document using the mag-01 module >>> I get an error that from what I understand is font related. I'm using >>> MacOS 10.4.6 (on intel), and I do have the Palatino font. Why do I get >>> the error and how can the problem be resolved? >>> >>> ERROR MESSAGE## >>> >> Hi Johan, >> >> I think you need something like this: >> >> \enableregime[utf] >> \loadmapfile[context-base] >> \usetypescript[palatino][ec] >> \setupbodyfont[palatino,12pt] >> >> \starttext >> >> Here we are using the font \fontname\font. >> >> These are some diacritics: �, �, �, �, �. >> >> And these are some ligatures: affliction, affine, first.\par >> Can you see correctly \type{affliction, affine, first}? >> $${\rm e}^{{\rm i}\pi} + 1 = 0 = \int_0^{2\pi}\sin(x)dx, >> \quad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2\over 6}.$$ >> \input knuth.tex >> >> \stoptext >> >> I experienced several problems like the ones you mention, but the >> above works fine for me (Mac OS X 10.4.6, TeX and ConTeXt installed >> with Gerben Wierda's i-installer). >> normally things should work ok when one generates the metrics with texfont (or installs the font metrtics zip); problems can be anything, from a missing tfm, to a missing (or differently named type1) or a messed up map file, or an old pdftex ... 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
Re: [NTG-context] Font problems (Palatino)
Trying that rendered the same result, but thanks anyway... On 6/1/06, Otared Kavian <[EMAIL PROTECTED]> wrote: > > On 31 mai 2006, at 23:40, Johan Blixt-Dackhammar wrote: > > > When trying to typeset for example a document using the mag-01 module > > I get an error that from what I understand is font related. I'm using > > MacOS 10.4.6 (on intel), and I do have the Palatino font. Why do I get > > the error and how can the problem be resolved? > > > > ERROR MESSAGE## > > Hi Johan, > > I think you need something like this: > > \enableregime[utf] > \loadmapfile[context-base] > \usetypescript[palatino][ec] > \setupbodyfont[palatino,12pt] > > \starttext > > Here we are using the font \fontname\font. > > These are some diacritics: é, ç, à, ô, î. > > And these are some ligatures: affliction, affine, first.\par > Can you see correctly \type{affliction, affine, first}? > $${\rm e}^{{\rm i}\pi} + 1 = 0 = \int_0^{2\pi}\sin(x)dx, > \quad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2\over 6}.$$ > \input knuth.tex > > \stoptext > > I experienced several problems like the ones you mention, but the > above works fine for me (Mac OS X 10.4.6, TeX and ConTeXt installed > with Gerben Wierda's i-installer). > > Best regards: OK > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Font problems (Palatino)
On 31 mai 2006, at 23:40, Johan Blixt-Dackhammar wrote: > When trying to typeset for example a document using the mag-01 module > I get an error that from what I understand is font related. I'm using > MacOS 10.4.6 (on intel), and I do have the Palatino font. Why do I get > the error and how can the problem be resolved? > > ERROR MESSAGE## Hi Johan, I think you need something like this: \enableregime[utf] \loadmapfile[context-base] \usetypescript[palatino][ec] \setupbodyfont[palatino,12pt] \starttext Here we are using the font \fontname\font. These are some diacritics: é, ç, à, ô, î. And these are some ligatures: affliction, affine, first.\par Can you see correctly \type{affliction, affine, first}? $${\rm e}^{{\rm i}\pi} + 1 = 0 = \int_0^{2\pi}\sin(x)dx, \quad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2\over 6}.$$ \input knuth.tex \stoptext I experienced several problems like the ones you mention, but the above works fine for me (Mac OS X 10.4.6, TeX and ConTeXt installed with Gerben Wierda's i-installer). Best regards: OK ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Font problems (Palatino)
When trying to typeset for example a document using the mag-01 module I get an error that from what I understand is font related. I'm using MacOS 10.4.6 (on intel), and I do have the Palatino font. Why do I get the error and how can the problem be resolved? ERROR MESSAGE## TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 executable : pdfetex format : cont-en inputfile : magazinetest output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (/usr/local/teTeX/share/texmf.tetex/web2c/natural.tcx) entering extended mode (./magazinetest.tex ConTeXt ver: 2005.01.31 fmt: 2006.5.13 int: english mes: english language: language en is active system : cont-new loaded (/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! color : palette rollover is available system (E-TEX) : [line 878] system (E-TEX) : [line 933] ) system : cont-old loaded (/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/teTeX/share/texmf.tetex/tex/context/user/cont-sys.rme (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-dis.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-akb.tex)) bodyfont: 12pt rm is loaded language: patterns en->default:default->1->2:2 uk->default:default->2-> 2:2 de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2 :2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->texnansi:texnansi->8->2:2 it->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2 loaded specials: tex,postscript,rokicki loaded system : magazinetest.top loaded (./magazinetest.top specials: loading definition file tpd (/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex specials: loading definition file fdf (/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-fdf.tex system (E-TEX) : [line 2280] \ifcsname ) specials: fdf loaded ) specials: fdf,tpd loaded ) system : macros of module mag-01 loaded (/usr/local/teTeX/share/texmf.tetex/tex/context/base/s-mag-01.tex specials: loading definition file tpd (/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex specials: loading definition file fdf (/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-fdf.tex system (E-TEX) : [line 2280] \ifcsname ) specials: fdf loaded ) specials: fdf,tpd loaded color : system rgb is global activated (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-dis.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-exa.tex (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-dis.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-dis.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex
Re: [NTG-context] font problems again
Hans van der Meer wrote: Do I now understand correctly that I MUST use texfont first in order to work with fonts in ConTeXt? I did not realize that when going over to the new tetex setup. I guess the typescripts for the lm/cmr fonts are ready-made in the context distribution? not for lm and cm, just if you want to use the other free fonts in whatever encoding Is there somewhere a script to do this (somewhat painless) for the "regular" fonts in the teTeX distribution or should I generate just by hand for whatever font I need? (2) about math typesetting Although computer modern (lm fonts) now appear in text, there is something strange with math. Running the next example coming from the ConTeXt manual (page 103): \starttext {$\sqrt{a^2 + b^2} = c\ \hbox{whatever} + \sin(2x)$} math\crlf {$\bf \sqrt{a^2 + b^2} = c\ \hbox{whatever} + \sin(2x)$} boldmath BUT `sin' ISN'T, sqrt NEVER IS \crlf {$\bf\mf \sqrt{a^2 + b^2} = c\ \hbox{whatever} + \sin(2x)$} boldmath NOW `sin' IS, sqrt NEVER IS \crlf \stoptext The second line doesn't show the "sin" in bold as contrasted with the special remark in the manual. I does show in bold with \mf however. Has the math behaviour changed meanwhile? Or does it point to still another flaw in my setup? The following fonts appear in the pdf (as seen in Adobe Reader): CMMI12, CMSY10, LMRoman12-Bold (and 9), LMRoman12-Regular (and 9). this behaviour is ok; \bf switches the text font (using families) and that's just of of the 16 possible math fonts then; the problem with math and fonts is that (1) we don't have enough families and (2) using tricks to bypass that do not help because math fonts come into play at the second parsing of the math list, when tex knows what it's dealing with; by then only fam numbers are uses intermediate changing of font assignments to them has been lost (the last family assignment counts) in comparison, the following LaTeX example has the right behaviour: \documentclass{article} \begin{document} {$\sqrt{a^2 + b^2} = c$} math\hfill\break {\boldmath$\sqrt{a^2 + b^2} = c + \sin{}x$} boldmath\par \end{document} btw, you can use: $\bfmath \sqrt{a2 + b2} = c\ \hbox{whatever} + \sin(2x)$ a more massive change is: %D \usetypescript [lucida] [texnansi] %D %D \definetypeface [boldmath] [rm] [serif] %D [lucida] [default] [encoding=texnansi] %D \definetypeface [boldmath] [tt] [mono] %D [lucida] [default] [encoding=texnansi] %D \definetypeface [boldmath] [ss] [sans] %D [lucida] [default] [encoding=texnansi] %D \definetypeface [boldmath] [mm] [boldmath] %D [lucida] [default] [encoding=texnansi] %D %D \switchtobodyfont[lucida,10pt] %D %D \showmathtoken{Gamma} $\Gamma \Delta \alpha \delta \zeta$ %D %D \switchtobodyfont[boldmath,10pt] %D %D \showmathtoken{Gamma} $\Gamma \Delta \alpha \delta \zeta$ Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font problems again
Taco Hoekwater wrote: Hi Hans, (I am not really going to answer you, sorry). I usually ignore those "cannot find -urw-.map" messages (yes, I get them as well). The needed font mapping lines for the 'base' postscript fonts are also in "-base.map", and that file usually is found. The message is often just paranoia from context. indeed, the reason being that there is no way to determine if such a file exists or not) Another question from me: wasn't there a \boldmath in one of the third party math modules? And if yes, is it possible that that be added to the core in some way / some day? bold math is also supported in typescripts, but depends (or course) on the pressence of fonts (i forgot who made the definitions -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font problems again
Hi Hans, (I am not really going to answer you, sorry). I usually ignore those "cannot find -urw-.map" messages (yes, I get them as well). The needed font mapping lines for the 'base' postscript fonts are also in "-base.map", and that file usually is found. The message is often just paranoia from context. Hi other Hans, Another question from me: wasn't there a \boldmath in one of the third party math modules? And if yes, is it possible that that be added to the core in some way / some day? Cheers, Taco Hans van der Meer wrote: Two more questions: (1) On Nov 14, 2005, at 0:07, Hans Hagen wrote: Do I now understand correctly that I MUST use texfont first in order to work with fonts in ConTeXt? ? (2) about math typesetting Or does it point to still another flaw in my setup? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font problems again
Two more questions: (1) On Nov 14, 2005, at 0:07, Hans Hagen wrote: Hans van der Meer wrote: No help from enabling in cont-sys.tex of: \usetypescript[adobekb] [\defaultencoding] (updmap.cfg contains URWkb for the LW35 fonts) then it starts asking for (non-existing) maps like: Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file that is when you use texfont generated metrics texfont --encoding=ec --batch type-tfm.dat will generate those metrics (which are the ones i use) Do I now understand correctly that I MUST use texfont first in order to work with fonts in ConTeXt? I did not realize that when going over to the new tetex setup. I guess the typescripts for the lm/cmr fonts are ready-made in the context distribution? Is there somewhere a script to do this (somewhat painless) for the "regular" fonts in the teTeX distribution or should I generate just by hand for whatever font I need? (2) about math typesetting Although computer modern (lm fonts) now appear in text, there is something strange with math. Running the next example coming from the ConTeXt manual (page 103): \starttext {$\sqrt{a^2 + b^2} = c\ \hbox{whatever} + \sin(2x)$} math\crlf {$\bf \sqrt{a^2 + b^2} = c\ \hbox{whatever} + \sin(2x)$} boldmath BUT `sin' ISN'T, sqrt NEVER IS \crlf {$\bf\mf \sqrt{a^2 + b^2} = c\ \hbox{whatever} + \sin(2x)$} boldmath NOW `sin' IS, sqrt NEVER IS \crlf \stoptext The second line doesn't show the "sin" in bold as contrasted with the special remark in the manual. I does show in bold with \mf however. Has the math behaviour changed meanwhile? Or does it point to still another flaw in my setup? The following fonts appear in the pdf (as seen in Adobe Reader): CMMI12, CMSY10, LMRoman12-Bold (and 9), LMRoman12-Regular (and 9). in comparison, the following LaTeX example has the right behaviour: \documentclass{article} \begin{document} {$\sqrt{a^2 + b^2} = c$} math\hfill\break {\boldmath$\sqrt{a^2 + b^2} = c + \sin{}x$} boldmath\par \end{document} Hans van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font problems again
I used to work with the TeX i-Package install. But every once in a while tex has to be updated. Then I was confronted with fairly hefty downloads for my humble isdn-telephone connection (not everyone has adsl). That's the reason I switched over to installing teTeX and ConTeXy directly. Not much of a pain with an installer shell script and a fast machine. But thanks for your interest anyway. On Nov 14, 2005, at 8:51, Gerben Wierda wrote: With the last release of context the problem of not getting cm fonts is over. These are now found. However, other font selections bring new difficulties. I tried various combinations but did not succeed. The simple program (using TeXShop): Since you are using Mac OS X, if you install the TeX i-Package, you get the texmf tree of teTeX 3.0 as well, but with a replacement of old Latin Modern with new. A newer ConTeXt assumes the newer Latin Modern afaik. The ConTeXt updater i-Package will get you the latest ConTeXt in texmf.local. If such an install still does not get you a working ConTeXt, I'd be interested to find out why (and we can help each other) because it is my goal that you have a working ConTeXt after such an install). G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context met vriendelijke groet, Hans van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font problems again
> With the last release of context the problem of not getting cm fonts > is over. These are now found. > > However, other font selections bring new difficulties. > I tried various combinations but did not succeed. > The simple program (using TeXShop): Since you are using Mac OS X, if you install the TeX i-Package, you get the texmf tree of teTeX 3.0 as well, but with a replacement of old Latin Modern with new. A newer ConTeXt assumes the newer Latin Modern afaik. The ConTeXt updater i-Package will get you the latest ConTeXt in texmf.local. If such an install still does not get you a working ConTeXt, I'd be interested to find out why (and we can help each other) because it is my goal that you have a working ConTeXt after such an install). G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font problems again
Hans van der Meer wrote: No help from enabling in cont-sys.tex of: \usetypescript[adobekb] [\defaultencoding] (updmap.cfg contains URWkb for the LW35 fonts) then it starts asking for (non-existing) maps like: Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file that is when you use texfont generated metrics texfont --encoding=ec --batch type-tfm.dat will generate those metrics (which are the ones i use) If I use \setupbodyfont[lbr,12pt] then I get just lm-roman, although I have the YandY lucida fonts installed with their original YandY names (lb--.pfb) Here no help from changing between texnansi and ec default encoding. lucida is a special case -) because i used lucida a lot, those definitions ended up in the core, but when i bought more and more fonts, i finally decided to move the lucida defs to the type-buy.tex typescript because that;s where they belong you can add the line: \usetypescriptfile[type-buy] to the cont-sys.tex file, but best is (because it's a document property) to say in you document (or style): \usetypescriptfile[type-buy] % loads commercial font definitions \usetypescript[lucida][texnansi] % defines a lucida typeface \setupbodyfont[lucida,12pt] % enables the typeface defined as 'lucida' (see type-buy.tex) so, basically, the 'lbr' choice is gone the same is true for 'pos'; which originally was meant for the fonts that adobe shipped (but no longer does); over time it became for instance \usetypescript[postscript][ec] % times, helvetica, courier, tx math; properly r-scaled or in components \usetypescript[times][ec] \setupbodyfont[times,12pt] in principle the \usetypescript [adobekb] [ec] % depending on what is in use, if in doubt use [all] should work; (keep in mind that in spite of all kind of references in tex environments to encodings, often only ec is shipped) Any idea whats amiss? I ran this on a teTeX3 install with the context files unzipped into texmf-local. (I must confess I am tempted to give up on ConTeXt altogether, because of these many font troubles.) well, latin modern is kind of special for a while (because it involves some major changes in distributions as well) but that will stabelize (only new fonts will be added to the latin modern family; context for instance does support teh condensed monospaced already) concerning distributions: because of changes in map, enc, whatever, i don't use updmap (i have way more fonts on my machine than present in distributed map files) how old is your cont-sys.tex? take a look at cont-sys.rme and see what has changed (keep in mind that pdftex occasionally changes and we need to keep up with that as well) [once a generic map file model is in place - which is on the agenda for pdftex cum suis] live may become more easy Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] font problems again
With the last release of context the problem of not getting cm fonts is over. These are now found. However, other font selections bring new difficulties. I tried various combinations but did not succeed. The simple program (using TeXShop): \starttext \setupbodyfont[tim,12pt] hello world \stoptext Fails and aborts with: This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) ConTeXt ver: 2005.11.11 fmt: 2005.11.13 int: english mes: english ! Font \*times12ptrmtf*:=utmr8t at 12.0pt not loadable: Metric (TFM) file not found. Changing into \usetypescript[phv]\setupbodyfont[phv,12pt] ! Font \*postscript12ptrmtf*:=utmr8t at 12.0pt not loadable: Metric (TFM) file not found. No help from enabling in cont-sys.tex of: \usetypescript[adobekb] [\defaultencoding] (updmap.cfg contains URWkb for the LW35 fonts) then it starts asking for (non-existing) maps like: Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file If I use \setupbodyfont[lbr,12pt] then I get just lm-roman, although I have the YandY lucida fonts installed with their original YandY names (lb--.pfb) Here no help from changing between texnansi and ec default encoding. Any idea whats amiss? I ran this on a teTeX3 install with the context files unzipped into texmf-local. (I must confess I am tempted to give up on ConTeXt altogether, because of these many font troubles.) Hans van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context