Re: [NTG-context] why lua?

2010-12-18 Thread luigi scarso
On Fri, Dec 17, 2010 at 11:51 PM, Hans Hagen pra...@wxs.nl wrote: On 17-12-2010 11:35, Philipp A. wrote: 2010/12/17 Jonas Steinn...@jonasstein.de i'd like to make a small presentation for friends about context. Why do we use lua and not python or perl or... you can. google for “luatex

Re: [NTG-context] [OT] quvira fonts

2010-12-18 Thread Steffen Wolfrum
Am 17.12.2010 um 22:57 schrieb luigi scarso: http://quivira-font.com/ nice ;o) st. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] contextgarden.net

2010-12-18 Thread Vnpenguin
On Fri, Dec 17, 2010 at 11:26, Patrick Gundlach patr...@gundla.ch wrote: Hi, I have mentioned it at the last context conference: I am looking for a person (or a group) to take over the server contextgarden.net. Not only the wiki or the modules section or ..., but the complete server. I

Re: [NTG-context] contextgarden.net

2010-12-18 Thread Mojca Miklavec
On Sat, Dec 18, 2010 at 10:12, Vnpenguin wrote: Why not move all to Sourceforge.net ? Apart from being ugly, sourceforge doesn't even come close to the desired functionality of contextgarden.net. The garden is in suboptimal state, but moving to sourceforge wouldn't simplify the things in any

Re: [NTG-context] contextgarden.net

2010-12-18 Thread Taco Hoekwater
On 12/18/2010 10:36 AM, Mojca Miklavec wrote: I don't know what sourceforge supports and what it doesn't, but I don't believe that I could get ssh access, consume 40 GB of disk space, run arbitrary cronjobs and offer rsync access to start with (all needed for minimals). And on top of that

Re: [NTG-context] contextgarden.net

2010-12-18 Thread Vedran Miletić
2010/12/18 Mojca Miklavec mojca.miklavec.li...@gmail.com creating some safe environment to enable running mkiv on the server, I'm actually working on this specifically. It will Python/Django/PostgreSQL-based and it will (hopefully) be ready before summer semester starts here, which is

Re: [NTG-context] why lua?

2010-12-18 Thread Philipp Gesang
On 2010-12-18 01:50:29, Philipp A. wrote: snip lines=some/ well, i just like it. and since i don’t know lua (well, that’s not exactly true, but i can’t write a normal sized script without looking things up), and tend to do things like i would do them in other languages i know. e.g.: how do

Re: [NTG-context] contextgarden.net

2010-12-18 Thread Daniel Grycman
It's not so much about doing regular server maintainance (which is very low once the server is set up), but about implementing new creative ideas. Improving application for modules, implement new features on wiki, creating some safe environment to enable running mkiv on the server,

Re: [NTG-context] why lua?

2010-12-18 Thread Taco Hoekwater
Hi, On 12/18/2010 01:50 AM, Philipp A. wrote: like… which one? i only know of the tabs vs. spaces The significant whitespace is why python would not have been an option for the core extension language in luatex even if it was twice as small and twice as fast as lua. Forced indentation

Re: [NTG-context] why lua?

2010-12-18 Thread Hans Hagen
On 18-12-2010 12:03, Philipp Gesang wrote: On 2010-12-1801:50:29, Philipp A. wrote: snip lines=some/ well, i just like it. and since i don’t know lua (well, that’s not exactly true, but i can’t write a normal sized script without looking things up), and tend to do things like i would do them

Re: [NTG-context] contextgarden.net

2010-12-18 Thread Hans Hagen
On 18-12-2010 12:14, Daniel Grycman wrote: It's not so much about doing regular server maintainance (which is very low once the server is set up), but about implementing new creative ideas. Improving application for modules, implement new features on wiki, creating some safe environment to

Re: [NTG-context] why lua?

2010-12-18 Thread Hans Hagen
On 18-12-2010 1:50, Philipp A. wrote: but don’t get me wrong, i love context and luatext, i just like other languages better than lua (you weren’t content with latex and created context, so this shouldn’t be alien to you) Sure, it's just that the core of context will be tex/lua only as it

Re: [NTG-context] why lua?

2010-12-18 Thread Philipp Gesang
On 2010-12-18 12:35:38, Hans Hagen wrote: On 18-12-2010 12:03, Philipp Gesang wrote: Depending on whether you want to access the non-hashed content as well you might want to use the “next” iterator instead as it’s slightly faster (according to my tests, that is). You won’t get around the

