Hi I've put an alpha release on the website - no beta as mkiv needs the trunk version of luatex - a close to complete split in mkii/mkiv - cleaned up mkiv code - cleaned up mkiv backend (some pending issues) - some speedups in mkiv - a few fixes in mkii - updated mkiv typescripts (more to come) - fixes in mkiv structure this version is not replicated on the context garden as we run older luatex binaries there (0.45 release by the end of this month) you can unzip this file on your locla tree but best first rename the tex/context/base directory and make a fresh one as otherwise you end up with a weird mixture (due to the definitive split in .mkii/.mkiv there are not that many shared .tex files any more) on the upcoming tex live there will be an updated mkii (either this one or the current beta which is basically a current for mkii) and an old mkiv (maybe the beta) or a new one but that one will not run then with the luatex on texlive as it is too old; this is no big deal as you can either use the minimals or use the new updater in the upcoming tex live to fetch newer binaries (norbert and mojca showed that trickery at bachotek 2009) next on the mkiv agenda is an upgrade/rework of everything related to page building but it might as well be postponed till we have a bit more access (which will happen sometime after eurotex); the first priority is to get the new structure related code right but as idris is already publising books made by mkiv it's not that bad as it sounds. 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 -----------------------------------------------------------------
On Jul 14, 2009, at 7:39 PM, Hans Hagen wrote:
Hi
I've put an alpha release on the website
Hi Hans, with the alpha and luatex 0.41, I get no hyphenation for Greek. The pattern file is loaded, so it may be a problem with luatex itself. Example: \usetypescriptfile[type-gentium] \usetypescript[gentium] \setupbodyfont[gentium,12pt] \starttext {\agr \hyphenatedword{φιλοσοφία}} \stoptext Works with beta, not with alpha. All best Thomas
Thomas A. Schmitz wrote:
On Jul 14, 2009, at 7:39 PM, Hans Hagen wrote:
Hi
I've put an alpha release on the website
Hi Hans,
with the alpha and luatex 0.41, I get no hyphenation for Greek. The pattern file is loaded, so it may be a problem with luatex itself. Example:
\usetypescriptfile[type-gentium] \usetypescript[gentium] \setupbodyfont[gentium,12pt]
\starttext
{\agr \hyphenatedword{φιλοσοφία}}
\stoptext
Works with beta, not with alpha.
It works for me with a slightly older beta but not with alpha (always with and the most recent luatex, 0.42.0) To be precise, with the older version I get: φι-λο-σο-φία which looks like the right hyphenation to me. Best wishes, Taco
On Jul 15, 2009, at 2:04 PM, Taco Hoekwater wrote:
It works for me with a slightly older beta but not with alpha (always with and the most recent luatex, 0.42.0)
To be precise, with the older version I get: φι-λο-σο-φία which looks like the right hyphenation to me.
Yep, this is the right hyphenation. Works now with latest alpha; thanks Hans and Taco! Thomas
Thomas A. Schmitz wrote: fix: \def\setcurrentlanguage#1#2% sets modes: **id (currentmain) *id (current) {\edef\xaskedlanguage{#1}% otherwise clash with \askedlanguage \ifx\xaskedlanguage\empty \else \ifx\currentmainlanguage\empty\else\resetsystemmode{\systemmodeprefix\currentmainlanguage}\fi \let\currentmainlanguage\xaskedlanguage \setsystemmode{\systemmodeprefix\currentmainlanguage}% \fi \edef\xaskedlanguage{#2}% \ifx\xaskedlanguage\empty \else \ifx\currentlanguage\empty\else\resetsystemmode\currentlanguage\fi \let\currentlanguage\xaskedlanguage \setsystemmode\currentlanguage \fi} i'll make a new alpha later today ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen schrieb:
i'll make a new alpha later today
i'll take my chance and hijack this thread then... :) there is a c&p error in lpdf-grp.lua. [..] function lpdf.colorspec(model,ca,default) if ca and ca > 0 then local cv = colors.value(ca) if cv then if model == 1 then model = cv[1] end if model == 2 then return pdfarray { cv[2] } elseif model == 3 then return pdfarray { cv[3],cv[4],cv[5] } elseif model == 4 then return pdfarray { cv[6],cv[7],cv[8],cv[9] } elseif model == 4 then -- *here* return pdfarray { cv[13] } end end end if default then return default end end --
Peter Rolf wrote:
elseif model == 4 then return pdfarray { cv[6],cv[7],cv[8],cv[9] } elseif model == 4 then -- *here* return pdfarray { cv[13] }
did you test it with model == 5 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen schrieb:
Peter Rolf wrote:
elseif model == 4 then return pdfarray { cv[6],cv[7],cv[8],cv[9] } elseif model == 4 then -- *here* return pdfarray { cv[13] }
did you test it with model == 5
no, i simply added a final 'else' here. and no tests yet... still trying to understand the new code. i'm currently not in 'lua mode' and the temperatures are melting my brain... ;)
----------------------------------------------------------------- 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 ___________________________________________________________________________________
Peter Rolf wrote:
Hans Hagen schrieb:
i'll make a new alpha later today
i'll take my chance and hijack this thread then... :)
there is a c&p error in lpdf-grp.lua.
since you're looking into lua code ... there is some new playground (unfinished of course) ... (the true arg is just for pretty printing and can be omitted) context.chapter({ "label" }, "title", true) context.chapter(function() return { "label" } end, "title", true) context.startchapter({ title = "test" }, { more = "oeps" }, true) context.starttext(true) context.bTABLE(true) for i=1,10 do context.bTR() for i=1,10 do context.bTD() context("%#2i",math.random(99)) context.eTD() end context.eTR(true) end context.eTABLE(true) context.stopchapter(true) context.stoptext(true) no syntax checking involved (yet), just some magic 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 -----------------------------------------------------------------
Am 15.07.2009 um 15:57 schrieb Hans Hagen:
Peter Rolf wrote:
Hans Hagen schrieb:
i'll make a new alpha later today
i'll take my chance and hijack this thread then... :) there is a c&p error in lpdf-grp.lua.
since you're looking into lua code ... there is some new playground (unfinished of course) ... (the true arg is just for pretty printing and can be omitted)
Nice feature to shorten code when some data comes from a lua table but it did not work when used in the lua environment, the code for the table appears only on the terminal. \starttext some text \startluacode context.bTABLE(true) for i=1,10 do context.bTR() for i=1,10 do context.bTD() context("%#2i",math.random(99)) context.eTD() end context.eTR(true) end context.eTABLE(true) \stopluacode \stoptext Wolfgang
Wolfgang Schuster wrote:
Am 15.07.2009 um 15:57 schrieb Hans Hagen:
Peter Rolf wrote:
Hans Hagen schrieb:
i'll make a new alpha later today
i'll take my chance and hijack this thread then... :) there is a c&p error in lpdf-grp.lua.
since you're looking into lua code ... there is some new playground (unfinished of course) ... (the true arg is just for pretty printing and can be omitted)
Nice feature to shorten code when some data comes from a lua table but it did not work when used in the lua environment, the code for the table appears only on the terminal.
indeed, and there's also some problem with complex nesting which i kind of solved (i'l do a talk about this at the context meeting) (i'll make a new version that you can pick up from the ftp) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi, there are some minor problems with mkii. syst-gen syst-ext syst-new are loaded in 'context.mkii' (using \loadcorefile), but only the *.mkii versions are present. Also supp-eps is loaded in 'supp-tpi.mkii', but only the *.mkii version is present. No further (format) problems after changing that. I couldn't test mkiv yet, as my mp special code must be adapted first. Best wishes, Peter
Peter Rolf wrote:
Hi,
there are some minor problems with mkii.
syst-gen syst-ext syst-new
are loaded in 'context.mkii' (using \loadcorefile), but only the *.mkii versions are present. Also
supp-eps
is loaded in 'supp-tpi.mkii', but only the *.mkii version is present. No further (format) problems after changing that.
ok, i'll fix it and do a new upload 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 -----------------------------------------------------------------
Am 14.07.2009 um 19:39 schrieb Hans Hagen:
Hi
I've put an alpha release on the website
Sorry to disturb you again but I have still problems with indices, there is no longer a problem when there is only one after a header but when I put there two or more extra whitespace is inserted. \starttext \chapter{Knuth} \input knuth \chapter{Zapf}\index{zapf} \input zapf \chapter{Tufte and Weisman}\index{tufte}\index{weisman} % extra whitespace %\chapter{Tufte and Weisman}\flushatnextpar{\index{tufte} \index{weisman}} % works \input tufte \input weisman \stoptext Another question, is the feature in floats to create a empty caption with \placefigure{none}{...} now deprecated and \placefigure[none]{}{figure} should be used or is it a bug when I get a error in combination with interaction. \setupinteraction[state=start] \starttext \placefigure{none}{figure} % error %\placefigure[none]{}{figure} % no error \stoptext Wolfgang
Am 14.07.2009 um 19:39 schrieb Hans Hagen:
Hi
I've put an alpha release on the website
layers are broken in mkiv (did not appear in the output, overlays did work) \definelayer[test][width=\paperwidth,heigth=\paperheight] \setupbackgrounds[page][background=test] \setlayer[test][x=4cm,y=6cm]{text in a layer} \starttext text \stoptext Wolfgang
Am 17.07.2009 um 00:34 schrieb Wolfgang Schuster:
Am 14.07.2009 um 19:39 schrieb Hans Hagen:
I've put an alpha release on the website
layers are broken in mkiv (did not appear in the output, overlays did work)
forget about this, i saw this was fixed with the last alpha Wolfgang
Hi experts, Would someone please provide a basic recipe to correctly install the new alpha release locally. I would like to test the new alpha code but am a bit confused as to what exactly to install and how. 1. "on the website", is this indeed http://www.pragma-ade.com/context/current/cont-tmf.zip as http://www.pragma-ade.com/download-3.htm currently lists as (not available)? Should this be unzipped under /usr/local/context.alpha/tex/texmf-context for example? 2. "no beta as mkiv needs the trunk version of luatex" Does this mean http://foundry.supelec.fr/gf/download/frsrelease/350/1332/luatex- snapshot-0.42.0.tar.bz2 to be compiled and then somehow installed into the local tree. From luatex-snapshot-0.42.0/INSTALL
Post-compilation installation should be a simple matter of copying the executable to a normal place for web2c binaries and generating the desired formats.
You may want to install the executable under the names 'texlua' and 'texluac' as well (create a copy or symlink)
I currently work with the contextgarden minimals. Under the minimals, these are located at tex/texmf-linux-64/bin/texlua tex/texmf-linux-64/bin/texluac on my machine. Sorry for such basic questions. Thanks Alan On Tuesday 14 July 2009 19:39:09 Hans Hagen wrote:
Hi
I've put an alpha release on the website
- no beta as mkiv needs the trunk version of luatex - a close to complete split in mkii/mkiv - cleaned up mkiv code - cleaned up mkiv backend (some pending issues) - some speedups in mkiv - a few fixes in mkii - updated mkiv typescripts (more to come) - fixes in mkiv structure
this version is not replicated on the context garden as we run older luatex binaries there (0.45 release by the end of this month)
you can unzip this file on your locla tree but best first rename the tex/context/base directory and make a fresh one as otherwise you end up with a weird mixture (due to the definitive split in .mkii/.mkiv there are not that many shared .tex files any more)
on the upcoming tex live there will be an updated mkii (either this one or the current beta which is basically a current for mkii) and an old mkiv (maybe the beta) or a new one but that one will not run then with the luatex on texlive as it is too old; this is no big deal as you can either use the minimals or use the new updater in the upcoming tex live to fetch newer binaries (norbert and mojca showed that trickery at bachotek 2009)
next on the mkiv agenda is an upgrade/rework of everything related to page building but it might as well be postponed till we have a bit more access (which will happen sometime after eurotex); the first priority is to get the new structure related code right but as idris is already publising books made by mkiv it's not that bad as it sounds.
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 ___________________________________________________________________________ ________
On Sun, 19 Jul 2009, Alan BRASLAU wrote:
Would someone please provide a basic recipe to correctly install the new alpha release locally. I would like to test the new alpha code but am a bit confused as to what exactly to install and how.
The alpha has now been merged with the beta and so, ...
I currently work with the contextgarden minimals. Under the minimals, these are located at tex/texmf-linux-64/bin/texlua tex/texmf-linux-64/bin/texluac on my machine.
just run first-setup.sh again. Aditya
On Sun, Jul 19, 2009 at 20:58, Aditya Mahajan wrote:
On Sun, 19 Jul 2009, Alan BRASLAU wrote:
Would someone please provide a basic recipe to correctly install the new alpha release locally. I would like to test the new alpha code but am a bit confused as to what exactly to install and how.
The alpha has now been merged with the beta and so, ...
True. Now you can either use beta or current and it should give you the latest functionality for both ConTeXt and LuaTeX (2009.07.17, 0.42.0). Alpha has disappeared in the meantime. Mojca
On Sunday 19 July 2009 20:58:19 Aditya Mahajan wrote:
The alpha has now been merged with the beta and so, ...
just run first-setup.sh again.
Aditya
Thanks. I can do that! -> ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.7.19 int: english/english -> this is luatex, version beta-0.42.0-2009071807 OK However, I was expecting \usetypescript[postscript] \starttext default: $A = \pi r^2$ \switchtobodyfont[postscript] postscript: $A = \pi r^2$ \stoptext at least to be fixed. Not yet... I'll continue other tests (and keep reading the mailing list). Alan
On Sun, Jul 19, 2009 at 21:19, Alan BRASLAU wrote:
On Sunday 19 July 2009 20:58:19 Aditya Mahajan wrote:
The alpha has now been merged with the beta and so, ...
just run first-setup.sh again.
Aditya
Thanks. I can do that!
-> ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.7.19 int: english/english -> this is luatex, version beta-0.42.0-2009071807
I'm sorry, I forgot to uncomment a line, so there's actually a newer version. By the time when you replied this has been fixed, but you have probably synced earlier.
However, I was expecting
\usetypescript[postscript] \starttext default: $A = \pi r^2$ \switchtobodyfont[postscript] postscript: $A = \pi r^2$ \stoptext
at least to be fixed. Not yet...
But it's not fixed in 2009.07.17 either, so updating won't help too much. Mojca
participants (8)
-
Aditya Mahajan
-
Alan BRASLAU
-
Hans Hagen
-
Mojca Miklavec
-
Peter Rolf
-
Taco Hoekwater
-
Thomas A. Schmitz
-
Wolfgang Schuster