Re: [NTG-context] context works, contextjit fails with Junicode
Junicode is a font for medievalists, handles a lot things needed for analizing old texts. It can handle greek, gothic script, runes, a lot of marks... Is a very nice font for scholars. ___ 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] context works, contextjit fails with Junicode
On 7/2/2014 3:11 AM, Rik wrote: On 2014-07-01 20:45, Hans Hagen wrote: On 7/2/2014 1:30 AM, Rik Kabel wrote: As I said, the not-in-time engine has no problem with the file. no problems here with luatex and luajittex and the sample code Hans Okay. I will look over my path settings and font libraries. Thank you for checking. Sorry for the noise. (but another issue is on the way) It relates to a bug in the font (bogus lookup) and an (fundamental) incompatibility between lua and luajit ... the next beta has a fix fo such cases (also tested/checked by Akira). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context works, contextjit fails with Junicode
On 2014-07-01 20:45, Hans Hagen wrote: On 7/2/2014 1:30 AM, Rik Kabel wrote: As I said, the not-in-time engine has no problem with the file. no problems here with luatex and luajittex and the sample code Hans Okay. I will look over my path settings and font libraries. Thank you for checking. Sorry for the noise. (but another issue is on the way) -- Rik ___ 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] context works, contextjit fails with Junicode
On 7/2/2014 1:30 AM, Rik Kabel wrote: As I said, the not-in-time engine has no problem with the file. no problems here with luatex and luajittex and the sample code Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] context works, contextjit fails with Junicode
On 2014-07-01 18:08, Hans Hagen wrote: On 7/1/2014 11:52 PM, Rik Kabel wrote: The jit engine complains lua error > error on line 12 in file C:/Users/rik/Desktop/junicode_bold.tex: C:/ConTeXt/tex/texmf-context/tex/context/base/font-otp.lua:192: invalid value (nil) at index 1 in table for 'concat' only luajittex? are there more trace lines? and produces an incorrect document (no bold or bold italic fonts used) for the following document, while the standard engine produces a correct document without complaint: \starttypescript [serif] [junicode] \definefontsynonym [Serif] [file:junicode] \definefontsynonym [SerifItalic] [file:junicode-italic] \definefontsynonym [SerifBold] [file:junicode-bold] \definefontsynonym [SerifBoldItalic] [file:junicode-bolditalic] \stoptypescript \starttypescript [junicode] \definetypeface [junicode] [rm] [serif] [junicode] [default] \stoptypescript \setupbodyfont[junicode] \starttext \fontalternative{\it\fontalternative}{\bf\fontalternative}{\bi\fontalternative} \stoptext I also note that the standard typescript for junicode is not useful. Beside mentioning goudysans (a cosmetic issue only, I think) the font file names do not reflect current file names for the font as available at http://junicode.sourceforge.net. If anybody has a typescript reflecting current ttf file naming, I would appreciate receiving a copy, either via the list or directly. (The typescript in the above is stripped to a minimum, and not what I would use other than in such an example.) what font is that? Hans As I said, the not-in-time engine has no problem with the file. The font is referenced in the free fonts page of the wiki (I updated its outdated link earlier today). The same version of the font is included in the TL and standalone distributions. I have installed the ttf files in my Windows/fonts directory so that lesser programs can access them as well, and that is where they are found by ConTeXt. Here is the full log of the jit run. When I unwrap the line between \starttext and \stoptext, the errors point to lines with bold fonts: open source > 1 > 1 > C:/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.06.27 10:53 MKIV beta fmt: 2014.6.27 int: english/english system > 'cont-new.mkiv' loaded open source > 2 > 2 > C:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv close source > 2 > 2 > C:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv system > files > jobname 'junicode_bold', input './junicode_bold', result 'junicode_bold' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > C:/Users/rik/Desktop/ContextBugs/Bugs I say/junicode_bold.tex fonts > preloading modern-designsize (math) fonts > typescripts > unknown library 'modern-designsize' or 'modern' fonts > 'fallback modern-designsize mm 12pt' is loaded fonts > preloading modern-designsize (mono) fonts > 'fallback modern-designsize tt 12pt' is loaded fonts > otf loading > loading 'c:/windows/fonts/junicode-bold.ttf', hash 'junicode-bold' fonts > otf loading > loading done fonts > otf loading > file size: 421536 fonts > encoding > loading (extended) adobe glyph list fonts > otf loading > fixing kernclass table of lookup 'pp_l_3_s' lua error > error on line 19 in file C:/Users/rik/Desktop/ContextBugs/Bugs I say/junicode_bold.tex: C:/ConTeXt/tex/texmf-context/tex/context/base/font-otp.lua:192: invalid value (nil) at index 1 in table for 'concat' stack traceback: [C]: in function 'concat' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otp.lua:192: in function 'pack_indexed' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otp.lua:375: in function 'enhancer' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otf.lua:302: in function 'enhance' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otf.lua:507: in function 'load' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otf.lua:2131: in function 'otftotfm' C:/ConTeXt/tex/texmf-context/tex/context/base/font-otf.lua:2176: in function C:/ConTeXt/tex/texmf-context/tex/context/base/font-def.lua:313: in function 'loadfont' C:/ConTeXt/tex/texmf-context/tex/context/base/font-ctx.lua:478: in function 'loadfont' C:/ConTeXt/tex/texmf-context/tex/context/base/font-def.lua:415: in function 'read' C:/ConTeXt/tex/texmf-context/tex/context/base/font-ctx.lua:1109: in function 'definefont_two' [\directlua]:1: in main chunk 9 \definefontsynonym [Serif] [file:junicode] 10 \definefontsynonym [SerifItalic] [file:junicode-italic] 11 \definefontsynonym [SerifBold] [file:junicode-bold] 12 \definefontsynonym [SerifBoldItalic] [file:junicode-bolditalic] 13 \stoptypescript 14 \starttypescript [junicode] 15 \definetypeface [junicode] [rm] [serif] [junicode] [default] 16 \stoptypescript 17 \setupbodyfont[junicode] 18 \starttext 19 >> \fontalternative{\it\fontalternative}{\bf\fontalternative}{\bi\fontalternative} 20 \stoptext 21 ? q OK, entering \batchmode... fonts > otf loading
Re: [NTG-context] context works, contextjit fails with Junicode
On 7/1/2014 11:52 PM, Rik Kabel wrote: The jit engine complains lua error > error on line 12 in file C:/Users/rik/Desktop/junicode_bold.tex: C:/ConTeXt/tex/texmf-context/tex/context/base/font-otp.lua:192: invalid value (nil) at index 1 in table for 'concat' only luajittex? are there more trace lines? and produces an incorrect document (no bold or bold italic fonts used) for the following document, while the standard engine produces a correct document without complaint: \starttypescript [serif] [junicode] \definefontsynonym [Serif] [file:junicode] \definefontsynonym [SerifItalic] [file:junicode-italic] \definefontsynonym [SerifBold] [file:junicode-bold] \definefontsynonym [SerifBoldItalic] [file:junicode-bolditalic] \stoptypescript \starttypescript [junicode] \definetypeface [junicode] [rm] [serif] [junicode] [default] \stoptypescript \setupbodyfont[junicode] \starttext \fontalternative{\it\fontalternative}{\bf\fontalternative}{\bi\fontalternative} \stoptext I also note that the standard typescript for junicode is not useful. Beside mentioning goudysans (a cosmetic issue only, I think) the font file names do not reflect current file names for the font as available at http://junicode.sourceforge.net. If anybody has a typescript reflecting current ttf file naming, I would appreciate receiving a copy, either via the list or directly. (The typescript in the above is stripped to a minimum, and not what I would use other than in such an example.) what font is that? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] context works, contextjit fails with Junicode
The jit engine complains lua error > error on line 12 in file C:/Users/rik/Desktop/junicode_bold.tex: C:/ConTeXt/tex/texmf-context/tex/context/base/font-otp.lua:192: invalid value (nil) at index 1 in table for 'concat' and produces an incorrect document (no bold or bold italic fonts used) for the following document, while the standard engine produces a correct document without complaint: \starttypescript [serif] [junicode] \definefontsynonym [Serif] [file:junicode] \definefontsynonym [SerifItalic] [file:junicode-italic] \definefontsynonym [SerifBold] [file:junicode-bold] \definefontsynonym [SerifBoldItalic] [file:junicode-bolditalic] \stoptypescript \starttypescript [junicode] \definetypeface [junicode] [rm] [serif] [junicode] [default] \stoptypescript \setupbodyfont[junicode] \starttext \fontalternative{\it\fontalternative}{\bf\fontalternative}{\bi\fontalternative} \stoptext I also note that the standard typescript for junicode is not useful. Beside mentioning goudysans (a cosmetic issue only, I think) the font file names do not reflect current file names for the font as available at http://junicode.sourceforge.net. If anybody has a typescript reflecting current ttf file naming, I would appreciate receiving a copy, either via the list or directly. (The typescript in the above is stripped to a minimum, and not what I would use other than in such an example.) -- Rik Kabel ___ 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 ___