Re: [NTG-context] New to this

2010-12-18 Thread Hans Hagen
On 18-12-2010 7:00, Anand Raj wrote: Hi, I have a html page containing mathml and svg content. How can i make use of the pragma script? How can i integrate with php? In what sense? What do you want to achieve. Hans -

Re: [NTG-context] why lua?

2010-12-18 Thread luigi scarso
On Sat, Dec 18, 2010 at 2:04 PM, Hans Hagen pra...@wxs.nl wrote: ps. I once read about Icon as language and somehow that one also had some appeal. I never had a running environment. Smalltalk is also nice, esp the (original) books (esp the historic one), it's easy to try squeak

Re: [NTG-context] why lua?

2010-12-18 Thread Hans Hagen
On 18-12-2010 2:06, Philipp Gesang wrote: What always baffled me is that in the manual Roberto advertises ipairs() as the iterator of choice (at least in the v.5.0 doc). Compared to the other options using it is just, well, erratic. I did lots of testing (an doptimizing) in critical code but

Re: [NTG-context] why lua?

2010-12-18 Thread Hans Hagen
On 18-12-2010 2:18, luigi scarso wrote: True, see http://www.nongnu.org/skribilo/ (there is also a context support) A binding to libguile should be no difficult to achieve. ah, interesting ... we should have a sort of reference context document with some structure, itemize, tables, graphics

Re: [NTG-context] why lua?

2010-12-18 Thread Philipp Gesang
On 2010-12-18 14:20:46, Hans Hagen wrote: On 18-12-2010 2:06, Philipp Gesang wrote: What always baffled me is that in the manual Roberto advertises ipairs() as the iterator of choice (at least in the v.5.0 doc). Compared to the other options using it is just, well, erratic. I did lots of

Re: [NTG-context] contextgarden.net

2010-12-18 Thread Mojca Miklavec
On Sat, Dec 18, 2010 at 13:56, Hans Hagen wrote: Question for mojca: will the garden eventually move to your new context server? That depends on the main maintainer. We have 2TB disk space. I cannot speak about uptime yet, but the admins are sometimes willing to run to institute at 3am when

[NTG-context] problem with setupwhitespace

2010-12-18 Thread Achim Jander
Hello, I am trying to setup a layout for a book. Its very simple, consisting only of paragraphs. Regularly, there should be no space between them, but to force the pages getting filled there may be a small space. I cannot figure out how to set it up. In the mailing list I found the sample

[NTG-context] mkiv: append to buffer

2010-12-18 Thread Thomas Schmitz
Hi all, i guess this is easy, but I can't find an example to help me: I want to write a macro that will collect one of its arguments in a buffer and then collect the other argument in a buffer. Difficult to make a minimal example since I don't know how to do this, so here is some pseudo-code;

Re: [NTG-context] mkiv: append to buffer

2010-12-18 Thread Aditya Mahajan
On Sat, 18 Dec 2010, Thomas Schmitz wrote: i guess this is easy, but I can't find an example to help me: I want to write a macro that will collect one of its arguments in a buffer and then collect the other argument in a buffer. Difficult to make a minimal example since I don't know how to do

[NTG-context] running headers on postponed makeup

2010-12-18 Thread Philipp Gesang
Hi all, after discovering postponed insertions I encountered a problem when combining it with the makeup mechanism I am so fond of. ···8 \definemakeup[my] \setupmakeup[my][ headerstate=start, page=yes, ] \startbuffer[mkup]

Re: [NTG-context] problem with setupwhitespace

2010-12-18 Thread Wolfgang Schuster
Am 18.12.2010 um 16:10 schrieb Achim Jander: Hello, I am trying to setup a layout for a book. Its very simple, consisting only of paragraphs. Regularly, there should be no space between them, but to force the pages getting filled there may be a small space. I cannot figure out how to set

Re: [NTG-context] mkiv: append to buffer

2010-12-18 Thread Wolfgang Schuster
Am 18.12.2010 um 17:52 schrieb Aditya Mahajan: I am not sure what you want to do, and why you want to use buffers. Wont a simple token list work? I can only agree with this, token lists are the easiest solution but the new cld manuals mentions the “context.tobuffer” function which allows

Re: [NTG-context] why lua?

