Hi, I uploaded a beta. Not that many fixes (if someone can collect structure related bugs ...), only a few. For those who keep an eye on the source ... i'm rewriting ppchtex and it will be integral part of the core of mkiv (so that we have chemistry on board). It's not yet finished but i'm getting there. 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 -----------------------------------------------------------------
2009/5/20 Hans Hagen
Hi,
I uploaded a beta. Not that many fixes (if someone can collect structure related bugs ...), only a few.
Let me raise several issues about luatex-plain. First, newly released beta breaks luatex-plain, because "luat-sto.lua" is not included in luatex-fonts.lua. Without this, luatex-plain fails when trying to define "storage.shared.attributes_last_private". Secondly, "name:" method of font searching does not work. The reason is version mismatch between font-dum.lua and luatex-fonts-names.lua. The former requires "data.version == 1.07", while the latter's version is 1.08, if it is generated with current beta. Thirdly, some fonts have extension "TTF" rather than "ttf", so that function "resolvers.find_file" fails while finding, for example, gentium font (filename: GenR102.TTF). Here is my patch: - return kpse.find_file(name,(kind and kind ~= "" and (remapper[kind] or kind)) or "tex") + return kpse.find_file(name,(kind and kind ~= "" and (remapper[string.lower(kind)] or kind)) or "tex") Lastly, current beta does not support subfonts contained in TTC (truetype collection). TTC fonts are becoming more and more difficult to find, but we still can find them especially in CJK world. It's quite simple to support them: just commenting out three lines from font-dum.lua -- function fonts.define.get_specification(str) -- return "", str, "", ":", str -- end Thank you for your great work, as always. Dohyun Kim
Dohyun Kim wrote:
2009/5/20 Hans Hagen
: Hi,
I uploaded a beta. Not that many fixes (if someone can collect structure related bugs ...), only a few.
Let me raise several issues about luatex-plain.
thanks for the detailed report .. i'm at the ntg meeting today so will look into it tommorrow 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 -----------------------------------------------------------------
2009/5/20 Dohyun Kim
Lastly, current beta does not support subfonts contained in TTC (truetype collection). TTC fonts are becoming more and more difficult to find, but we still can find them especially in CJK world. It's quite simple to support them: just commenting out three lines from font-dum.lua
-- function fonts.define.get_specification(str) -- return "", str, "", ":", str -- end
Additionally, to be able to access TTC subfonts with "name:" method, a patch should be inserted into font-dum.lua as follows: if found then local filename, is_sub = found[3], found[4] + if is_sub then is_sub = found[2] end return filename, is_sub else Regards, Dohyun Kim
On May 20, 2009, at 12:13 AM, Hans Hagen wrote:
Hi,
I uploaded a beta. Not that many fixes (if someone can collect structure related bugs ...), only a few.
For those who keep an eye on the source ... i'm rewriting ppchtex and it will be integral part of the core of mkiv (so that we have chemistry on board). It's not yet finished but i'm getting there.
Hans
OK, here is a collection of some assorted bugs. Most of them have been posted several times. Of course, everybody will have their own feeling of what is more and what is less urgent, but I will just add a few words about my own situation: 1. bib-module \usemodule[bib] \setuppublications [refcommand=num, numbering=yes] \startpublication[k=bertellihecataeus,t=incollection, a={{Bertelli}},y=2001, n=1,s=Ber01] \artauthor[]{Lucio}[L.]{}{Bertelli} \pubyear{2001} \arttitle{Hecataeus: From Genealogy to Historiography} \editor[]{Nino}[N.]{}{Luraghi} \crossref{luraghicraft} \pages{67--94} \pages{67--94} \pubname{Oxford University Press} \stoppublication \startpublication[k=luraghihistorian,t=book, a={{Luraghi}},y=2001, n=2,s=Lur01a] \editor[]{Nino}[N.]{}{Luraghi} \pubyear{2001\maybeyear{a}} \title{The Historian's Craft in the Age of Herodotus} \city{Oxford} \pubname{Oxford UP} \stoppublication \starttext Citation: \cite[bertellihecataeus] List: \placepublications[criterium=all] \stoptext Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 2. Section numbers in markings are duplicated \setuphead [section] [page=yes, style=normal] \setupuserpagenumber[state=start,way=bysection] \setupfootertexts[{\getmarking[sectionnumber]} – \userpagenumber] \starttext \section{One} \input tufte \page \input linden \section{Two} \input bryson \page \input davis \stoptext Urgency=high, I use these markings in lots of documents. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 3. trep and tlig features don't work in node mode \definefontfeature [mytest] [mode=node,script=latn,trep=yes,tlig=yes,kern=yes] \starttypescript[serif][Test] \definefontsynonym[Serif][name:texgyretermesregular][features=mytest] \stoptypescript \starttypescript[Test] \definetypeface[Test][rm][serif][Test][default][features=mytest] \stoptypescript \usetypescript[Test] \setupbodyfont[Test,12pt] \starttext fine's flops: 1 -- 2 --- 3 \stoptext priority: medium for me (since it can be worked around, but still needs fixing) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 4. Spaces, esp. after periods \font\one=cmr10 \font\two=file:texgyrepagella-regular \bgroup A A A \primitive\sfcode`A=2000 A A A \egroup \bgroup\one A A A \primitive\sfcode`A=2000 A A A \egroup \bgroup\two A A A \primitive\sfcode`A=2000 A A A \egroup \bye This test file has been given by Wolfgang Schuster a few days ago. It shows a problem that is especially annoying after periods because it disrupts frenchspacing/nonfrenchspacing. For me, very high priority because the quality of the output is severely reduced (with this bug, it would be impossible to typeset a book for publication with ConTeXt mkiv right now). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 5. Labels \definelabel[SlideNumber][headstyle=normal,way=bytext] \starttext \incrementSlideNumber \nextSlideNumber \stoptext Fails in current beta. For me, urgency=medium. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 6. Cross-references \starttext \startitemize[n] \item[one] One \item[two] Two \item[three] Three \stopitemize As we can see in item \in[one] and \in[three]. \stoptext Urgency=medium %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 7. Line breaks between quotation marks: \setuplayout[width=3cm] \starttext \quotation{This is a \quote{test.}} \stoptext Urgency: low, but non-nil. OK, this should be enough for the time being. For almost two weeks, I haven't been able to connect to the supelec website to bring my luatex to the latest version; is this a problem on my end, or is access to the svn repositories currently disabled? Would be nice to hear about these bugs; some of the have been posted several times, but we never heard back about them. All best Thomas
On Thursday 21 May 2009 11:57:37 Thomas A. Schmitz wrote:
OK, here is a collection of some assorted bugs. Most of them have been posted several times. Of course, everybody will have their own feeling of what is more and what is less urgent, but I will just add a few words about my own situation:
...
Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work.
I add my vote for this, too. (however, I do remember reading some discussion related to this around the beginning of April...) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Also, \placeindex (\placeregister in general) is broken. However, I have been unable yet to produce a "minimal" example as my simple tests all work correctly! In a big project (book with many references, etc.), under mkiv I get (compiles fine under mkii): ! LuaTeX error ....new/tex/texmf-context/tex/context/base/strc-reg.lua:228: attempt to compare nil with number stack traceback: ....new/tex/texmf-context/tex/context/base/strc-reg.lua:228: in function 'cmp' ....new/tex/texmf-context/tex/context/base/sort-ini.lua:105: in function <....new/tex/texmf-context/tex/context/base/sort-ini.lua:105> [C]: in function 'sort' ....new/tex/texmf-context/tex/context/base/sort-ini.lua:105: in function 'sort' ....new/tex/texmf-context/tex/context/base/strc-reg.lua:265: in function 'sort' ....new/tex/texmf-context/tex/context/base/strc-reg.lua:329: in function 'analysed' ....new/tex/texmf-context/tex/context/base/strc-reg.lua:574: in function 'process' <main ctx instance>:1: in main chunk. \doplaceregister ...ameter \c!pagesegments ", } )} \stoppacked \stopcolumns \... <to be read again> \par l.175
Thomas A. Schmitz wrote:
1. bib-module
Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work.
I feel sorry for you, but I do not know what to do about it anymore.
For almost two weeks, I haven't been able to connect to the supelec website to bring my luatex to the latest version; is this a problem on my end, or is access to the svn repositories currently disabled?
This post should explain the issue: http://archive.contextgarden.net/message/20090518.210735.77967964.en.html Best wishes, Taco
Hi Taco, On May 21, 2009, at 12:17 PM, Taco Hoekwater wrote:
1. bib-module Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work.
I feel sorry for you, but I do not know what to do about it anymore.
Yes, in your recent mail (http://archive.contextgarden.net/message/20090514.080826.d48ffa7a.en.html ), you explained why the ball was in Hans's field now; let's hope he picks it up!
For almost two weeks, I haven't been able to connect to the supelec website to bring my luatex to the latest version; is this a problem on my end, or is access to the svn repositories currently disabled?
This post should explain the issue:
http://archive.contextgarden.net/message/20090518.210735.77967964.en.html
Ah thanks, that explains it! All best Thomas
Taco, hi,
could you please include a feature that allows listing the set of pages that
an item was cited on, I'm sure this is present in LaTeX.
Mohamed
2009/5/21 Taco Hoekwater
Thomas A. Schmitz wrote:
1. bib-module
Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work.
I feel sorry for you, but I do not know what to do about it anymore.
For almost two weeks, I
haven't been able to connect to the supelec website to bring my luatex to the latest version; is this a problem on my end, or is access to the svn repositories currently disabled?
This post should explain the issue:
http://archive.contextgarden.net/message/20090518.210735.77967964.en.html
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
___________________________________________________________________________________
Mohamed Bana wrote:
Taco, hi, could you please include a feature that allows listing the set of pages that an item was cited on, I'm sure this is present in LaTeX.
As I can't even get the core functionality working, this is a very bad moment for feature requests, but I'll keep this in mind while designing the new module. Best wishes, Taco
On Thursday 21 May 2009 12:17:50 Taco Hoekwater wrote:
Thomas A. Schmitz wrote:
1. bib-module
Taco's bib module does not work with the current beta. For me, this is a showstopper, I will have to give up on mkiv as long as this does not work.
I feel sorry for you, but I do not know what to do about it anymore.
I just tried commenting out %\placeindex and friends in my current book project and compiled under mkiv. I wish to report that the bib module gives empty references [] and a new first page of numbers appears 1 2 3 4 ... (must be the lost reference numbers) LuaTeX gives lots of warning messages, such as: \placepublications[criterium=all] LuaTeX warning (ext4): destination with the same identifier (name{Friedel1922}) has been already used, duplicate ignored
Thomas A. Schmitz wrote:
2. Section numbers in markings are duplicated
fixed in next beta (marks got a prefix)
3. trep and tlig features don't work in node mode
hm, i gave it another try ... also in next beta ... is bit tricky as this is a feature that does not fall in some script/lang category (i'd put it in default (which works) but we need more in node mode they are implemented by faking real features (a mechanism that was somewhat extended recently to support anum and pnum for arabic and persian numbering) 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 -----------------------------------------------------------------
Thomas A. Schmitz wrote:
Would be nice to hear about these bugs; some of the have been posted several times, but we never heard back about them.
weren't you going to make me a zip? ----------------------------------------------------------------- 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 May 27, 2009, at 7:04 PM, Hans Hagen wrote:
Thomas A. Schmitz wrote:
Would be nice to hear about these bugs; some of the have been posted several times, but we never heard back about them.
weren't you going to make me a zip?
Will do during the weekend. (I'm at a conference in Belgium right now.) All best Thomas
Thomas A. Schmitz wrote:
On May 27, 2009, at 7:04 PM, Hans Hagen wrote:
Thomas A. Schmitz wrote:
Would be nice to hear about these bugs; some of the have been posted several times, but we never heard back about them.
weren't you going to make me a zip?
Will do during the weekend. (I'm at a conference in Belgium right now.)
ok, have fun btw, what happened with that plan for a meeting about this critical edition project -) 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 -----------------------------------------------------------------
participants (6)
-
Alan BRASLAU
-
Dohyun Kim
-
Hans Hagen
-
Mohamed Bana
-
Taco Hoekwater
-
Thomas A. Schmitz