Re: [NTG-context] new mkiv beta
Peter Rolf wrote: Hans Hagen schrieb: Hi, I uploaded a beta release. The biggest change is that image inclusion in mkiv has changed. Currently it's still some mix of tex and lua code, and the backend code is somewhat messy (and not complete yet) but it's a first step towards lua doing things. This will only work with a e recent luatex. The advantage is that file searching in lua is more robust (and when many search paths are used, also faster). Image conversion has been moved to lua too, but currently still uses pdftops (also for svg) but that may move to lua as well. Figure libraries are supported by default now. this is good news. :) the bad news is, that figure libraries are currently broken in mkiv (beta from 29.2). i'll make a minimal example. ok; btw, don't load fig library modules!, it's supposed to work by default; loaded libraries probably spoil the game - 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] new mkiv beta
Hans Hagen schrieb: Hi, I uploaded a beta release. The biggest change is that image inclusion in mkiv has changed. Currently it's still some mix of tex and lua code, and the backend code is somewhat messy (and not complete yet) but it's a first step towards lua doing things. This will only work with a e recent luatex. The advantage is that file searching in lua is more robust (and when many search paths are used, also faster). Image conversion has been moved to lua too, but currently still uses pdftops (also for svg) but that may move to lua as well. Figure libraries are supported by default now. this is good news. :) the bad news is, that figure libraries are currently broken in mkiv (beta from 29.2). i'll make a minimal example. peter 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 ___ ___ 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] new mkiv beta
Thomas A. Schmitz wrote: On Feb 26, 2008, at 3:59 PM, Hans Hagen wrote: Hi, I uploaded a beta release. The biggest change is that image inclusion in mkiv has changed. Currently it's still some mix of tex and lua code, and the backend code is somewhat messy (and not complete yet) but it's a first step towards lua doing things. This will only work with a e recent luatex. Hi Hans, there appears to be a bug in the new image inclusion: my images are only found when I give the extension explicitly. So this does work: \externalfigure[aegean.png] while this doesn't: \externalfigure[aegean] (Glad I don't have to write about Greek patterns for a change...) glad that you test this ... new beta 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] new mkiv beta
On Feb 27, 2008, at 11:55 AM, Hans Hagen wrote: Thomas A. Schmitz wrote: On Feb 26, 2008, at 3:59 PM, Hans Hagen wrote: Hi, I uploaded a beta release. The biggest change is that image inclusion in mkiv has changed. Currently it's still some mix of tex and lua code, and the backend code is somewhat messy (and not complete yet) but it's a first step towards lua doing things. This will only work with a e recent luatex. Hi Hans, there appears to be a bug in the new image inclusion: my images are only found when I give the extension explicitly. So this does work: \externalfigure[aegean.png] while this doesn't: \externalfigure[aegean] (Glad I don't have to write about Greek patterns for a change...) glad that you test this ... new beta Hans Excellent, now it works! Thanks for the quick fix. 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] new mkiv beta
new beta The Greek patterns look better now, but you should probably add ἀ2ν1ωδύ and ἐ3σ2ού (where the last character is U+03CD GREEK SMALL LETTER UPSILON WITH TONOS and not U+1F7B GREEK SMALL LETTER UPSILON WITH OXIA). This makes a duplicate entry for these patterns, but all the other patterns with oxia are duplicated as well. Arthur ___ 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] new mkiv beta
On Tue, 26 Feb 2008, Hans Hagen wrote: Hi, I uploaded a beta release. The biggest change is that image inclusion in mkiv has changed. Currently it's still some mix of tex and lua code, and the backend code is somewhat messy (and not complete yet) but it's a first step towards lua doing things. This will only work with a e recent luatex. Which version of luatex is needed? I have This is LuaTeX, Version snapshot-0.20.2-2008011414 and while generating formats, I get ! LuaTeX error /home/adityam/texmf/tex/context/base/core-inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi \fi l.14 \registerctxluafile{core-inc}{1.001} Aditya ___ 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] new mkiv beta
Hi Aditya, On Wed, 27 Feb 2008 12:46:46 -0700, Aditya Mahajan [EMAIL PROTECTED] wrote: Which version of luatex is needed? I have This is LuaTeX, Version snapshot-0.20.2-2008011414 and while generating formats, I get ! LuaTeX error /home/adityam/texmf/tex/context/base/core-inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi \fi l.14 \registerctxluafile{core-inc}{1.001} Get the latest, 0.22.1 http://foundry.supelec.fr/projects/luatex/ Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ 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] new mkiv beta
Aditya Mahajan wrote: On Tue, 26 Feb 2008, Hans Hagen wrote: Hi, I uploaded a beta release. The biggest change is that image inclusion in mkiv has changed. Currently it's still some mix of tex and lua code, and the backend code is somewhat messy (and not complete yet) but it's a first step towards lua doing things. This will only work with a e recent luatex. Which version of luatex is needed? I have This is LuaTeX, Version snapshot-0.20.2-2008011414 you need a real fresh one ... img was added recently 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] new mkiv beta
On Wed, 27 Feb 2008, Idris Samawi Hamid wrote: Hi Aditya, On Wed, 27 Feb 2008 12:46:46 -0700, Aditya Mahajan [EMAIL PROTECTED] wrote: Which version of luatex is needed? I have This is LuaTeX, Version snapshot-0.20.2-2008011414 and while generating formats, I get ! LuaTeX error /home/adityam/texmf/tex/context/base/core-inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi \fi l.14 \registerctxluafile{core-inc}{1.001} Get the latest, 0.22.1 http://foundry.supelec.fr/projects/luatex/ I downloaded the svn source, compiled by running build.sh and copied luatex into the bin directory and created synlinks for texlua and texluac. Now I get loading : Context Core Macros / Figure Handling ! LuaTeX error /home/adityam/texmf/tex/context/base/core-inc.lua:213: attempt to call method 'tohash' (a nil value). \setfigurepathlist ...cation ,\@@exdirectory )} l.511\c!location={\v!local,\v!global}] Aditya ___ 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] new mkiv beta
On Wed, 27 Feb 2008, Hans Hagen wrote: Aditya Mahajan wrote: On Wed, 27 Feb 2008, Idris Samawi Hamid wrote: Hi Aditya, On Wed, 27 Feb 2008 12:46:46 -0700, Aditya Mahajan [EMAIL PROTECTED] wrote: Which version of luatex is needed? I have This is LuaTeX, Version snapshot-0.20.2-2008011414 and while generating formats, I get ! LuaTeX error /home/adityam/texmf/tex/context/base/core-inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi \fi l.14 \registerctxluafile{core-inc}{1.001} Get the latest, 0.22.1 http://foundry.supelec.fr/projects/luatex/ I downloaded the svn source, compiled by running build.sh and copied luatex into the bin directory and created synlinks for texlua and texluac. Now I get loading : Context Core Macros / Figure Handling ! LuaTeX error /home/adityam/texmf/tex/context/base/core-inc.lua:213: attempt to call method 'tohash' (a nil value). \setfigurepathlist ...cation ,\@@exdirectory )} l.511\c!location={\v!local,\v!global}] should be defined in l-table.lua It is, I probably messed up something while doing a manual update of the binaries. Aditya ___ 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] new mkiv beta
On Wed, 27 Feb 2008 09:44:32 +0100 Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Feb 26, 2008, at 3:59 PM, Hans Hagen wrote: Hi, I uploaded a beta release. The biggest change is that image inclusion in mkiv has changed. Currently it's still some mix of tex and lua code, and the backend code is somewhat messy (and not complete yet) but it's a first step towards lua doing things. This will only work with a e recent luatex. Hi Hans, there appears to be a bug in the new image inclusion: my images are only found when I give the extension explicitly. So this does work: \externalfigure[aegean.png] while this doesn't: \externalfigure[aegean] (Glad I don't have to write about Greek patterns for a change...) Thomas Hi Hans, there is also another bug in combination with floats. \starttext \placefigure {A black rule} {\blackrule} \stoptext The extra number after the float is insert by \dofloatinfomessage in page-flt.tex and this did happen because you added the \setmessagetext in the last beta and the command has only two parameters, not three as use below. \def\dofloatinfomessage#1#2#3% {\bgroup \showmessage\m!floatblocks{#2}{#3}% \setmessagetext\m!floatblocks{#2}{#3}% [EMAIL PROTECTED]@[EMAIL PROTECTED] \egroup} 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] new mkiv beta
Wolfgang Schuster wrote: The extra number after the float is insert by \dofloatinfomessage in page-flt.tex and this did happen because you added the \setmessagetext in the last beta and the command has only two parameters, not three as use below. ok, fixed - 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] new mkiv beta
On Tue, Feb 26, 2008 at 8:58 PM, Wolfgang Schuster wrote: 1. XeTeX has two problems with the greep pattern files (lang-agr.pat). (c:/w32tex/share/texmf-local/tex/context/patterns/lang-agr.pat ! Nonletter. l.1486 ß╝Ç2╬¢1¤ë╬┤¤àß┐¢ ? ! Nonletter. l.2327 ß╝É3¤â2╬┐¤àß┐¢ ? (/context/tex/texmf-context/tex/context/patterns/lang-agr.pat ! Nonletter. l.1486 ἀ2ν1ωδυ´ The problematic pattern seems to be ἀ2ν1ωδυ´ but its source (line 1194 of grahyph4.tex) is a2n1wdu' and the other source of problems seems to be in line 2739 of grahyph4.tex: e3s2ou' I don't understand - what does an accent do at the end of the word in patterns anyway? Does the accent at the end hold any special meaning? Or should it be ignored? Fixed in original file perhaps? Mojca ___ 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 ___