Re: [NTG-context] Clean Machine, MacTeX 2013 installed, ConTeXt problem
On 9/18/2013 10:23 PM, Gerben Wierda wrote: On 18 Sep 2013, at 19:31, Hans Hagen pra...@wxs.nl wrote: On 9/18/2013 4:53 PM, Gerben Wierda wrote: Same thing happens. Now it says \xFFFC is an invalid multibyte escape and \x01 ? That works. Now I run into the next problem. GTAMacFonts does not work anymore. Sigh. I have no clue ... mkii didn't change, so maybe the fonts did? 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] Inline math in table in combination fails
On 9/19/2013 1:27 AM, Marco Patzer wrote: Hi, The following example results in the error “You can't assign a glue_spec node to a prev field” \starttext \startcombination [2*1] {\starttable [|c|] \NC \math{1} \VL\NR\HL \stoptable}{} {\starttable [|c|] \NC \math{2} \VL\NR \stoptable}{} \stopcombination \stoptext It works without the combination, without the vertical or horizontal rule and when no math mode is used. It used to work some time ago, so I assume it's a bug. it went unnoticed as works in my experimental branch ... i just forgot to copy back a variable initialization fixed 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] [***SPAM***] OT: Putting a context to the 2013 ConTeXt Meeting location
On 9/19/2013 2:11 AM, Pavneet Arora wrote: All the best to those who are attending. I am envious! Thanks. A pitty that you will not be there, but there will be more conferences, so maybe a next time. Concerning the conference: there are tutorials and qa sessions, so if anyone attending has specific questions of wishes, let them know and they might serve as templates. Of course it has to be reasonable, not 'i want a three dimensional table mechanism' and such. 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] beta / devanagari
Hi, The just uploaded beta has some improvements in devanagari support. 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] startitemize bad with columns
Hi, With this minimal example: \starttext \startitemize[a,columns,four] \item $5^3$ \item $\left(\frac{2}{3}\right)^4$ \item $254^0$ \column \item $\left(\frac{-8}{12}\right)^3$ \item $\left(-3\right)^5$ \item $\left(-50\right)^5$ \column \item $\left(-10\right)^7$ \item $0,2^3$ \item $\left(-0,22\right)^4$ \column \item $\left(\frac{3}{2}\right)^4$ \item $22^1$ \item $22^0$ \stopitemize \stoptext I get mis-ordered columns What can I do? Thanks, Xan. prova.pdf Description: Adobe PDF document ___ 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] startitemize bad with columns
On 9/19/2013 3:19 PM, Xan wrote: Hi, With this minimal example: \starttext \startitemize[a,columns,four] \item $5^3$ \item $\left(\frac{2}{3}\right)^4$ \item $254^0$ \column \item $\left(\frac{-8}{12}\right)^3$ \item $\left(-3\right)^5$ \item $\left(-50\right)^5$ \column \item $\left(-10\right)^7$ \item $0,2^3$ \item $\left(-0,22\right)^4$ \column \item $\left(\frac{3}{2}\right)^4$ \item $22^1$ \item $22^0$ \stopitemize \stoptext I get mis-ordered columns What can I do? download the beta that i just uploaded (i merged some experimental code in mixed columns) i also added a math snapper ... because that's what one should actually do when not in grid mode \starttext \startbuffer \startitemize[a,columns,four][grid=] \startitem 1: \snappedmath { 5^3} \stopitem \startitem 2: \snappedmath { \frac{2}{3}^4 } \stopitem \startitem 3: \snappedmath { 254^0 } \stopitem %\column \startitem 4: \snappedmath { \frac{-8}{12}^3} \stopitem \startitem 5: \snappedmath { -3^5 } \stopitem \startitem 6: \snappedmath { -50^5 } \stopitem %\column \startitem 7: \snappedmath { -10^7 } \stopitem \startitem 8: \snappedmath { 0,2^3 } \stopitem \startitem 9: \snappedmath { -0,22^4} \stopitem %\column \startitem 10: \snappedmath { \frac{3}{2}^4 } \stopitem \startitem 11: \snappedmath { 22^1 } \stopitem \startitem 12: \snappedmath { 22^0 } \stopitem \stopitemize \stopbuffer \input ward \getbuffer \let\snappedmath\ruledmbox \input ward \getbuffer \input ward \stoptext - 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] [***SPAM***] OT: Putting a context to the 2013 ConTeXt Meeting location
Are there any ConTeXt meetups or conferences on the US? I'd like to go, but $$ to fly to Europe = :-\ Best, Mica On Thu, Sep 19, 2013 at 1:50 AM, Hans Hagen pra...@wxs.nl wrote: On 9/19/2013 2:11 AM, Pavneet Arora wrote: All the best to those who are attending. I am envious! Thanks. A pitty that you will not be there, but there will be more conferences, so maybe a next time. Concerning the conference: there are tutorials and qa sessions, so if anyone attending has specific questions of wishes, let them know and they might serve as templates. Of course it has to be reasonable, not 'i want a three dimensional table mechanism' and such. 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 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/http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug? gap appears in columnset
On 9/19/2013 4:25 PM, Lars Huttar wrote: Hans wrote, Columnsets are rather special and mostly meant for magazine like documents, where content can span columns, images are explicitly placed on the grid, etc. For that reason columnset soperate on a rather strict grid that gets setup based in the lineheight and although content can be larger, the grid dictates what happens. Balancing is semi automatic and nearly always demands some tweaks. In our use of columnsets, we do have content that can span columns (but we keep it outside of columnsets). We also have images within columns that are placed in the flow of text via hangarounds. We manually tweak our column lengths on each page (e.g. \setupcolumnsetlines[columnset10][1][1][42]), in order to avoid the worst of the widows and orphans. As you say, balancing requires manual tweaks too, but it's not that big a burden, since we're already doing \setupcolumnsetlines for many pages. Using columnsets for a large document that has to flow automatically is therefore debatable. Regular multi columns or in mkiv mixed-columns are a better choice then. We have tried to port our code to mkiv, but have so far found been unsuccessful. (But are trying again now, having found new success with TL2013 mkii.) Also, we've been unable to find any statement that mkiv is out of beta status. Moreover, much of the documentation still seems to be oriented toward mkii. So it's hard to justify much of a time investment in porting production work to mkiv yet. Can you comment on the official status of mkiv? just as we had betas for mkii, we have betas for mkiv .. mkii is already frozen for years (apart from very few fixes) i'm pretty sure that most context users use mkiv and here i only run mkii in old workflows that already have been running for years (and will continue to do so as long as no fundamental update is needed) most mkii functionality is present in mkiv (of course some old font stuff is obsolete) although there are a few mechanism that due to extensions are controlled with different keys (mostly keys like 'alternative') unless impossible (or messy) i try to keep mkii command compatibility but mkiv has already many more commands and mechanisms than mkii, so most in manuals still applies official status: use mkiv as that's where it all happens Regarding mixed-columns: I understand it's a rewrite of the old columns model. My impression is that columns didn't support manual tweaking of column lengths (like \setupcolumnsetlines). Does mixed-columns support such a thing? That would be a critical question for us, as it wouldn't be an option for us to spend time porting to mkiv and using mixed-columns, if it doesn't allow us to tweak the height of each column on each page. i can probably add some height-per-column option but it also depends on what height is supposed to do but it's unlikely to happen the next few weeks a mkiv columnsets implementation .. well, it depends on time and motivation (most of such mechanisms i don't use myself so i need good reasons to spend time on them, unless i'm looking for a challenge on a rainy day) but ... \column works quite ok in mixed columns Thanks again for your help and advice. 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] [***SPAM***] OT: Putting a context to the 2013 ConTeXt Meeting location
On 9/19/2013 7:17 PM, Aditya Mahajan wrote: On Thu, 19 Sep 2013, Hans Hagen wrote: serve as templates. Of course it has to be reasonable, not 'i want a three dimensional table mechanism' and such. There are 3D printers now, so what's wrong with wanting a (real) 3D table :-) i'm sitting behind a real 3d (wooden) table .. but indeed, 3d printing is on my agenda long ago i made a panoramic (360 degree) movie of the metafun manual .. although it gave an interesting perspective of a document i never found time or reason to do it again (but eventually documents will change in unexpected ways) 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] [***SPAM***] OT: Putting a context to the 2013 ConTeXt Meeting location
On Thu, 19 Sep 2013, Hans Hagen wrote: serve as templates. Of course it has to be reasonable, not 'i want a three dimensional table mechanism' and such. There are 3D printers now, so what's wrong with wanting a (real) 3D table :-) 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug? gap appears in columnset
Hans wrote, Columnsets are rather special and mostly meant for magazine like documents, where content can span columns, images are explicitly placed on the grid, etc. For that reason columnset soperate on a rather strict grid that gets setup based in the lineheight and although content can be larger, the grid dictates what happens. Balancing is semi automatic and nearly always demands some tweaks. In our use of columnsets, we do have content that can span columns (but we keep it outside of columnsets). We also have images within columns that are placed in the flow of text via hangarounds. We manually tweak our column lengths on each page (e.g. \setupcolumnsetlines[columnset10][1][1][42]), in order to avoid the worst of the widows and orphans. As you say, balancing requires manual tweaks too, but it's not that big a burden, since we're already doing \setupcolumnsetlines for many pages. Using columnsets for a large document that has to flow automatically is therefore debatable. Regular multi columns or in mkiv mixed-columns are a better choice then. We have tried to port our code to mkiv, but have so far found been unsuccessful. (But are trying again now, having found new success with TL2013 mkii.) Also, we've been unable to find any statement that mkiv is out of beta status. Moreover, much of the documentation still seems to be oriented toward mkii. So it's hard to justify much of a time investment in porting production work to mkiv yet. Can you comment on the official status of mkiv? Regarding mixed-columns: I understand it's a rewrite of the old columns model. My impression is that columns didn't support manual tweaking of column lengths (like \setupcolumnsetlines). Does mixed-columns support such a thing? That would be a critical question for us, as it wouldn't be an option for us to spend time porting to mkiv and using mixed-columns, if it doesn't allow us to tweak the height of each column on each page. Thanks again for your help and advice. Lars ___ 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] [***SPAM***] OT: Putting a context to the 2013 ConTeXt Meeting location
On 9/19/2013 6:38 PM, Mica Semrick wrote: Are there any ConTeXt meetups or conferences on the US? I'd like to go, but $$ to fly to Europe = :-\ the reverse also applies, i.e. most developers are over here so it would mean a lot of traveling one advantage of europe is that we can choose relatively affordable accomodation so on top of travel expenses the costs are bearable it also depends on interest ... i think that idris still wants to have a conference in Colorado one time (when his fight with fires and floods have stopped) 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] [***SPAM***] OT: Putting a context to the 2013 ConTeXt Meeting location
On Thu, Sep 19, 2013 at 10:50:31AM +0200, Hans Hagen wrote: Concerning the conference: there are tutorials and qa sessions, so if anyone attending has specific questions of wishes, let them know and they might serve as templates. Of course it has to be reasonable, not 'i want a three dimensional table mechanism' and such. I can’t ask about this! No conference for me then :( 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] [***SPAM***] OT: Putting a context to the 2013 ConTeXt Meeting location
Well, if I am able to finish what I intended to do, my talk at TUG 2013 will be about 3D cabinet layout; so not quite a table, but somewhat close, no? ;). Seriously, though, I went looking for this information and wasn't able to find it. What is the current state of affairs of tie-in between ConTeXt and Aymptote? Is there any? Or is it best to create a standalone .eps with Asymptote and then include it into the ConTeXt document? Thanks. On 9/19/2013 7:17 PM, Aditya Mahajan wrote: On Thu, 19 Sep 2013, Hans Hagen wrote: serve as templates. Of course it has to be reasonable, not 'i want a three dimensional table mechanism' and such. There are 3D printers now, so what's wrong with wanting a (real) 3D table :-) i'm sitting behind a real 3d (wooden) table .. but indeed, 3d printing is on my agenda long ago i made a panoramic (360 degree) movie of the metafun manual .. although it gave an interesting perspective of a document i never found time or reason to do it again (but eventually documents will change in unexpected ways) 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 - -- Pavneet Arora m: 647.406.6843 Waroc Informatikt: 416.937.9276 ___ 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] [***SPAM***] OT: Putting a context to the 2013 ConTeXt Meeting location
On Thu, Sep 19, 2013 at 9:29 PM, Pavneet Arora pavneet_ar...@waroc.comwrote: Well, if I am able to finish what I intended to do, my talk at TUG 2013 will be about 3D cabinet layout; so not quite a table, but somewhat close, no? ;). Do you mean something like http://asymptote.sourceforge.net/gallery/cyclohexane.pdf ? Seriously, though, I went looking for this information and wasn't able to find it. What is the current state of affairs of tie-in between ConTeXt and Aymptote? Is there any? Or is it best to create a standalone .eps with Asymptote and then include it into the ConTeXt document? It's better to create a separate pdf qith asymptote: mkiv should be able to insert it without loss of informations. The filter module is a general mechanism to use external programs with mkiv, so I think it's possible to embed a source asy and (with some macros) include the pdf (perhaps in two pass) . -- luigi ___ 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] [***SPAM***] OT: Putting a context to the 2013 ConTeXt Meeting location
On Thu, 19 Sep 2013 21:47:13 +0200 luigi scarso luigi.sca...@gmail.com wrote: Do you mean something like http://asymptote.sourceforge.net/gallery/cyclohexane.pdf ? For this, I would prefer povray. Alan ___ 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] [***SPAM***] OT: Putting a context to the 2013 ConTeXt Meeting location
Actually, I am just hoping to get the skeleton line drawing part working (for the inside boxes or carcasses as they are sometimes known in the kitchen design business). My focus is on the workflow and is a follow-up to my YAWN talk at TUG last year. Renderings will be beyond my capabilities at this point, although I will give povray a look. Thanks Luigi and Alan. On Thu, 19 Sep 2013 21:47:13 +0200 luigi scarso luigi.scarso at gmail.com wrote: Do you mean something like http://asymptote.sourceforge.net/gallery/cyclohexane.pdf ? For this, I would prefer povray. Alan -- Pavneet Arora m: 647.406.6843 Waroc Informatikt: 416.937.9276 ___ 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] startitemize bad with columns
I will do, but \startitem \stopitem? Is it new? Should I do this way, not only \item and just works? Xan On Thu, 19 Sep 2013 17:21:07 +0200 Hans Hagen pra...@wxs.nl ha escrit: On 9/19/2013 3:19 PM, Xan wrote: Hi, With this minimal example: \starttext \startitemize[a,columns,four] \item $5^3$ \item $\left(\frac{2}{3}\right)^4$ \item $254^0$ \column \item $\left(\frac{-8}{12}\right)^3$ \item $\left(-3\right)^5$ \item $\left(-50\right)^5$ \column \item $\left(-10\right)^7$ \item $0,2^3$ \item $\left(-0,22\right)^4$ \column \item $\left(\frac{3}{2}\right)^4$ \item $22^1$ \item $22^0$ \stopitemize \stoptext I get mis-ordered columns What can I do? download the beta that i just uploaded (i merged some experimental code in mixed columns) i also added a math snapper ... because that's what one should actually do when not in grid mode \starttext \startbuffer \startitemize[a,columns,four][grid=] \startitem 1: \snappedmath { 5^3} \stopitem \startitem 2: \snappedmath { \frac{2}{3}^4 } \stopitem \startitem 3: \snappedmath { 254^0 } \stopitem %\column \startitem 4: \snappedmath { \frac{-8}{12}^3} \stopitem \startitem 5: \snappedmath { -3^5 } \stopitem \startitem 6: \snappedmath { -50^5 } \stopitem %\column \startitem 7: \snappedmath { -10^7 } \stopitem \startitem 8: \snappedmath { 0,2^3 } \stopitem \startitem 9: \snappedmath { -0,22^4} \stopitem %\column \startitem 10: \snappedmath { \frac{3}{2}^4 } \stopitem \startitem 11: \snappedmath { 22^1 } \stopitem \startitem 12: \snappedmath { 22^0 } \stopitem \stopitemize \stopbuffer \input ward \getbuffer \let\snappedmath\ruledmbox \input ward \getbuffer \input ward \stoptext - 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] Overwriting buffer causes LuaTeX error
Hi, the following example causes 1) strange message: “invalid \starttext ... \stoptext structure” and 2) !LuaTeX error: PDF inclusion: file has changed 'Hga-typeset-buffer-001.pdf' == Fatal error occurred, no output PDF file produced! \starttext \startbuffer [foo] foo \stopbuffer \typesetbuffer [foo] \startbuffer [foo] foo \stopbuffer \typesetbuffer [foo] \stoptext Marco signature.asc Description: Digital signature ___ 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] Broken nightly (2013.09.18)
Hey list, 2013.09.18 appears to be broken. When typesetting my book, I receive the following fatal error... ! LuaTeX error /usr/share/texmf/tex/context/base/font-syn.lua:596: bad argument #2 to 'f_a' (number expected, got string) stack traceback: [C]: in function 'f_a' /usr/share/texmf/tex/context/base/font-syn.lua:596: in function 'collectstatistics' /usr/share/texmf/tex/context/base/font-syn.lua:1071: in function 'identify' /usr/share/texmf/tex/context/base/font-syn.lua:1089: in function 'load' /usr/share/texmf/tex/context/base/font-syn.lua:1100: in function 'load' /usr/share/texmf/tex/context/base/font-syn.lua:1259: in function 'resolvedspecification' /usr/share/texmf/tex/context/base/font-syn.lua:1269: in function 'resolve' /usr/share/texmf/tex/context/base/font-syn.lua:1678: in function 'exists' ...re/texmf/tex/context/third/simplefonts/t-simplefonts.lua:182: in function 'selectfont' [string \directlua ]:1: in main chunk. \syst_helpers_comma_list_step ...ter \c!weight )} \91 #1,e-\syst_helpers_comma_list_step {#1} \syst_helpers_do_process_comma_... argument \relax regular, italic,slanted,bold,bolditalic,boldslanted,caps, italiccaps,slan \syst_helpers_do_process_comma_list ...argument #1 ,]\relax \global \advance ... \simplefonts@definetextfont ...rocesscommacommand \ifx \currenttypeface \v!s... \syst_helpers_quadruple_empty_four_spaced ...4}][] ... l.397 \setupbodyfont[11pt] It looks as though the problem is buried in line 596 of font-syn.lua. For some reason s.angle is typed as a Lua string and not a number. local angle = f_a(s.angle or 0) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] startitemize bad with columns
On 9/19/2013 9:49 PM, Xan wrote: I will do, but \startitem \stopitem? Is it new? Should I do this way, not only \item and just works? bnoth are ok but I tend to use \startitem .. \stopitem - 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] Broken nightly (2013.09.18)
On Thu, 2013-09-19 at 14:25 -0700, Kip Warner wrote: It looks as though the problem is buried in line 596 of font-syn.lua. For some reason s.angle is typed as a Lua string and not a number. local angle = f_a(s.angle or 0) I tried patching the above with the following... local angle = f_a(tonumber(s.angle) or 0) ...and the Lua compiler does appear to consume that line successfully, but a new error I cannot decipher creeps up... error: /usr/share/texmf/tex/context/base/math-noa.lua:156: You can't assign a glue_spec node to a prev field . \textmath ...\normalstartimath #1\normalstopimath \endgroup \fi \symb_place_indeed ...name \??symbol #1\endcsname \relax \endgroup \symb_place_retry ...name \symb_place_indeed {:#1} \else #1\fi \symb_place_normal_c ...lace_retry \currentsymbol \fi \symb_place_normal_b ...else \symb_place_normal_c \fi \symb_place_indeed ...name \??symbol #1\endcsname \relax \endgroup ... l.103 \eTABLE That also appears to be buried deep inside Hans' math routines. I can't figure out exactly what he is trying to do, but it looks as though it has something to do with calculating correct values for fonts. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Defining multiple enumerations fails
Hi, defining multiple enumerations at the same time used to work. Is this syntax not supported any longer or is it a bug? \defineenumeration [foo, bar] \starttext \foo foo\par \bar bar\par \stoptext Marco signature.asc Description: Digital signature ___ 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] Overwriting buffer causes LuaTeX error
On 9/19/2013 11:38 PM, Marco Patzer wrote: Hi, the following example causes 1) strange message: “invalid \starttext ... \stoptext structure” and 2) !LuaTeX error: PDF inclusion: file has changed 'Hga-typeset-buffer-001.pdf' == Fatal error occurred, no output PDF file produced! \starttext \startbuffer [foo] foo \stopbuffer \typesetbuffer [foo] \startbuffer [foo] foo \stopbuffer \typesetbuffer [foo] \stoptext i uploaded a fix (some additional checking on redefining such buffers) .. the backend keeps the file open (which is where the message comes from) \starttext \startbuffer [foo] \startTEXpage \input tufte \stopTEXpage \stopbuffer \dorecurse{20} { \typesetbuffer [foo] [width=\textwidth] \blank } \startbuffer [foo] \startTEXpage \input ward \stopTEXpage \stopbuffer \dorecurse{20} { \typesetbuffer [foo] [width=\textwidth] \blank } \stoptext - 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] Broken nightly (2013.09.18)
On 9/19/2013 11:48 PM, Kip Warner wrote: On Thu, 2013-09-19 at 14:25 -0700, Kip Warner wrote: It looks as though the problem is buried in line 596 of font-syn.lua. For some reason s.angle is typed as a Lua string and not a number. local angle = f_a(s.angle or 0) I tried patching the above with the following... local angle = f_a(tonumber(s.angle) or 0) ok (fyi: these are new entries for wolfgang's module) and the Lua compiler does appear to consume that line successfully, but a new error I cannot decipher creeps up... error: /usr/share/texmf/tex/context/base/math-noa.lua:156: You can't assign a glue_spec node to a prev field that is already fixed 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] Broken nightly (2013.09.18)
On Fri, 2013-09-20 at 00:16 +0200, Hans Hagen wrote: ok (fyi: these are new entries for wolfgang's module) Noted. that is already fixed Thanks Hans. Let me know if there is anything else I can do. Take care, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Broken nightly (2013.09.18)
On 9/20/2013 12:19 AM, Kip Warner wrote: On Fri, 2013-09-20 at 00:16 +0200, Hans Hagen wrote: ok (fyi: these are new entries for wolfgang's module) Noted. that is already fixed Thanks Hans. Let me know if there is anything else I can do. the math should work - 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] Broken nightly (2013.09.18)
On Fri, 2013-09-20 at 00:45 +0200, Hans Hagen wrote: On 9/20/2013 12:19 AM, Kip Warner wrote: On Fri, 2013-09-20 at 00:16 +0200, Hans Hagen wrote: ok (fyi: these are new entries for wolfgang's module) Noted. that is already fixed Thanks Hans. Let me know if there is anything else I can do. the math should work Great. I'm using the Adam Reviczky's generous PPA and I'll give it a try as soon as the buildbot pushes new debs. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Defining multiple enumerations fails
On 9/20/2013 12:33 AM, Marco Patzer wrote: Hi, defining multiple enumerations at the same time used to work. Is this syntax not supported any longer or is it a bug? \defineenumeration [foo, bar] \starttext \foo foo\par \bar bar\par \stoptext This multiple defining was only supported for a few commands and made the new commandhandler code too complex. In the meantime inheritance is rather consistent so the new way is: \defineenumeration [foo] \defineenumeration [bar] [foo] so you can setup foo and bar will follow 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 ___