2010-12-18 Thread Hans Hagen
On 18-12-2010 3:17, Philipp Gesang wrote: … when adding to an array the “t[#t+1] = elm” approach turns out to be still faster than table.insert() which, again, is advertised in the manual. Even python’s append() method is faster than table.insert() and that means a lot. seems to be faster in

[NTG-context] ascii ribbon

2010-12-18 Thread Philipp A.
hi, do you really support this obsolete statement? if so: why? - html mail is supported by every mail reader nowadays, and nowhere near broken - semantic html is way better for blind people than plain text, since it is, well, semantically structured. something enclosed in em-tags

Re: [NTG-context] ascii ribbon

2010-12-18 Thread Philipp A.
wtf, crappy gmail! this was supposed to go to philipp gesang only (because of his ascii-ribbon signature) sorry for posting it here, it was an accident. ___ If your question is of interest to others as well, please add

Re: [NTG-context] running headers on postponed makeup

2010-12-18 Thread Hans Hagen
On 18-12-2010 6:12, Philipp Gesang wrote: after discovering postponed insertions I encountered a problem when combining it with the makeup mechanism I am so fond of. The next beta will have changes mark behaviour: no reset in everyforget cases, and a fix for pages with no text. The first

Re: [NTG-context] ascii ribbon

2010-12-18 Thread Hans Hagen
On 18-12-2010 9:00, Philipp A. wrote: wtf, crappy gmail! this was supposed to go to philipp gesang only (because of his ascii-ribbon signature) sorry for posting it here, it was an accident. no problem, the cartoon was nice -

[NTG-context] beta

2010-12-18 Thread Hans Hagen
Hi, I uploaded a new beta (not that much done, waiting for the new luatex bins to settle). There's also an updated zip with test files. There will probably be a current before 2011 but Taco and I need to coordinate that a bit. Hans

Re: [NTG-context] MikTeX and ConTeXt

2010-12-18 Thread Hans Hagen
On 18-12-2010 9:09, Jonas Stein wrote: http://wiki.contextgarden.net/MikTeX ConTeXt is currently broken (possible to do some tweaking to make it work) this was from 2008 so i suppose its outdated. Is that already fixed? (i can not test it as i have no windows operating system) context in

[NTG-context] confusion: 2 Bugtracker?

2010-12-18 Thread Jonas Stein
On http://minimals.contextgarden.net/ Bug tracker: https://launchpad.net/context; but on http://wiki.contextgarden.net/Main_Page Bug tracker links to Mantis: http://tracker.luatex.org/my_view_page.php; Why are there 2 Bugtrackers? Kind regards, -- Jonas Stein n...@jonasstein.de

Re: [NTG-context] confusion: 2 Bugtracker?

2010-12-18 Thread Aditya Mahajan
On Sat, 18 Dec 2010, Jonas Stein wrote: On http://minimals.contextgarden.net/ Bug tracker: https://launchpad.net/context; This is the bug tracker of the minimals installation scripts. but on http://wiki.contextgarden.net/Main_Page Bug tracker links to Mantis:

Re: [NTG-context] confusion: 2 Bugtracker?

2010-12-18 Thread Hans Hagen
On 18-12-2010 9:15, Jonas Stein wrote: On http://minimals.contextgarden.net/ Bug tracker: https://launchpad.net/context; but on http://wiki.contextgarden.net/Main_Page Bug tracker links to Mantis: http://tracker.luatex.org/my_view_page.php; Why are there 2 Bugtrackers? the launchpad account

Re: [NTG-context] beta

2010-12-18 Thread Vedran Miletić
2010/12/18 Hans Hagen pra...@wxs.nl Hi, I uploaded a new beta (not that much done, waiting for the new luatex bins to settle). There's also an updated zip with test files. There will probably be a current before 2011 but Taco and I need to coordinate that a bit. Hans Could you please

Re: [NTG-context] Horizontal space in math subscript generated by Lua

2010-12-18 Thread Hans Hagen
On 15-12-2010 6:11, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, On Wed, 15 Dec 2010 13:06:42 +0100, Hans Hagen pra...@wxs.nl wrote: actually, the luacode was doing the right thing as there is a protect/unprotect mismatch (will be fixed); puttingthis at the top of you file works:

[NTG-context] Custom XML Pretty Printer

2010-12-18 Thread Renaud AUBIN
Hi there, See http://gitorious.org/xml-pretty-printer-module-for-context for testing. As soon as I have made more testing and some improvements (inc. cleaning up), I'll submit to tlcontrib. Cheers, Renaud ___ If